Object Members
NovoScript provides various additional Members to every Object you receive through the Scripting API. These include functions and fields.
Type | Name | Description | Signature |
---|---|---|---|
function | update | Forcibly updates the Object by synchronizing it with the original Java object. Overrides any changes you've made | void() |
function | commit | Forcibly updates the original Java object by applying any changes you've made to the JavaScript Object. | void() |
function | equals | Check two object's equality. If you're comparing two Objects, received from the Scripting API, you must use this function. | boolean(object) |
function | hashCode | Returns the Java object's hash code. May change if any of the properties are mutated and applied. | int() |
function | toString | Invokes toString on the Java object. May change if any of the properties are mutated and applied. | string() |
Any Methods, other than update/commit are not available in the mc
(or Minecraft) object.
Last updated