Interface MovingBlockEntity

MovingBlock (Moving Block) with ID = 19.

interface MovingBlockEntity {
    id: "MovingBlock";
    isMovable: boolean;
    movingBlock: Block;
    movingBlockExtra: Block;
    pistonPosX: number;
    pistonPosY: number;
    pistonPosZ: 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.).

movingBlock: Block

Block to be rendered as moving, let give a try with a "minecraft:cake" (name property).

movingBlockExtra: Block

Block to be rendered as moving above movingBlock, let give a try with a "minecraft:flowing_lava" (name property).

pistonPosX: number

If block connected with a sticky piston, it will appears here.

0
pistonPosY: number

If block connected with a sticky piston, it will appears here.

1
pistonPosZ: number

If block connected with a sticky piston, it will appears here.

0
x: number
y: number
z: number

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