Interface FurnaceBlockEntity

Furnace with ID = 1.

interface FurnaceBlockEntity {
    BurnDuration: number;
    BurnTime: number;
    CookTime: number;
    id: "Furnace";
    isMovable: boolean;
    Items: NBT.Templates.Item<ItemTag>[];
    StoredXPInt: number;
    x: number;
    y: number;
    z: number;
}

Hierarchy (view full)

Properties

BurnDuration: number

Currently burning fuel (appears in slot 1) total time in ticks (e.g. coal burns in 1600 ticks) before burning completed.

0
BurnTime: number

Counter to BurnDuration, when them equals furnace unlit.

0
CookTime: number

Currently smelting item (appears in slot 0) progress, result will be presented in slot with index 2.

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!

StoredXPInt: number

Accumulated experience, it will be dropped when result taken or furnace digged.

0
x: number
y: number
z: number

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