Class DoorAnimationDelayHelper

java.lang.Object
com.hbm_m.client.overlay.DoorAnimationDelayHelper

public final class DoorAnimationDelayHelper extends Object
Client-only helper for door animation delay (overlap period between BER and baked model). Kept separate from DoorBlockEntity so the server never loads client-only code.
  • Method Details

    • addToQueue

      public static void addToQueue(DoorBlockEntity be, long delayMs)
      Called from DoorBlockEntity.load() when on client and transitioning from moving to static.
    • processQueue

      public static void processQueue()
      Called from ClientTickEvent. Processes expired entries.
    • isInDelayPeriod

      public static boolean isInDelayPeriod(DoorBlockEntity be)
      Returns true if this entity is in the overlap delay period.