Package net.minecraft.tileentity
Class EnderChestTileEntity
- java.lang.Object
-
- net.minecraftforge.common.capabilities.CapabilityProvider<TileEntity>
-
- net.minecraft.tileentity.TileEntity
-
- net.minecraft.tileentity.EnderChestTileEntity
-
- All Implemented Interfaces:
IChestLid
,ITickableTileEntity
,ICapabilityProvider
,ICapabilitySerializable<CompoundNBT>
,IForgeTileEntity
,INBTSerializable<CompoundNBT>
public class EnderChestTileEntity extends TileEntity implements IChestLid, ITickableTileEntity
-
-
Field Summary
Fields Modifier and Type Field Description float
oOpenness
int
openCount
float
openness
private int
tickInterval
-
Fields inherited from class net.minecraft.tileentity.TileEntity
level, remove, worldPosition
-
Fields inherited from interface net.minecraftforge.common.extensions.IForgeTileEntity
INFINITE_EXTENT_AABB
-
-
Constructor Summary
Constructors Constructor Description EnderChestTileEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getOpenNess(float p_195480_1_)
void
setRemoved()
void
startOpen()
boolean
stillValid(PlayerEntity p_145971_1_)
void
stopOpen()
void
tick()
boolean
triggerEvent(int p_145842_1_, int p_145842_2_)
-
Methods inherited from class net.minecraft.tileentity.TileEntity
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getUpdatePacket, getUpdateTag, getViewDistance, hasLevel, isRemoved, load, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, save, setChanged, setLevelAndPosition, setPosition
-
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
-
Methods inherited from interface net.minecraftforge.common.extensions.IForgeTileEntity
deserializeNBT, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
-
-
-
-
Method Detail
-
tick
public void tick()
- Specified by:
tick
in interfaceITickableTileEntity
-
triggerEvent
public boolean triggerEvent(int p_145842_1_, int p_145842_2_)
- Overrides:
triggerEvent
in classTileEntity
-
setRemoved
public void setRemoved()
- Overrides:
setRemoved
in classTileEntity
-
startOpen
public void startOpen()
-
stopOpen
public void stopOpen()
-
stillValid
public boolean stillValid(PlayerEntity p_145971_1_)
-
getOpenNess
public float getOpenNess(float p_195480_1_)
- Specified by:
getOpenNess
in interfaceIChestLid
-
-