Package com.hbm_m.client.overlay
Class DoorAnimationDelayHelper
java.lang.Object
com.hbm_m.client.overlay.DoorAnimationDelayHelper
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 Summary
Modifier and TypeMethodDescriptionstatic voidaddToQueue(DoorBlockEntity be, long delayMs) Called from DoorBlockEntity.load() when on client and transitioning from moving to static.static booleanReturns true if this entity is in the overlap delay period.static voidCalled from ClientTickEvent.
-
Method Details
-
addToQueue
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
Returns true if this entity is in the overlap delay period.
-