Interface HopperBlockEntity

Hopper with ID = 2.

interface HopperBlockEntity {
    id: "Hopper";
    isMovable: boolean;
    Items: NBT.Templates.Item<ItemTag>[];
    TransferCooldown: number;
    x: number;
    y: number;
    z: number;
}

Hierarchy (view full)

Properties

id

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!

TransferCooldown: number

Ticks counter before transfering to watching side or down if hoppers unlocked.

0
x: number
y: number
z: number

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