Skip to main content

IContainerBlockEntity

{}IContainerBlockEntity:compound extends IBlockEntity
[]Items:list<Item>

Contained slots, which is stored in numeral-index sorting starting with zero.

+{}Block:compound extends Block
ICount:int

Amount of item in slot.

IDamage:int= "0 // not damaged at all"

Dealed damage, when it comes to item will be broken.

TName:string

Typed identifier, such as "minecraft:stick".

ISlot:int

Indexed slot, required in containers with more than one slots.

BWasPickedUp:byte

Picked up by entity, denies despawn it naturally.

+{}tag:compound extends T

Additional data, such as nametags, enchantments, etc.

Typed identifier, such as "Chest", "Beacon", etc.

BisMovable:byteIBlockEntity

Block Entity will be saved without instantiating new one when transporting (via pistons, commands, etc.).