public class EnchantingTableBlockEntity extends BlockEntity implements Nameable, Tickable
Modifier and Type | Field and Description |
---|---|
private Text |
customName |
float |
field_11962 |
float |
field_11963 |
float |
field_11964 |
float |
field_11967 |
float |
field_11969 |
float |
nextPageAngle |
float |
nextPageTurningSpeed |
float |
pageAngle |
float |
pageTurningSpeed |
private static Random |
RANDOM |
int |
ticks |
pos, removed, world
Constructor and Description |
---|
EnchantingTableBlockEntity() |
Modifier and Type | Method and Description |
---|---|
void |
fromTag(BlockState state,
CompoundTag tag) |
Text |
getCustomName() |
Text |
getName() |
void |
setCustomName(Text value) |
void |
tick() |
CompoundTag |
toTag(CompoundTag tag) |
applyMirror, applyRotation, cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markInvalid, markRemoved, onSyncedBlockEvent, populateCrashReport, resetBlock, setLocation, setPos, toInitialChunkDataTag, toUpdatePacket
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, hasCustomName
private static final Random RANDOM
public int ticks
public float nextPageAngle
public float pageAngle
public float field_11969
public float field_11967
public float nextPageTurningSpeed
public float pageTurningSpeed
public float field_11964
public float field_11963
public float field_11962
private Text customName
public CompoundTag toTag(CompoundTag tag)
toTag
in class BlockEntity
public void fromTag(BlockState state, CompoundTag tag)
fromTag
in class BlockEntity
@Nullable public Text getCustomName()
getCustomName
in interface Nameable