net.minecraft.block.entity

public abstract class BlockEntity

btn
net.minecraft.class_2586
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
field_145852_a
LOGGER
private final BlockEntityType<?>
b
field_11864
type
field_200663_e
type
protected World
d
field_11863
world
field_145850_b
world
protected BlockPos
e
field_11867
pos
field_174879_c
pos
protected boolean
f
field_11865
removed
field_145846_f
removed
private BlockState
c
field_11866
blockState
field_195045_e
cachedBlockState
private boolean
g
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()
func_145831_w()
getWorld()
public void
a(bhi arg0)
method_11009(class_1937 arg0)
setWorld(World world)
func_145834_a(World arg0)
setWorld(World worldIn)
public boolean
j()
method_11002()
hasWorld()
func_145830_o()
hasWorld()
public void
a(ib arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound nbt)
func_145839_a(CompoundNBT arg0)
read(CompoundNBT compound)
public NbtCompound
b(ib arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound nbt)
func_189515_b(CompoundNBT arg0)
write(CompoundNBT compound)
private NbtCompound
d(ib arg0)
method_10999(class_2487 arg0)
writeMetadata(NbtCompound nbt)
func_189516_d(CompoundNBT arg0)
writeInternal(CompoundNBT compound)
public static BlockEntity
c(ib arg0)
method_11005(class_2487 arg0)
fromNbt(NbtCompound nbt)
func_203403_c(CompoundNBT arg0)
create(CompoundNBT tag)
public void
e()
method_5431()
markDirty()
func_70296_d()
markDirty()
public BlockPos
k()
method_11016()
getPos()
func_174877_v()
getPos()
public BlockState
l()
method_11010()
getBlockState()
func_195044_w()
getBlockState()
public BlockEntityUpdateS2CPacket
a()
method_16886()
createUpdatePacket()
func_189518_D_()
getUpdatePacket()
public NbtCompound
b()
method_16887()
toNbt()
func_189517_E_()
getUpdateTag()
public boolean
m()
method_11015()
isRemoved()
func_145837_r()
isRemoved()
public void
W_()
method_11012()
markRemoved()
func_145843_s()
remove()
public void
n()
method_10996()
cancelRemoval()
func_145829_t()
validate()
public boolean
a_(int arg0, int arg1)
method_11004(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()
clearBlockCache()
func_145836_u()
updateContainingBlockInfo()
public void
a(e arg0)
method_11003(class_129 arg0)
populateCrashReport(CrashReportCategory category)
func_145828_a(CrashReportCategory arg0)
addInfoToCrashReport(CrashReportCategory reportCategory)
public void
a(ev arg0)
method_10998(class_2338 arg0)
setPos(BlockPos pos)
func_174878_a(BlockPos arg0)
setPos(BlockPos posIn)
public boolean
p()
method_11011()
requireOpForPlacingWithNbt()
func_183000_F()
onlyOpsCanSetNbt()
public void
a(bqx arg0)
method_11013(class_2470 arg0)
rotate(BlockRotation rotation)
func_189667_a(Rotation arg0)
rotate(Rotation rotationIn)
public void
a(bpx arg0)
method_11001(class_2415 arg0)
mirror(BlockMirror mirror)
func_189668_a(Mirror arg0)
mirror(Mirror mirrorIn)
public BlockEntityType<?>
q()
method_11017()
getType()
func_200662_C()
getType()
public void
r()
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)
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()
getSquaredViewDistance()
func_145833_n()
getMaxRenderDistanceSquared()