Interface CauldronBlockEntity

Cauldron with ID = 16.

Contains Items, but it intentionally not used.

interface CauldronBlockEntity {
    CustomColor?: number;
    id: "Cauldron";
    isMovable: boolean;
    Items: NBT.Templates.Item<ItemTag>[];
    PotionId: number;
    PotionType: number;
    x: number;
    y: number;
    z: number;
}

Hierarchy (view full)

Properties

CustomColor?: number

Packed RGB color, one of my favorites is -75715.

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!

PotionId: number

One of EPotionEffect enum values. But... Maybe try <enum value> - 1?

PotionType: number

Level of strength, value between 0 and 255 (more buggy to 32768).

-1
x: number
y: number
z: number

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