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 intermediary net/minecraft/class_5560official czsnamed net/minecraft/block/entity/ChestLidAnimator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate booleanprivate float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetProgress(float delta) voidsetOpen(boolean open) voidstep()
-
Field Details
-
open
private boolean open- Mappings:
Namespace Name Mixin selector intermediary field_27212Lnet/minecraft/class_5560;field_27212:Zofficial aLczs;a:Znamed openLnet/minecraft/block/entity/ChestLidAnimator;open:Z
-
progress
private float progress- Mappings:
Namespace Name Mixin selector intermediary field_27213Lnet/minecraft/class_5560;field_27213:Fofficial bLczs;b:Fnamed progressLnet/minecraft/block/entity/ChestLidAnimator;progress:F
-
lastProgress
private float lastProgress- Mappings:
Namespace Name Mixin selector intermediary field_27214Lnet/minecraft/class_5560;field_27214:Fofficial cLczs;c:Fnamed lastProgressLnet/minecraft/block/entity/ChestLidAnimator;lastProgress:F
-
-
Constructor Details
-
ChestLidAnimator
public ChestLidAnimator()
-
-
Method Details
-
step
public void step()- Mappings:
Namespace Name Mixin selector intermediary method_31672Lnet/minecraft/class_5560;method_31672()Vofficial aLczs;a()Vnamed stepLnet/minecraft/block/entity/ChestLidAnimator;step()V
-
getProgress
public float getProgress(float delta) - Mappings:
Namespace Name Mixin selector intermediary method_31673Lnet/minecraft/class_5560;method_31673(F)Fofficial aLczs;a(F)Fnamed getProgressLnet/minecraft/block/entity/ChestLidAnimator;getProgress(F)F
-
setOpen
public void setOpen(boolean open) - Mappings:
Namespace Name Mixin selector intermediary method_31674Lnet/minecraft/class_5560;method_31674(Z)Vofficial aLczs;a(Z)Vnamed setOpenLnet/minecraft/block/entity/ChestLidAnimator;setOpen(Z)V
-