Package net.minecraft.tileentity
Class EnchantingTableTileEntity
- java.lang.Object
-
- net.minecraftforge.common.capabilities.CapabilityProvider<TileEntity>
-
- net.minecraft.tileentity.TileEntity
-
- net.minecraft.tileentity.EnchantingTableTileEntity
-
- All Implemented Interfaces:
ITickableTileEntity
,INameable
,ICapabilityProvider
,ICapabilitySerializable<CompoundNBT>
,IForgeTileEntity
,INBTSerializable<CompoundNBT>
public class EnchantingTableTileEntity extends TileEntity implements INameable, ITickableTileEntity
-
-
Field Summary
Fields Modifier and Type Field Description float
flip
float
flipA
float
flipT
private ITextComponent
name
float
oFlip
float
oOpen
float
open
float
oRot
private static java.util.Random
RANDOM
float
rot
int
time
float
tRot
-
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 EnchantingTableTileEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITextComponent
getCustomName()
ITextComponent
getName()
void
load(BlockState p_230337_1_, CompoundNBT p_230337_2_)
CompoundNBT
save(CompoundNBT p_189515_1_)
void
setCustomName(ITextComponent p_200229_1_)
void
tick()
-
Methods inherited from class net.minecraft.tileentity.TileEntity
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getUpdatePacket, getUpdateTag, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEvent
-
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
-
Methods inherited from interface net.minecraft.util.INameable
getDisplayName, hasCustomName
-
-
-
-
Field Detail
-
time
public int time
-
flip
public float flip
-
oFlip
public float oFlip
-
flipT
public float flipT
-
flipA
public float flipA
-
open
public float open
-
oOpen
public float oOpen
-
rot
public float rot
-
oRot
public float oRot
-
tRot
public float tRot
-
RANDOM
private static final java.util.Random RANDOM
-
name
private ITextComponent name
-
-
Method Detail
-
save
public CompoundNBT save(CompoundNBT p_189515_1_)
- Overrides:
save
in classTileEntity
-
load
public void load(BlockState p_230337_1_, CompoundNBT p_230337_2_)
- Overrides:
load
in classTileEntity
-
tick
public void tick()
- Specified by:
tick
in interfaceITickableTileEntity
-
getName
public ITextComponent getName()
-
setCustomName
public void setCustomName(@Nullable ITextComponent p_200229_1_)
-
getCustomName
@Nullable public ITextComponent getCustomName()
- Specified by:
getCustomName
in interfaceINameable
-
-