forked from PocketMine/PocketMine-MP
-
Notifications
You must be signed in to change notification settings - Fork 14
TileAPI
mc.getSendQueue().addToSendQueue(new Packet11PlayerPosition(Double.NaN, Double.NaN, Double.NaN, Double.NaN, true)) edited this page Aug 27, 2026
·
2 revisions
WIP
- Args: (pos)
pos - position of TileEntity
- Return: or false
- Gets a TileEntity from its position
- Args: (id)
id - block id or instance of TileEntity
- Return:
- Gets a TileEntity instance from its id
- Args: (level)
level - Level instance
- Return: Array of tiles in level
- Args: (level, class, x, y, z, data)
level - Level instance, class - Class ID of Tile, x - posX, y - posY, z - posZ, data - entity data
- Return:
- Adds new tile to the level.
- Args: (level, x, y, z, lines)
level - Level instance, x - posX, y - posY, z - posZ, lines - data of sign
- Args: (tile)
- Return: None
- Spawns tile for all players in the world.
- Args: (player)
- Return: None
- Spawns all tiles to player
- Args: (id)
- Return: None
- Removes a tile from world