net.minecraft.world.level.block.entity

public abstract class BlockEntity

bwi
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.class_2586
net.minecraft.block.entity.BlockEntity
net.minecraft.tileentity.TileEntity
net.minecraft.server.v1_15_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
w()
getLevel()
method_10997()
getWorld()
func_145831_w()
getWorld()
public void
a(bjt arg0, fk arg1)
setLevelAndPosition(Level arg0, BlockPos arg1)
method_11009(class_1937 arg0, class_2338 arg1)
setWorld(World arg0, BlockPos arg1)
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(jt arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
fromTag(CompoundTag tag)
func_145839_a(CompoundNBT arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(jt arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag tag)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
private CompoundTag
d(jt arg0)
saveMetadata(CompoundTag arg0)
method_10999(class_2487 arg0)
writeIdentifyingData(CompoundTag arg0)
func_189516_d(CompoundNBT arg0)
public static BlockEntity
c(jt arg0)
loadStatic(CompoundTag arg0)
method_11005(class_2487 arg0)
createFromTag(CompoundTag arg0)
func_203403_c(CompoundNBT arg0)
create(NBTTagCompound arg0)
public void
e()
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
ab_()
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)
onBlockAction(int arg0, int arg1)
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(i arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_11003(class_129 arg0)
populateCrashReport(CrashReportSection arg0)
func_145828_a(CrashReportCategory arg0)
public void
a(fk arg0)
setPosition(BlockPos arg0)
method_10998(class_2338 arg0)
setPos(BlockPos arg0)
func_174878_a(BlockPos arg0)
setPosition(BlockPosition arg0)
public boolean
t()
onlyOpCanSetNbt()
method_11011()
shouldNotCopyTagFromItem()
func_183000_F()
isFilteredNBT()
public void
a(btr arg0)
rotate(Rotation arg0)
method_11013(class_2470 arg0)
applyRotation(BlockRotation arg0)
func_189667_a(Rotation arg0)
public void
a(bsr arg0)
mirror(Mirror arg0)
method_11001(class_2415 arg0)
applyMirror(BlockMirror arg0)
func_189668_a(Mirror arg0)
public BlockEntityType<?>
u()
getType()
method_11017()
getType()
func_200662_C()
getTileType()
public void
v()
logInvalidState()
method_20525()
markInvalid()
func_222814_r()
public double
a(double arg0, double arg1, double arg2)
distanceToSqr(double arg0, double arg1, double arg2)
method_11008(double arg0, double arg1, double arg2)
getSquaredDistance(double x, double y, double z)
func_145835_a(double arg0, double arg1, double arg2)
public double
i()
getViewDistance()
method_11006()
getSquaredRenderDistance()
func_145833_n()