S0EPacketSpawnObject
getEntityID(): int
getEntityID(): intReturns the entity ID of the spawned object. This is an integer value uniquely identifying the object entity in the game world. You can use world.getEntityByID() to get the Entity object from this ID.
getX(): int
getX(): intReturns the X-coordinate where the object is spawned. This is an integer value representing the object's horizontal position along the X-axis.
getY(): int
getY(): intReturns the Y-coordinate where the object is spawned. This is an integer value representing the object's vertical position along the Y-axis.
getZ(): int
getZ(): intReturns the Z-coordinate where the object is spawned. This is an integer value representing the object's horizontal position along the Z-axis.
getSpeedX(): int
getSpeedX(): intRetrieves the X-axis speed of the spawned object. This is an integer value indicating the object's horizontal velocity along the X-axis.
getSpeedY(): int
getSpeedY(): intRetrieves the Y-axis speed of the spawned object. This is an integer value indicating the object's vertical velocity along the Y-axis.
getSpeedZ(): int
getSpeedZ(): intRetrieves the Z-axis speed of the spawned object. This is an integer value indicating the object's horizontal velocity along the Z-axis.
getPitch(): int
getPitch(): intReturns the pitch (vertical rotation) of the object. This is an integer value representing the vertical orientation of the object.
getYaw(): int
getYaw(): intReturns the yaw (horizontal rotation) of the object. This is an integer value representing the direction the object is facing.
getType(): int
getType(): intRetrieves the type of the object spawned. This is an integer value representing the specific type of object.
setX(int var1)
setX(int var1)Sets the X-coordinate for the spawned object. var1 is an integer value for the new X-coordinate.
setY(int var1)
setY(int var1)Sets the Y-coordinate for the spawned object. var1 is an integer value for the new Y-coordinate.
setZ(int var1)
setZ(int var1)Sets the Z-coordinate for the spawned object. var1 is an integer value for the new Z-coordinate.
setSpeedX(int var1)
setSpeedX(int var1)Sets the X-axis speed for the spawned object. var1 is an integer value for the new X-axis speed.
setSpeedY(int var1)
setSpeedY(int var1)Sets the Y-axis speed for the spawned object. var1 is an integer value for the new Y-axis speed.
setSpeedZ(int var1)
setSpeedZ(int var1)Sets the Z-axis speed for the spawned object. var1 is an integer value for the new Z-axis speed.
Last updated