类 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 chvintermediary net/minecraft/class_5560named net/minecraft/block/entity/ChestLidAnimator
-
-
字段概要
字段 修饰符和类型 字段 说明 private floatlastProgressprivate booleanopenprivate floatprogress
-
构造器概要
构造器 构造器 说明 ChestLidAnimator()
-
-
-
字段详细资料
-
open
private boolean open
- Mappings:
Namespace Name Mixin selector official aLchv;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 bLchv;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 cLchv;c:Fintermediary field_27214Lnet/minecraft/class_5560;field_27214:Fnamed lastProgressLnet/minecraft/block/entity/ChestLidAnimator;lastProgress:F
-
-
方法详细资料
-
step
public void step()
- Mappings:
Namespace Name Mixin selector official aLchv;a()Vintermediary method_31672Lnet/minecraft/class_5560;method_31672()Vnamed stepLnet/minecraft/block/entity/ChestLidAnimator;step()V
-
getProgress
public float getProgress(float delta)
- Mappings:
Namespace Name Mixin selector official aLchv;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 aLchv;a(Z)Vintermediary method_31674Lnet/minecraft/class_5560;method_31674(Z)Vnamed setOpenLnet/minecraft/block/entity/ChestLidAnimator;setOpen(Z)V
-
-