Container

Undocumented in source.
abstract
class Container : Tile {}

Constructors

this
this(sul.blocks.Block data)
Undocumented in source.

Inherited Members

From Tile

tid
uint tid [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
javaSpawnId
string javaSpawnId [@property getter]
pocketSpawnId
string pocketSpawnId [@property getter]

Gets the tile's spawn id for Minecraft and Minecraft: Pocket Edition. They're usually in snake case in Minecraft (flower_pot) and in pascal case in Minecraft: Pocket Edition (FlowerPot).

javaCompound
Compound javaCompound [@property getter]
pocketCompound
Compound pocketCompound [@property getter]

Gets the named binary tag. The tag may be null if the tile does not exists in the game's version or when the tile is in its inital state (or empty).

parseJavaCompound
void parseJavaCompound(Compound compound)

Parses a non-null compound saved in the Minecraft's Anvil format.

parsePocketCompound
void parsePocketCompound(Compound compound)

Parses a non-null compound saved from a Minecraft: Pocket Edition's LevelDB format.

place
void place(World world, BlockPosition position)
Undocumented in source. Be warned that the author may not have intended to support it.
unplace
void unplace()
Undocumented in source. Be warned that the author may not have intended to support it.
placed
bool placed [@property getter]

Indicates whether the tile has been placed in a world.

world
World world [@property getter]

Gets the world the tile is placed in, if placed is true.

position
BlockPosition position [@property getter]

Gets the tile's position in the world, if placed.

action
ubyte action [@property getter]

Gets the action type of the tile, used in Minecraft's UpdateBlockEntity packet.

update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta