Package net.minecraft.block.entity
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.
- Mappings:
Namespace Name official cfxintermediary net/minecraft/class_5560named net/minecraft/block/entity/ChestLidAnimator
-
Field Summary
Fields Modifier and Type Field Description private floatlastProgressprivate booleanopenprivate floatprogress -
Constructor Summary
Constructors Constructor Description ChestLidAnimator() -
Method Summary
Modifier and Type Method Description floatgetProgress(float delta)voidsetOpen(boolean open)voidstep()
-
Field Details
-
open
private boolean open- Mappings:
Namespace Name Mixin selector official aLcfx;a:Zintermediary field_27212Lnet/minecraft/class_5560;field_27212:Znamed openLnet/minecraft/block/entity/ChestLidAnimator;open:Z
-
progress
private float progress- Mappings:
Namespace Name Mixin selector official bLcfx;b:Fintermediary field_27213Lnet/minecraft/class_5560;field_27213:Fnamed progressLnet/minecraft/block/entity/ChestLidAnimator;progress:F
-
lastProgress
private float lastProgress- Mappings:
Namespace Name Mixin selector official cLcfx;c:Fintermediary field_27214Lnet/minecraft/class_5560;field_27214:Fnamed lastProgressLnet/minecraft/block/entity/ChestLidAnimator;lastProgress:F
-
-
Constructor Details
-
ChestLidAnimator
public ChestLidAnimator()
-
-
Method Details
-
step
public void step()- Mappings:
Namespace Name Mixin selector official aLcfx;a()Vintermediary method_31672Lnet/minecraft/class_5560;method_31672()Vnamed stepLnet/minecraft/block/entity/ChestLidAnimator;step()V
-
getProgress
- Mappings:
Namespace Name Mixin selector official aLcfx;a(F)Fintermediary method_31673Lnet/minecraft/class_5560;method_31673(F)Fnamed getProgressLnet/minecraft/block/entity/ChestLidAnimator;getProgress(F)F
-
setOpen
public void setOpen(boolean open)- Mappings:
Namespace Name Mixin selector official aLcfx;a(Z)Vintermediary method_31674Lnet/minecraft/class_5560;method_31674(Z)Vnamed setOpenLnet/minecraft/block/entity/ChestLidAnimator;setOpen(Z)V
-