public class EnchantingTableBlockEntity extends BlockEntity implements Nameable
| 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(BlockPos blockPos,
BlockState blockState) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromTag(CompoundTag compoundTag) |
Text |
getCustomName() |
Text |
getName() |
void |
setCustomName(Text value) |
static void |
tick(World world,
BlockPos blockPos,
BlockState blockState,
EnchantingTableBlockEntity enchantingTableBlockEntity) |
CompoundTag |
toTag(CompoundTag tag) |
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld, 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 EnchantingTableBlockEntity(BlockPos blockPos, BlockState blockState)
public CompoundTag toTag(CompoundTag tag)
toTag in class BlockEntitypublic void fromTag(CompoundTag compoundTag)
fromTag in class BlockEntitypublic static void tick(World world, BlockPos blockPos, BlockState blockState, EnchantingTableBlockEntity enchantingTableBlockEntity)
@Nullable public Text getCustomName()
getCustomName in interface Nameable