@EnvironmentInterfaces(value=@EnvironmentInterface(value=CLIENT,itf=ChestAnimationProgress.class)) public class EnderChestBlockEntity extends BlockEntity implements ChestAnimationProgress, Tickable
| Modifier and Type | Field and Description |
|---|---|
float |
animationProgress |
float |
lastAnimationProgress |
private int |
ticks |
int |
viewerCount |
pos, removed, world| Constructor and Description |
|---|
EnderChestBlockEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPlayerUse(PlayerEntity playerEntity) |
float |
getAnimationProgress(float float2) |
void |
markRemoved() |
boolean |
onBlockAction(int int2,
int int3) |
void |
onClose() |
void |
onOpen() |
void |
tick() |
applyMirror, applyRotation, cancelRemoval, copyItemDataRequiresOperator, createFromTag, fromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markInvalid, populateCrashReport, resetBlock, setLocation, setPos, toInitialChunkDataTag, toTag, toUpdatePacketpublic float animationProgress
public float lastAnimationProgress
public int viewerCount
private int ticks
public boolean onBlockAction(int int2,
int int3)
onBlockAction in class BlockEntitypublic void markRemoved()
markRemoved in class BlockEntitypublic void onOpen()
public void onClose()
public boolean canPlayerUse(PlayerEntity playerEntity)
@Environment(value=CLIENT) public float getAnimationProgress(float float2)
getAnimationProgress in interface ChestAnimationProgress