Class ChestLidAnimator

java.lang.Object
net.minecraft.block.entity.ChestLidAnimator

public class ChestLidAnimator
extends Object
Handles the animation for opening and closing chests and ender chests.
  • Field Details

    • open

      private boolean open
    • progress

      private float progress
    • lastProgress

      private float lastProgress
  • Constructor Details

    • ChestLidAnimator

      public ChestLidAnimator()
  • Method Details

    • step

      public void step()
    • getProgress

      @Environment(CLIENT) public float getProgress​(float delta)
    • setOpen

      public void setOpen​(boolean open)