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, toUpdatePacketclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDisplayName, hasCustomNameprivate 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 BlockEntitypublic void fromTag(BlockState state, CompoundTag tag)
fromTag in class BlockEntity@Nullable public Text getCustomName()
getCustomName in interface Nameable