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 cfx
intermediary net/minecraft/class_5560
named net/minecraft/block/entity/ChestLidAnimator
-
Field Summary
Fields Modifier and Type Field Description private float
lastProgress
private boolean
open
private float
progress
-
Constructor Summary
Constructors Constructor Description ChestLidAnimator()
-
Method Summary
Modifier and Type Method Description float
getProgress(float delta)
void
setOpen(boolean open)
void
step()
-
Field Details
-
open
private boolean open- Mappings:
Namespace Name Mixin selector official a
Lcfx;a:Z
intermediary field_27212
Lnet/minecraft/class_5560;field_27212:Z
named open
Lnet/minecraft/block/entity/ChestLidAnimator;open:Z
-
progress
private float progress- Mappings:
Namespace Name Mixin selector official b
Lcfx;b:F
intermediary field_27213
Lnet/minecraft/class_5560;field_27213:F
named progress
Lnet/minecraft/block/entity/ChestLidAnimator;progress:F
-
lastProgress
private float lastProgress- Mappings:
Namespace Name Mixin selector official c
Lcfx;c:F
intermediary field_27214
Lnet/minecraft/class_5560;field_27214:F
named lastProgress
Lnet/minecraft/block/entity/ChestLidAnimator;lastProgress:F
-
-
Constructor Details
-
ChestLidAnimator
public ChestLidAnimator()
-
-
Method Details
-
step
public void step()- Mappings:
Namespace Name Mixin selector official a
Lcfx;a()V
intermediary method_31672
Lnet/minecraft/class_5560;method_31672()V
named step
Lnet/minecraft/block/entity/ChestLidAnimator;step()V
-
getProgress
- Mappings:
Namespace Name Mixin selector official a
Lcfx;a(F)F
intermediary method_31673
Lnet/minecraft/class_5560;method_31673(F)F
named getProgress
Lnet/minecraft/block/entity/ChestLidAnimator;getProgress(F)F
-
setOpen
public void setOpen(boolean open)- Mappings:
Namespace Name Mixin selector official a
Lcfx;a(Z)V
intermediary method_31674
Lnet/minecraft/class_5560;method_31674(Z)V
named setOpen
Lnet/minecraft/block/entity/ChestLidAnimator;setOpen(Z)V
-