Block_MovingBlock: {
    type: "compound";
    value: {
        movingBlock: { type: "compound"; value: object } & Block;
        movingBlockExtra: { type: "compound"; value: object } & Block;
        movingEntity?: { type: "compound"; value: object } & BlockEntity;
        pistonPosX: { type: "int"; value: number };
        pistonPosY: { type: "int"; value: number };
        pistonPosZ: { type: "int"; value: number };
    };
}

Additional fields for [moving block](https://minecraft.wiki/w/moving block).

Type declaration

  • type: "compound"
  • value: {
        movingBlock: { type: "compound"; value: object } & Block;
        movingBlockExtra: { type: "compound"; value: object } & Block;
        movingEntity?: { type: "compound"; value: object } & BlockEntity;
        pistonPosX: { type: "int"; value: number };
        pistonPosY: { type: "int"; value: number };
        pistonPosZ: { type: "int"; value: number };
    }
    • movingBlock: { type: "compound"; value: object } & Block

      The main layer of moving block represented by this block entity.

    • movingBlockExtra: { type: "compound"; value: object } & Block

      The extra moving block layer represented by this block entity.

    • OptionalmovingEntity?: { type: "compound"; value: object } & BlockEntity

      (May not exist) The block entity stored in this moving block.

    • pistonPosX: { type: "int"; value: number }

      X coordinate of the piston base.

    • pistonPosY: { type: "int"; value: number }

      Y coordinate of the piston base.

    • pistonPosZ: { type: "int"; value: number }

      Z coordinate of the piston base.