Перейти к основному содержанию

PistonArmBlockEntity

{}PistonArmBlockEntity:compound extends IBlockEntity

PistonArm (Piston) with ID = 18.

Tid:string= "PistonArm"
[]AttachedBlocks:list<Block>

Blocks attached to piston (excluding head) with slime and honey blocks.

Tname:string
+[]states:list<BlockState>
Iversion:int

Database tracking identifier (in 1.16 equals 17825808).

[]BreakBlocks:list<Block>

Blocks prevents piston from moving, such as obsidian.

Tname:string
+[]states:list<BlockState>
Iversion:int

Database tracking identifier (in 1.16 equals 17825808).

ILastProgress:int

Latest successfully changed state progress, which determine piston movement.

INewState:int

Required by redstone state, if nothing blocking way, piston moves.

IProgress:int

Percent between 0 and 1 (with in-game step 0.5), where 1 means activated.

IState:int

Currently state, 0 means pulled, 1 moving and 2 pushed.

BSticky:byte

Whether piston crafted with slime and can transfer blocks back.

BisMovable:byteIBlockEntity

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