Skip to content

Tile Entities ​

Tile entities are blocks that contain additional data, beyond the 4-bit Metadata/Damage Value every item/block has.

Base ​

All tile entities share a common layout that they then add their additional fields onto.

FieldTypeDescription
idStringThe label of the tile entity
xIntegerThe X block position of the block
yIntegerThe Y block position of the block
zIntegerThe Z block position of the block

As these are always the same, they will only be included as part of the examples.

Sign ​

Signs just store what lines they contain. The rest is handled by the block they attach to, namely their rotation. Their data needs to be sent to any clients via the designated Sign Packet. Each line of a sign should only have 15 characters.

FieldTypeDescription
Text1StringFirst Line on the sign
Text2StringSecond Line on the sign
Text3StringThird Line on the sign
Text4StringFourth Line on the sign

Example

FieldValue
Text1Welcome to
Text2the Beta Wiki
Text3Thank you
Text4for helping!
idSign
x17
y55
z60

Mob Spawner ​

FieldTypeDescription
DelayShortHow often per tick a mob spawn attempt can be issued
EntityIdStringThe label of the spawnable entity

Example

FieldValue
Delay20
EntityIdZombie
idMobSpawner
x17
y55
z60

Chest ​

FieldTypeDescription
ItemsListA list of Compound-tagged items

NOTE

Large chests are just normal chests that happen to be adjacent when opened. They do not share a tile entity entry!

Example

FieldValue
Items
idChest
x20
y55
z61

Furnace ​

FieldTypeDescription
ItemsListA list of Compound-taged items
BurnTimeShortTime remaining in ticks until the fuel is used up
CookTimeShortTime remaining in ticks until the item is cooked

Example

FieldValue
Items
BurnTime0
CookTime0
idFurnace
x20
y55
z61

Dispenser ​

The dispenser is internally referred to as Trap.

FieldTypeDescription
ItemsListA list of Compound-tagged items

Example

FieldValue
Items
idTrap
x20
y55
z61

Noteblock ​

Noteblocks are internally referred to as Music.

FieldTypeDescription
noteByteThe current Note/Pitch value

Example

FieldValue
idMusic
note5
x20
y55
z61

Jukebox ​

Jukeboxes are internally referred to as RecordPlayer.

FieldTypeDescription
RecordIntegerThe item id of the currently contained record

Example

FieldValue
idRecordPlayer
Record2257
x20
y55
z61