Package net.minecraft.block.entity
Class ChestLidAnimator
java.lang.Object
net.minecraft.block.entity.ChestLidAnimator
Handles the animation for opening and closing chests and ender chests.
- Mappings:
Namespace Name named net/minecraft/block/entity/ChestLidAnimator
intermediary net/minecraft/class_5560
official dpq
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private boolean
private float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getProgress
(float delta) void
setOpen
(boolean open) void
step()
-
Field Details
-
open
private boolean open- Mappings:
Namespace Name Mixin selector named open
Lnet/minecraft/block/entity/ChestLidAnimator;open:Z
intermediary field_27212
Lnet/minecraft/class_5560;field_27212:Z
official a
Ldpq;a:Z
-
progress
private float progress- Mappings:
Namespace Name Mixin selector named progress
Lnet/minecraft/block/entity/ChestLidAnimator;progress:F
intermediary field_27213
Lnet/minecraft/class_5560;field_27213:F
official b
Ldpq;b:F
-
lastProgress
private float lastProgress- Mappings:
Namespace Name Mixin selector named lastProgress
Lnet/minecraft/block/entity/ChestLidAnimator;lastProgress:F
intermediary field_27214
Lnet/minecraft/class_5560;field_27214:F
official c
Ldpq;c:F
-
-
Constructor Details
-
ChestLidAnimator
public ChestLidAnimator()
-
-
Method Details
-
step
public void step()- Mappings:
Namespace Name Mixin selector named step
Lnet/minecraft/block/entity/ChestLidAnimator;step()V
intermediary method_31672
Lnet/minecraft/class_5560;method_31672()V
official a
Ldpq;a()V
-
getProgress
public float getProgress(float delta) - Mappings:
Namespace Name Mixin selector named getProgress
Lnet/minecraft/block/entity/ChestLidAnimator;getProgress(F)F
intermediary method_31673
Lnet/minecraft/class_5560;method_31673(F)F
official a
Ldpq;a(F)F
-
setOpen
public void setOpen(boolean open) - Mappings:
Namespace Name Mixin selector named setOpen
Lnet/minecraft/block/entity/ChestLidAnimator;setOpen(Z)V
intermediary method_31674
Lnet/minecraft/class_5560;method_31674(Z)V
official a
Ldpq;a(Z)V
-