objects
Data structures
Block
property | type |
---|---|
type | String |
name | String |
interactable | boolean |
x | double |
y | double |
z | double |
Entity
property | type |
---|---|
type | String |
entityId | String |
Image
Creates a new image. The image will be requested from the URL. Cache determines whether or not the image will be reloaded when reloading scripts.
getDimensions
Returns the image's dimensions.
isLoaded
Returns whether the image has been loaded or not.
ItemStack
property | type |
---|---|
type | String |
name | String |
displayName | String |
stackSize | int |
maxStackSize | int |
durability | int |
maxDurability | int |
isBlock | boolean |
getEnchantments
Returns a list of a specific item stack's enchantments.
getTooltip
Returns a list of a specific item stack's tool tips.
TileEntity
property | type |
---|---|
name | String |
type | String |
Vec3
property | type |
---|---|
x | double |
y | double |
z | double |
equals
Returns whether two vectors are equal.
offset
Adds a specified offset to all 3 axes.
Last updated