Last updated
Represents a packet that is sent when a global entity (like lightning) is spawned
getEntityId():
number
Gets the ID of the spawned global entity
Returns
number
The entity ID
getPacketID():
string
Get the ID of the packet.
Returns
string
The ID of the packet.
Inherited from
getType():
number
Gets the type ID of the global entity (1 = thunderbolt)
Returns
number
The global entity type ID
getX():
number
Gets the X position of the global entity
Returns
number
The X coordinate
getY():
number
Gets the Y position of the global entity
Returns
number
The Y coordinate
getZ():
number
Gets the Z position of the global entity
Returns
number
The Z coordinate
Last updated