net.minecraft.world.level.block.entity

public abstract class BlockEntity

cdl
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.class_2586
net.minecraft.block.entity.BlockEntity
net.minecraft.tileentity.TileEntity
net.minecraft.server.v1_16_R1.TileEntity

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_11868
LOGGER
field_145852_a
private final BlockEntityType<?>
b
type
field_11864
type
field_200663_e
tileType
protected Level
d
level
field_11863
world
field_145850_b
world
protected BlockPos
e
worldPosition
field_11867
pos
field_174879_c
position
protected boolean
f
remove
field_11865
removed
field_145846_f
private BlockState
c
blockState
field_11866
cachedState
field_195045_e
private boolean
g
hasLoggedInvalidStateBefore
field_19314
invalid
field_222816_g

Constructor summary

ModifierConstructor
public (BlockEntityType<?> type)

Method summary

Modifier and TypeMethod
public Level
v()
getLevel()
method_10997()
getWorld()
func_145831_w()
getWorld()
public void
a(bqb arg0, fu arg1)
setLevelAndPosition(Level arg0, BlockPos arg1)
method_11009(class_1937 arg0, class_2338 arg1)
setLocation(World world, BlockPos pos)
func_226984_a_(World arg0, BlockPos arg1)
setLocation(World arg0, BlockPosition arg1)
public boolean
n()
hasLevel()
method_11002()
hasWorld()
func_145830_o()
hasWorld()
public void
a(cfj arg0, le arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState state, CompoundTag tag)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
load(IBlockData arg0, NBTTagCompound arg1)
public CompoundTag
a(le arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag tag)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
private CompoundTag
b(le arg0)
saveMetadata(CompoundTag arg0)
method_10999(class_2487 arg0)
writeIdentifyingData(CompoundTag tag)
func_189516_d(CompoundNBT arg0)
public static BlockEntity
b(cfj arg0, le arg1)
loadStatic(BlockState arg0, CompoundTag arg1)
method_11005(class_2680 arg0, class_2487 arg1)
createFromTag(BlockState state, CompoundTag tag)
func_235657_b_(BlockState arg0, CompoundNBT arg1)
create(IBlockData arg0, NBTTagCompound arg1)
public void
Z_()
setChanged()
method_5431()
markDirty()
func_70296_d()
update()
public BlockPos
o()
getBlockPos()
method_11016()
getPos()
func_174877_v()
getPosition()
public BlockState
p()
getBlockState()
method_11010()
getCachedState()
func_195044_w()
getBlock()
public ClientboundBlockEntityDataPacket
a()
getUpdatePacket()
method_16886()
toUpdatePacket()
func_189518_D_()
getUpdatePacket()
public CompoundTag
b()
getUpdateTag()
method_16887()
toInitialChunkDataTag()
func_189517_E_()
public boolean
q()
isRemoved()
method_11015()
isRemoved()
func_145837_r()
isRemoved()
public void
an_()
setRemoved()
method_11012()
markRemoved()
func_145843_s()
public void
r()
clearRemoved()
method_10996()
cancelRemoval()
func_145829_t()
public boolean
a_(int arg0, int arg1)
triggerEvent(int arg0, int arg1)
method_11004(int arg0, int arg1)
onSyncedBlockEvent(int type, int data)
func_145842_c(int arg0, int arg1)
setProperty(int arg0, int arg1)
public void
s()
clearCache()
method_11000()
resetBlock()
func_145836_u()
invalidateBlockCache()
public void
a(k arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_11003(class_129 arg0)
populateCrashReport(CrashReportSection arg0)
func_145828_a(CrashReportCategory arg0)
public void
a(fu arg0)
setPosition(BlockPos arg0)
method_10998(class_2338 arg0)
setPos(BlockPos pos)
func_174878_a(BlockPos arg0)
setPosition(BlockPosition arg0)
public boolean
t()
onlyOpCanSetNbt()
method_11011()
copyItemDataRequiresOperator()
func_183000_F()
isFilteredNBT()
public void
a(cap arg0)
rotate(Rotation arg0)
method_11013(class_2470 arg0)
applyRotation(BlockRotation rotation)
func_189667_a(Rotation arg0)
public void
a(bzj arg0)
mirror(Mirror arg0)
method_11001(class_2415 arg0)
applyMirror(BlockMirror mirror)
func_189668_a(Mirror arg0)
public BlockEntityType<?>
u()
getType()
method_11017()
getType()
func_200662_C()
getTileType()
public void
w()
logInvalidState()
method_20525()
markInvalid()
func_222814_r()
public double
i()
getViewDistance()
method_11006()
getSquaredRenderDistance()
func_145833_n()