Uses of Class
net.minecraft.world.level.block.entity.BlockEntity
Package
Description
-
Uses of BlockEntity in net.minecraft.client
Modifier and TypeMethodDescriptionMinecraft.addCustomNbtData(ItemStack p_91123_, BlockEntity p_91124_)
-
Uses of BlockEntity in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionstatic Material
Sheets.chooseMaterial(BlockEntity p_110768_, ChestType p_110769_, boolean p_110770_)
Modifier and TypeMethodDescriptionvoid
LevelRenderer.updateGlobalBlockEntities(Collection<BlockEntity> p_109763_, Collection<BlockEntity> p_109764_)
-
Uses of BlockEntity in net.minecraft.client.renderer.blockentity
Modifier and TypeInterfaceDescriptioninterface
BlockEntityRenderer<T extends BlockEntity>
interface
BlockEntityRendererProvider<T extends BlockEntity>
class
BrightnessCombiner<S extends BlockEntity>
class
ChestRenderer<T extends BlockEntity & LidBlockEntity>
Modifier and TypeMethodDescription<E extends BlockEntity>
BlockEntityRenderer<E>BlockEntityRenderDispatcher.getRenderer(E p_112266_)
static <T extends BlockEntity>
voidBlockEntityRenderers.register(BlockEntityType<? extends T> p_173591_, BlockEntityRendererProvider<T> p_173592_)
<E extends BlockEntity>
voidBlockEntityRenderDispatcher.render(E p_112268_, float p_112269_, PoseStack p_112270_, MultiBufferSource p_112271_)
<E extends BlockEntity>
booleanBlockEntityRenderDispatcher.renderItem(E p_112273_, PoseStack p_112274_, MultiBufferSource p_112275_, int p_112276_, int p_112277_)
private static <T extends BlockEntity>
voidBlockEntityRenderDispatcher.setupAndRender(BlockEntityRenderer<T> p_112285_, T p_112286_, float p_112287_, PoseStack p_112288_, MultiBufferSource p_112289_)
Modifier and TypeMethodDescriptionprivate static void
BlockEntityRenderDispatcher.tryRender(BlockEntity p_112279_, Runnable p_112280_)
-
Uses of BlockEntity in net.minecraft.client.renderer.chunk
Modifier and TypeFieldDescriptionprivate Set<BlockEntity>
ChunkRenderDispatcher.RenderChunk.globalBlockEntities
(package private) List<BlockEntity>
ChunkRenderDispatcher.CompiledChunk.renderableBlockEntities
Modifier and TypeMethodDescriptionprivate <E extends BlockEntity>
voidChunkRenderDispatcher.RenderChunk.RebuildTask.handleBlockEntity(ChunkRenderDispatcher.CompiledChunk p_112878_, Set<BlockEntity> p_112879_, E p_112880_)
Modifier and TypeMethodDescriptionRenderChunkRegion.getBlockEntity(BlockPos p_112945_)
RenderChunkRegion.getBlockEntity(BlockPos p_112928_, LevelChunk.EntityCreationType p_112929_)
Modifier and TypeMethodDescriptionprivate Set<BlockEntity>
ChunkRenderDispatcher.RenderChunk.RebuildTask.compile(float p_112866_, float p_112867_, float p_112868_, ChunkRenderDispatcher.CompiledChunk p_112869_, ChunkBufferBuilderPack p_112870_)
ChunkRenderDispatcher.CompiledChunk.getRenderableBlockEntities()
Modifier and TypeMethodDescriptionprivate <E extends BlockEntity>
voidChunkRenderDispatcher.RenderChunk.RebuildTask.handleBlockEntity(ChunkRenderDispatcher.CompiledChunk p_112878_, Set<BlockEntity> p_112879_, E p_112880_)
(package private) void
ChunkRenderDispatcher.RenderChunk.updateGlobalBlockEntities(Set<BlockEntity> p_112827_)
-
Uses of BlockEntity in net.minecraft.core
Modifier and TypeMethodDescription<T extends BlockEntity>
TBlockSource.getEntity()
<T extends BlockEntity>
TBlockSourceImpl.getEntity()
-
Uses of BlockEntity in net.minecraft.gametest.framework
-
Uses of BlockEntity in net.minecraft.server.commands.data
-
Uses of BlockEntity in net.minecraft.server.level
-
Uses of BlockEntity in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionstatic int
AbstractContainerMenu.getRedstoneSignalFromBlockEntity(BlockEntity p_38919_)
-
Uses of BlockEntity in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate ArrayList<BlockEntity>
Level.freshBlockEntities
private ArrayList<BlockEntity>
Modifier and TypeMethodDescriptiondefault <T extends BlockEntity>
Optional<T>BlockGetter.getBlockEntity(BlockPos p_151367_, BlockEntityType<T> p_151368_)
default <T extends BlockEntity>
Optional<T>CommonLevelAccessor.getBlockEntity(BlockPos p_151452_, BlockEntityType<T> p_151453_)
<T extends BlockEntity>
Optional<T>LevelSimulatedReader.getBlockEntity(BlockPos p_151582_, BlockEntityType<T> p_151583_)
Modifier and TypeMethodDescriptionBlockGetter.getBlockEntity(BlockPos p_45570_)
EmptyBlockGetter.getBlockEntity(BlockPos p_45867_)
Level.getBlockEntity(BlockPos p_46716_)
PathNavigationRegion.getBlockEntity(BlockPos p_47180_)
BaseSpawner.getSpawnerBlockEntity()
Modifier and TypeMethodDescriptionvoid
Level.addFreshBlockEntities(Collection<BlockEntity> beList)
-
Uses of BlockEntity in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionstatic <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S>DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> p_52823_, Function<BlockState,DoubleBlockCombiner.BlockType> p_52824_, Function<BlockState,Direction> p_52825_, DirectionProperty p_52826_, BlockState p_52827_, LevelAccessor p_52828_, BlockPos p_52829_, BiPredicate<LevelAccessor,BlockPos> p_52830_)
protected static <T extends BlockEntity>
BlockEntityTicker<T>AbstractFurnaceBlock.createFurnaceTicker(Level p_151988_, BlockEntityType<T> p_151989_, BlockEntityType<? extends AbstractFurnaceBlockEntity> p_151990_)
protected static <E extends BlockEntity, A extends BlockEntity>
BlockEntityTicker<A>BaseEntityBlock.createTickerHelper(BlockEntityType<A> p_152133_, BlockEntityType<E> p_152134_, BlockEntityTicker<? super E> p_152135_)
protected static <E extends BlockEntity, A extends BlockEntity>
BlockEntityTicker<A>BaseEntityBlock.createTickerHelper(BlockEntityType<A> p_152133_, BlockEntityType<E> p_152134_, BlockEntityTicker<? super E> p_152135_)
default <T extends BlockEntity>
GameEventListenerEntityBlock.getListener(Level p_153210_, T p_153211_)
<T extends BlockEntity>
GameEventListenerSculkSensorBlock.getListener(Level p_154398_, T p_154399_)
<T extends BlockEntity>
BlockEntityTicker<T>AbstractSkullBlock.getTicker(Level p_151992_, BlockState p_151993_, BlockEntityType<T> p_151994_)
<T extends BlockEntity>
BlockEntityTicker<T>BeaconBlock.getTicker(Level p_152160_, BlockState p_152161_, BlockEntityType<T> p_152162_)
<T extends BlockEntity>
BlockEntityTicker<T>BeehiveBlock.getTicker(Level p_152180_, BlockState p_152181_, BlockEntityType<T> p_152182_)
<T extends BlockEntity>
BlockEntityTicker<T>BellBlock.getTicker(Level p_152194_, BlockState p_152195_, BlockEntityType<T> p_152196_)
<T extends BlockEntity>
BlockEntityTicker<T>BlastFurnaceBlock.getTicker(Level p_152382_, BlockState p_152383_, BlockEntityType<T> p_152384_)
<T extends BlockEntity>
BlockEntityTicker<T>BrewingStandBlock.getTicker(Level p_152694_, BlockState p_152695_, BlockEntityType<T> p_152696_)
<T extends BlockEntity>
BlockEntityTicker<T>CampfireBlock.getTicker(Level p_152755_, BlockState p_152756_, BlockEntityType<T> p_152757_)
<T extends BlockEntity>
BlockEntityTicker<T>ChestBlock.getTicker(Level p_153055_, BlockState p_153056_, BlockEntityType<T> p_153057_)
<T extends BlockEntity>
BlockEntityTicker<T>ConduitBlock.getTicker(Level p_153094_, BlockState p_153095_, BlockEntityType<T> p_153096_)
<T extends BlockEntity>
BlockEntityTicker<T>DaylightDetectorBlock.getTicker(Level p_153109_, BlockState p_153110_, BlockEntityType<T> p_153111_)
<T extends BlockEntity>
BlockEntityTicker<T>EnchantmentTableBlock.getTicker(Level p_153182_, BlockState p_153183_, BlockEntityType<T> p_153184_)
<T extends BlockEntity>
BlockEntityTicker<T>EnderChestBlock.getTicker(Level p_153199_, BlockState p_153200_, BlockEntityType<T> p_153201_)
<T extends BlockEntity>
BlockEntityTicker<T>EndGatewayBlock.getTicker(Level p_153189_, BlockState p_153190_, BlockEntityType<T> p_153191_)
default <T extends BlockEntity>
BlockEntityTicker<T>EntityBlock.getTicker(Level p_153212_, BlockState p_153213_, BlockEntityType<T> p_153214_)
<T extends BlockEntity>
BlockEntityTicker<T>FurnaceBlock.getTicker(Level p_153273_, BlockState p_153274_, BlockEntityType<T> p_153275_)
<T extends BlockEntity>
BlockEntityTicker<T>HopperBlock.getTicker(Level p_153378_, BlockState p_153379_, BlockEntityType<T> p_153380_)
<T extends BlockEntity>
BlockEntityTicker<T>SculkSensorBlock.getTicker(Level p_154401_, BlockState p_154402_, BlockEntityType<T> p_154403_)
<T extends BlockEntity>
BlockEntityTicker<T>ShulkerBoxBlock.getTicker(Level p_154543_, BlockState p_154544_, BlockEntityType<T> p_154545_)
<T extends BlockEntity>
BlockEntityTicker<T>SmokerBlock.getTicker(Level p_154640_, BlockState p_154641_, BlockEntityType<T> p_154642_)
<T extends BlockEntity>
BlockEntityTicker<T>SpawnerBlock.getTicker(Level p_154683_, BlockState p_154684_, BlockEntityType<T> p_154685_)
Modifier and TypeMethodDescriptionAbstractBannerBlock.newBlockEntity(BlockPos p_151892_, BlockState p_151893_)
AbstractSkullBlock.newBlockEntity(BlockPos p_151996_, BlockState p_151997_)
BarrelBlock.newBlockEntity(BlockPos p_152102_, BlockState p_152103_)
BeaconBlock.newBlockEntity(BlockPos p_152164_, BlockState p_152165_)
BedBlock.newBlockEntity(BlockPos p_152175_, BlockState p_152176_)
BeehiveBlock.newBlockEntity(BlockPos p_152184_, BlockState p_152185_)
BellBlock.newBlockEntity(BlockPos p_152198_, BlockState p_152199_)
BlastFurnaceBlock.newBlockEntity(BlockPos p_152386_, BlockState p_152387_)
BrewingStandBlock.newBlockEntity(BlockPos p_152698_, BlockState p_152699_)
CampfireBlock.newBlockEntity(BlockPos p_152759_, BlockState p_152760_)
ChestBlock.newBlockEntity(BlockPos p_153064_, BlockState p_153065_)
CommandBlock.newBlockEntity(BlockPos p_153083_, BlockState p_153084_)
ComparatorBlock.newBlockEntity(BlockPos p_153086_, BlockState p_153087_)
ConduitBlock.newBlockEntity(BlockPos p_153098_, BlockState p_153099_)
DaylightDetectorBlock.newBlockEntity(BlockPos p_153118_, BlockState p_153119_)
DispenserBlock.newBlockEntity(BlockPos p_153162_, BlockState p_153163_)
DropperBlock.newBlockEntity(BlockPos p_153179_, BlockState p_153180_)
EnchantmentTableBlock.newBlockEntity(BlockPos p_153186_, BlockState p_153187_)
EnderChestBlock.newBlockEntity(BlockPos p_153208_, BlockState p_153209_)
EndGatewayBlock.newBlockEntity(BlockPos p_153193_, BlockState p_153194_)
EndPortalBlock.newBlockEntity(BlockPos p_153196_, BlockState p_153197_)
EntityBlock.newBlockEntity(BlockPos p_153215_, BlockState p_153216_)
FurnaceBlock.newBlockEntity(BlockPos p_153277_, BlockState p_153278_)
HopperBlock.newBlockEntity(BlockPos p_153382_, BlockState p_153383_)
JigsawBlock.newBlockEntity(BlockPos p_153448_, BlockState p_153449_)
JukeboxBlock.newBlockEntity(BlockPos p_153451_, BlockState p_153452_)
LecternBlock.newBlockEntity(BlockPos p_153573_, BlockState p_153574_)
SculkSensorBlock.newBlockEntity(BlockPos p_154466_, BlockState p_154467_)
ShulkerBoxBlock.newBlockEntity(BlockPos p_154552_, BlockState p_154553_)
SignBlock.newBlockEntity(BlockPos p_154556_, BlockState p_154557_)
SmokerBlock.newBlockEntity(BlockPos p_154644_, BlockState p_154645_)
SpawnerBlock.newBlockEntity(BlockPos p_154687_, BlockState p_154688_)
StructureBlock.newBlockEntity(BlockPos p_154732_, BlockState p_154733_)
TrappedChestBlock.newBlockEntity(BlockPos p_154834_, BlockState p_154835_)
Modifier and TypeMethodDescriptionstatic void
Block.dropResources(BlockState p_49893_, LevelAccessor p_49894_, BlockPos p_49895_, BlockEntity p_49896_)
static void
Block.dropResources(BlockState p_49882_, Level p_49883_, BlockPos p_49884_, BlockEntity p_49885_, Entity p_49886_, ItemStack p_49887_)
Block.getDrops(BlockState p_49870_, ServerLevel p_49871_, BlockPos p_49872_, BlockEntity p_49873_)
Block.getDrops(BlockState p_49875_, ServerLevel p_49876_, BlockPos p_49877_, BlockEntity p_49878_, Entity p_49879_, ItemStack p_49880_)
void
BeehiveBlock.playerDestroy(Level p_49584_, Player p_49585_, BlockPos p_49586_, BlockState p_49587_, BlockEntity p_49588_, ItemStack p_49589_)
void
Block.playerDestroy(Level p_49827_, Player p_49828_, BlockPos p_49829_, BlockState p_49830_, BlockEntity p_49831_, ItemStack p_49832_)
void
DoublePlantBlock.playerDestroy(Level p_52865_, Player p_52866_, BlockPos p_52867_, BlockState p_52868_, BlockEntity p_52869_, ItemStack p_52870_)
void
IceBlock.playerDestroy(Level p_54157_, Player p_54158_, BlockPos p_54159_, BlockState p_54160_, BlockEntity p_54161_, ItemStack p_54162_)
void
TurtleEggBlock.playerDestroy(Level p_57771_, Player p_57772_, BlockPos p_57773_, BlockState p_57774_, BlockEntity p_57775_, ItemStack p_57776_)
-
Uses of BlockEntity in net.minecraft.world.level.block.entity
Modifier and TypeInterfaceDescriptioninterface
BlockEntityTicker<T extends BlockEntity>
class
BlockEntityType<T extends BlockEntity>
static interface
BlockEntityType.BlockEntitySupplier<T extends BlockEntity>
static class
BlockEntityType.Builder<T extends BlockEntity>
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionstatic <T extends BlockEntity>
BlockEntityType.Builder<T>BlockEntityType.Builder.of(BlockEntityType.BlockEntitySupplier<? extends T> p_155274_, Block... p_155275_)
private static <T extends BlockEntity>
BlockEntityType<T>BlockEntityType.register(String p_58957_, BlockEntityType.Builder<T> p_58958_)
Modifier and TypeMethodDescriptionstatic BlockEntity
BlockEntity.loadStatic(BlockPos p_155242_, BlockState p_155243_, CompoundTag p_155244_)
-
Uses of BlockEntity in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescription<T extends BlockEntity>
BlockEntityTicker<T>MovingPistonBlock.getTicker(Level p_155875_, BlockState p_155876_, BlockEntityType<T> p_155877_)
Modifier and TypeMethodDescriptionMovingPistonBlock.newBlockEntity(BlockPos p_155879_, BlockState p_155880_)
static BlockEntity
MovingPistonBlock.newMovingBlockEntity(BlockPos p_155882_, BlockState p_155883_, BlockState p_155884_, Direction p_155885_, boolean p_155886_, boolean p_155887_)
-
Uses of BlockEntity in net.minecraft.world.level.block.state
Modifier and TypeMethodDescription<T extends BlockEntity>
BlockEntityTicker<T>BlockBehaviour.BlockStateBase.getTicker(Level p_155945_, BlockEntityType<T> p_155946_)
-
Uses of BlockEntity in net.minecraft.world.level.block.state.pattern
-
Uses of BlockEntity in net.minecraft.world.level.chunk
Modifier and TypeClassDescription(package private) class
LevelChunk.BoundTickingBlockEntity<T extends BlockEntity>
Modifier and TypeFieldDescriptionprivate Map<BlockPos,BlockEntity>
LevelChunk.blockEntities
private Map<BlockPos,BlockEntity>
ProtoChunk.blockEntities
Modifier and TypeMethodDescriptionprivate <T extends BlockEntity>
voidLevelChunk.addGameEventListener(T p_156405_)
private <T extends BlockEntity>
TickingBlockEntityLevelChunk.createTicker(T p_156376_, BlockEntityTicker<T> p_156377_)
private <T extends BlockEntity>
voidLevelChunk.removeGameEventListener(T p_156397_)
private <T extends BlockEntity>
voidLevelChunk.updateBlockEntityTicker(T p_156407_)
Modifier and TypeMethodDescriptionprivate BlockEntity
LevelChunk.createBlockEntity(BlockPos p_62935_)
EmptyLevelChunk.getBlockEntity(BlockPos p_62609_, LevelChunk.EntityCreationType p_62610_)
ImposterProtoChunk.getBlockEntity(BlockPos p_62744_)
LevelChunk.getBlockEntity(BlockPos p_62912_)
LevelChunk.getBlockEntity(BlockPos p_62868_, LevelChunk.EntityCreationType p_62869_)
ProtoChunk.getBlockEntity(BlockPos p_63257_)
private BlockEntity
LevelChunk.promotePendingBlockEntity(BlockPos p_62871_, CompoundTag p_62872_)
Modifier and TypeMethodDescriptionvoid
EmptyLevelChunk.addAndRegisterBlockEntity(BlockEntity p_156346_)
void
LevelChunk.addAndRegisterBlockEntity(BlockEntity p_156391_)
private void
LevelChunk.onBlockEntityRemove(BlockEntity p_156401_)
void
ChunkAccess.setBlockEntity(BlockEntity p_156114_)
void
EmptyLevelChunk.setBlockEntity(BlockEntity p_156344_)
void
ImposterProtoChunk.setBlockEntity(BlockEntity p_156358_)
void
LevelChunk.setBlockEntity(BlockEntity p_156374_)
void
ProtoChunk.setBlockEntity(BlockEntity p_156488_)
-
Uses of BlockEntity in net.minecraft.world.level.storage.loot.parameters
Modifier and TypeFieldDescriptionstatic LootContextParam<BlockEntity>
LootContextParams.BLOCK_ENTITY
-
Uses of BlockEntity in net.minecraftforge.client.event
Modifier and TypeMethodDescription<T extends BlockEntity>
voidEntityRenderersEvent.RegisterRenderers.registerBlockEntityRenderer(BlockEntityType<? extends T> blockEntityType, BlockEntityRendererProvider<T> blockEntityRendererProvider)
Registers a block entity renderer. -
Uses of BlockEntity in net.minecraftforge.client.model
Modifier and TypeMethodDescriptionstatic void
ModelDataManager.requestModelDataRefresh(BlockEntity te)
-
Uses of BlockEntity in net.minecraftforge.client.model.animation
Modifier and TypeClassDescriptionclass
AnimationBlockEntityRenderer<T extends BlockEntity>
GenericBlockEntityRenderer
that works with the Forge model system and animations. -
Uses of BlockEntity in net.minecraftforge.common.extensions
-
Uses of BlockEntity in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionprivate static CompoundTag
BlockSnapshot.getTileNBT(BlockEntity te)
-
Uses of BlockEntity in net.minecraftforge.debug.block
Modifier and TypeClassDescriptionprivate static class
static class
private static class
Modifier and TypeMethodDescription<T extends BlockEntity>
BlockEntityTicker<T>BlockEntityOnLoadTest.TestBlock.getTicker(Level level, BlockState state, BlockEntityType<T> type)
Modifier and TypeMethodDescriptionBlockEntityOnLoadTest.TestBlock.newBlockEntity(BlockPos pos, BlockState state)
CustomSignsTest.CustomStandingSignBlock.newBlockEntity(BlockPos pos, BlockState state)
CustomSignsTest.CustomWallSignBlock.newBlockEntity(BlockPos pos, BlockState state)
FullPotsAccessorDemo.DioriteFlowerPotBlock.newBlockEntity(BlockPos pos, BlockState state)
-
Uses of BlockEntity in net.minecraftforge.fluids.capability
-
Uses of BlockEntity in net.minecraftforge.items
Modifier and TypeMethodDescriptionprivate static ItemStack
VanillaInventoryCodeHooks.insertStack(BlockEntity source, Object destination, IItemHandler destInventory, ItemStack stack, int slot)
Copied from TileEntityHopper#insertStack and added capability supportprivate static ItemStack
VanillaInventoryCodeHooks.putStackInInventoryAllSlots(BlockEntity source, Object destination, IItemHandler destInventory, ItemStack stack)
-
Uses of BlockEntity in net.minecraftforge.server.timings
Modifier and TypeFieldDescriptionstatic TimeTracker<BlockEntity>
TimeTracker.BLOCK_ENTITY_UPDATE
A tracker for timing tile entity update