Class PistonMovingBlockEntity

All Implemented Interfaces:
IAttachmentHolder, IBlockEntityExtension

public class PistonMovingBlockEntity extends BlockEntity
  • Field Details

    • TICKS_TO_EXTEND

      private static final int TICKS_TO_EXTEND
      See Also:
    • PUSH_OFFSET

      private static final double PUSH_OFFSET
      See Also:
    • TICK_MOVEMENT

      public static final double TICK_MOVEMENT
      See Also:
    • movedState

      private BlockState movedState
    • direction

      private Direction direction
    • extending

      private boolean extending
    • isSourcePiston

      private boolean isSourcePiston
    • NOCLIP

      private static final ThreadLocal<Direction> NOCLIP
    • progress

      private float progress
    • progressO

      private float progressO
    • lastTicked

      private long lastTicked
    • deathTicks

      private int deathTicks
  • Constructor Details

    • PistonMovingBlockEntity

      public PistonMovingBlockEntity(BlockPos p_155901_, BlockState p_155902_)
    • PistonMovingBlockEntity

      public PistonMovingBlockEntity(BlockPos p_155904_, BlockState p_155905_, BlockState p_155906_, Direction p_155907_, boolean p_155908_, boolean p_155909_)
  • Method Details