Interface IContainerBlockEntity

Flattened hieracly, extendable in declarations.

interface IContainerBlockEntity {
    id: string;
    isMovable: boolean;
    Items: NBT.Templates.Item<ItemTag>[];
    x: number;
    y: number;
    z: number;
}

Hierarchy (view full)

Properties

Properties

id: string

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

isMovable: boolean

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

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

Normally, slot information removes when item became "air" (disappears), so please be careful when calling via <tag>.Items[<index>] convention!

x: number
y: number
z: number

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.