Novoline
  • Main Page
  • Scripting
    • Introduction
      • Casts
      • Security
      • Globals
      • Object Members
    • Client API
    • Objects
      • Features
        • Feature Settings
      • Settings
      • Minecraft
        • Entities
        • Packets
          • Play Serverbound
          • Play Clientbound
        • MathHelper
    • Events
    • Examples
Powered by GitBook
On this page

Was this helpful?

  1. Scripting
  2. Introduction

Object Members

PreviousGlobalsNextClient API

Last updated 3 years ago

Was this helpful?

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 . May change if any of the properties are mutated and applied.

int()

function

toString

Invokes 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.

hash code
toString