net.minecraft.block.entity

public abstract class BlockEntity

btr
net.minecraft.class_2586
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.BlockEntity
net.minecraft.tileentity.TileEntity
net.minecraft.tileentity.TileEntity

Field summary

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

Constructor summary

ModifierConstructor
public (BlockEntityType<?> type)

Method summary

Modifier and TypeMethod
public World
w()
method_10997()
getWorld()
getWorld()
func_145831_w()
getWorld()
public void
a(bhm arg0)
method_11009(class_1937 arg0)
setWorld(World arg0)
setWorld(World world)
func_145834_a(World arg0)
setWorld(World worldIn)
public boolean
j()
method_11002()
hasWorld()
hasWorld()
func_145830_o()
hasWorld()
public void
a(ic arg0)
method_11014(class_2487 arg0)
fromTag(CompoundTag arg0)
readNbt(NbtCompound nbt)
func_145839_a(CompoundNBT arg0)
read(CompoundNBT compound)
public CompoundTag
b(ic arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
writeNbt(NbtCompound nbt)
func_189515_b(CompoundNBT arg0)
write(CompoundNBT compound)
private CompoundTag
d(ic arg0)
method_10999(class_2487 arg0)
writeIdentifyingData(CompoundTag arg0)
writeMetadata(NbtCompound nbt)
func_189516_d(CompoundNBT arg0)
writeInternal(CompoundNBT compound)
public static BlockEntity
c(ic arg0)
method_11005(class_2487 arg0)
createFromTag(CompoundTag arg0)
fromNbt(NbtCompound nbt)
func_203403_c(CompoundNBT arg0)
create(CompoundNBT tag)
public void
e()
method_5431()
markDirty()
markDirty()
func_70296_d()
markDirty()
public BlockPos
k()
method_11016()
getPos()
getPos()
func_174877_v()
getPos()
public BlockState
l()
method_11010()
getCachedState()
getBlockState()
func_195044_w()
getBlockState()
public BlockEntityUpdateS2CPacket
a()
method_16886()
toUpdatePacket()
createUpdatePacket()
func_189518_D_()
getUpdatePacket()
public CompoundTag
b()
method_16887()
toInitialChunkDataTag()
toNbt()
func_189517_E_()
getUpdateTag()
public boolean
m()
method_11015()
isInvalid()
isRemoved()
func_145837_r()
isRemoved()
public void
V_()
method_11012()
invalidate()
markRemoved()
func_145843_s()
remove()
public void
n()
method_10996()
validate()
cancelRemoval()
func_145829_t()
validate()
public boolean
a_(int arg0, int arg1)
method_11004(int arg0, int arg1)
onBlockAction(int arg0, int arg1)
doEvent(int type, int data)
func_145842_c(int arg0, int arg1)
receiveClientEvent(int id, int type)
public void
o()
method_11000()
resetBlock()
clearBlockCache()
func_145836_u()
updateContainingBlockInfo()
public void
a(e arg0)
method_11003(class_129 arg0)
populateCrashReport(CrashReportSection arg0)
populateCrashReport(CrashReportCategory category)
func_145828_a(CrashReportCategory arg0)
addInfoToCrashReport(CrashReportCategory reportCategory)
public void
a(ev arg0)
method_10998(class_2338 arg0)
setPos(BlockPos arg0)
setPos(BlockPos pos)
func_174878_a(BlockPos arg0)
setPos(BlockPos posIn)
public boolean
p()
method_11011()
shouldNotCopyTagFromItem()
requireOpForPlacingWithNbt()
func_183000_F()
onlyOpsCanSetNbt()
public void
a(brb arg0)
method_11013(class_2470 arg0)
applyRotation(BlockRotation arg0)
rotate(BlockRotation rotation)
func_189667_a(Rotation arg0)
rotate(Rotation rotationIn)
public void
a(bqb arg0)
method_11001(class_2415 arg0)
applyMirror(BlockMirror arg0)
mirror(BlockMirror mirror)
func_189668_a(Mirror arg0)
mirror(Mirror mirrorIn)
public BlockEntityType<?>
q()
method_11017()
getType()
getType()
func_200662_C()
getType()
public void
r()
method_20525()
method_20525()
m_32309779()
func_222814_r()
warnInvalidBlock()
public double
a(double arg0, double arg1, double arg2)
method_11008(double arg0, double arg1, double arg2)
getSquaredDistance(double arg0, double arg1, double arg2)
squaredDistanceTo(double x, double y, double z)
func_145835_a(double arg0, double arg1, double arg2)
getDistanceSq(double x, double y, double z)
public double
i()
method_11006()
getSquaredRenderDistance()
getSquaredViewDistance()
func_145833_n()
getMaxRenderDistanceSquared()