Readonly
runtimeThe runtime ID of the entity. Local player is always 1.
Gets the entity type ID.
https://minecraft.fandom.com/wiki/Bedrock_Edition_data_values#Entity_IDs
Gets the value of a MoLang variable. Returns null
if the variable was not found.
The variable name. Example: variable.is_sneaking
Gets the value of a MoLang variable. Returns null
if the variable was not found.
The variable name. Example: variable.is_sneaking
[Experimental] sets a MoLang variable's value. Returns null
if unsuccessful and the number that was set if it was successful.
The variable name. Example: variable.is_sneaking
The variable's new value.
Generated using TypeDoc
A class representing an in-game entity.