Uses of Class
net.minecraft.world.level.block.entity.BlockEntity
Packages that use BlockEntity
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of BlockEntity in net.minecraft.client
Methods in net.minecraft.client with parameters of type BlockEntityModifier and TypeMethodDescriptionprivate voidMinecraft.addCustomNbtData(ItemStack p_263370_, BlockEntity p_263368_) -
Uses of BlockEntity in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer with type parameters of type BlockEntityModifier and TypeFieldDescriptionprivate final Set<BlockEntity>LevelRenderer.globalBlockEntitiesMethods in net.minecraft.client.renderer with parameters of type BlockEntityModifier and TypeMethodDescriptionstatic MaterialSheets.chooseMaterial(BlockEntity p_110768_, ChestType p_110769_, boolean p_110770_) Method parameters in net.minecraft.client.renderer with type arguments of type BlockEntityModifier and TypeMethodDescriptionvoidLevelRenderer.updateGlobalBlockEntities(Collection<BlockEntity> p_109763_, Collection<BlockEntity> p_109764_) -
Uses of BlockEntity in net.minecraft.client.renderer.blockentity
Classes in net.minecraft.client.renderer.blockentity with type parameters of type BlockEntityModifier and TypeInterfaceDescriptioninterfaceBlockEntityRenderer<T extends BlockEntity>interfaceBlockEntityRendererProvider<T extends BlockEntity>classBrightnessCombiner<S extends BlockEntity>classChestRenderer<T extends BlockEntity & LidBlockEntity>Methods in net.minecraft.client.renderer.blockentity with type parameters of type BlockEntityModifier 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_) Methods in net.minecraft.client.renderer.blockentity with parameters of type BlockEntityModifier and TypeMethodDescriptionprivate static voidBlockEntityRenderDispatcher.tryRender(BlockEntity p_112279_, Runnable p_112280_) -
Uses of BlockEntity in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk with type parameters of type BlockEntityModifier and TypeFieldDescriptionfinal List<BlockEntity>ChunkRenderDispatcher.RenderChunk.RebuildTask.CompileResults.blockEntitiesprivate final Map<BlockPos,BlockEntity> RenderChunk.blockEntitiesprivate final Set<BlockEntity>ChunkRenderDispatcher.RenderChunk.globalBlockEntitiesfinal List<BlockEntity>ChunkRenderDispatcher.RenderChunk.RebuildTask.CompileResults.globalBlockEntities(package private) final List<BlockEntity>ChunkRenderDispatcher.CompiledChunk.renderableBlockEntitiesMethods in net.minecraft.client.renderer.chunk with type parameters of type BlockEntityModifier and TypeMethodDescriptionprivate <E extends BlockEntity>
voidChunkRenderDispatcher.RenderChunk.RebuildTask.handleBlockEntity(ChunkRenderDispatcher.RenderChunk.RebuildTask.CompileResults p_234477_, E p_234478_) Methods in net.minecraft.client.renderer.chunk that return BlockEntityModifier and TypeMethodDescriptionRenderChunk.getBlockEntity(BlockPos p_200452_) RenderChunkRegion.getBlockEntity(BlockPos p_112945_) Methods in net.minecraft.client.renderer.chunk that return types with arguments of type BlockEntityModifier and TypeMethodDescriptionChunkRenderDispatcher.CompiledChunk.getRenderableBlockEntities()Method parameters in net.minecraft.client.renderer.chunk with type arguments of type BlockEntityModifier and TypeMethodDescription(package private) voidChunkRenderDispatcher.RenderChunk.updateGlobalBlockEntities(Collection<BlockEntity> p_234466_) -
Uses of BlockEntity in net.minecraft.core
Methods in net.minecraft.core with type parameters of type BlockEntityModifier and TypeMethodDescription<T extends BlockEntity>
TBlockSource.getEntity()<T extends BlockEntity>
TBlockSourceImpl.getEntity() -
Uses of BlockEntity in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework that return BlockEntity -
Uses of BlockEntity in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with parameters of type BlockEntityModifier and TypeMethodDescriptionClientboundBlockEntityDataPacket.create(BlockEntity p_195641_) ClientboundBlockEntityDataPacket.create(BlockEntity p_195643_, Function<BlockEntity, CompoundTag> p_195644_) (package private) static ClientboundLevelChunkPacketData.BlockEntityInfoClientboundLevelChunkPacketData.BlockEntityInfo.create(BlockEntity p_195692_) Method parameters in net.minecraft.network.protocol.game with type arguments of type BlockEntityModifier and TypeMethodDescriptionClientboundBlockEntityDataPacket.create(BlockEntity p_195643_, Function<BlockEntity, CompoundTag> p_195644_) -
Uses of BlockEntity in net.minecraft.server.commands.data
Fields in net.minecraft.server.commands.data declared as BlockEntityConstructors in net.minecraft.server.commands.data with parameters of type BlockEntity -
Uses of BlockEntity in net.minecraft.server.level
Methods in net.minecraft.server.level that return BlockEntity -
Uses of BlockEntity in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory with parameters of type BlockEntityModifier and TypeMethodDescriptionstatic intAbstractContainerMenu.getRedstoneSignalFromBlockEntity(BlockEntity p_38919_) -
Uses of BlockEntity in net.minecraft.world.level
Fields in net.minecraft.world.level with type parameters of type BlockEntityModifier and TypeFieldDescriptionprivate final ArrayList<BlockEntity>Level.freshBlockEntitiesprivate final ArrayList<BlockEntity>Methods in net.minecraft.world.level with type parameters of type BlockEntityModifier 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_) Methods in net.minecraft.world.level that return BlockEntityModifier and TypeMethodDescriptionBlockGetter.getBlockEntity(BlockPos p_45570_) EmptyBlockGetter.getBlockEntity(BlockPos p_45867_) Level.getBlockEntity(BlockPos p_46716_) PathNavigationRegion.getBlockEntity(BlockPos p_47180_) BaseSpawner.getSpawnerBlockEntity()Methods in net.minecraft.world.level with parameters of type BlockEntityMethod parameters in net.minecraft.world.level with type arguments of type BlockEntityModifier and TypeMethodDescriptionvoidLevel.addFreshBlockEntities(Collection<BlockEntity> beList) -
Uses of BlockEntity in net.minecraft.world.level.block
Classes in net.minecraft.world.level.block with type parameters of type BlockEntityMethods in net.minecraft.world.level.block with type parameters of type BlockEntityModifier 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(ServerLevel p_221121_, T p_221122_) <T extends BlockEntity>
GameEventListenerSculkCatalystBlock.getListener(ServerLevel p_222092_, T p_222093_) <T extends BlockEntity>
GameEventListenerSculkSensorBlock.getListener(ServerLevel p_222123_, T p_222124_) <T extends BlockEntity>
GameEventListenerSculkShriekerBlock.getListener(ServerLevel p_222165_, T p_222166_) <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>JukeboxBlock.getTicker(Level p_239682_, BlockState p_239683_, BlockEntityType<T> p_239684_) <T extends BlockEntity>
BlockEntityTicker<T>SculkCatalystBlock.getTicker(Level p_222100_, BlockState p_222101_, BlockEntityType<T> p_222102_) <T extends BlockEntity>
BlockEntityTicker<T>SculkSensorBlock.getTicker(Level p_154401_, BlockState p_154402_, BlockEntityType<T> p_154403_) <T extends BlockEntity>
BlockEntityTicker<T>SculkShriekerBlock.getTicker(Level p_222173_, BlockState p_222174_, BlockEntityType<T> p_222175_) <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_) Methods in net.minecraft.world.level.block that return BlockEntityModifier 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_) CeilingHangingSignBlock.newBlockEntity(BlockPos p_249338_, BlockState p_250706_) ChestBlock.newBlockEntity(BlockPos p_153064_, BlockState p_153065_) @Nullable BlockEntityChiseledBookShelfBlock.newBlockEntity(BlockPos p_250440_, BlockState p_248729_) 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_) SculkCatalystBlock.newBlockEntity(BlockPos p_222117_, BlockState p_222118_) SculkSensorBlock.newBlockEntity(BlockPos p_154466_, BlockState p_154467_) SculkShriekerBlock.newBlockEntity(BlockPos p_222213_, BlockState p_222214_) 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_) WallHangingSignBlock.newBlockEntity(BlockPos p_250745_, BlockState p_250905_) Methods in net.minecraft.world.level.block with parameters of type BlockEntityModifier and TypeMethodDescriptionstatic voidBlock.dropResources(BlockState p_49893_, LevelAccessor p_49894_, BlockPos p_49895_, BlockEntity p_49896_) static voidBlock.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_) voidBeehiveBlock.playerDestroy(Level p_49584_, Player p_49585_, BlockPos p_49586_, BlockState p_49587_, BlockEntity p_49588_, ItemStack p_49589_) voidBlock.playerDestroy(Level p_49827_, Player p_49828_, BlockPos p_49829_, BlockState p_49830_, BlockEntity p_49831_, ItemStack p_49832_) voidDoublePlantBlock.playerDestroy(Level p_52865_, Player p_52866_, BlockPos p_52867_, BlockState p_52868_, BlockEntity p_52869_, ItemStack p_52870_) voidIceBlock.playerDestroy(Level p_54157_, Player p_54158_, BlockPos p_54159_, BlockState p_54160_, BlockEntity p_54161_, ItemStack p_54162_) voidTurtleEggBlock.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
Classes in net.minecraft.world.level.block.entity with type parameters of type BlockEntityModifier and TypeInterfaceDescriptioninterfaceBlockEntityTicker<T extends BlockEntity>classBlockEntityType<T extends BlockEntity>static interfaceBlockEntityType.BlockEntitySupplier<T extends BlockEntity>static final classBlockEntityType.Builder<T extends BlockEntity>Subclasses of BlockEntity in net.minecraft.world.level.block.entityModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassMethods in net.minecraft.world.level.block.entity with type parameters of type BlockEntityModifier 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_) Methods in net.minecraft.world.level.block.entity that return BlockEntityModifier and TypeMethodDescriptionstatic BlockEntityBlockEntity.loadStatic(BlockPos p_155242_, BlockState p_155243_, CompoundTag p_155244_) -
Uses of BlockEntity in net.minecraft.world.level.block.piston
Subclasses of BlockEntity in net.minecraft.world.level.block.pistonMethods in net.minecraft.world.level.block.piston with type parameters of type BlockEntityModifier and TypeMethodDescription<T extends BlockEntity>
BlockEntityTicker<T>MovingPistonBlock.getTicker(Level p_155875_, BlockState p_155876_, BlockEntityType<T> p_155877_) Methods in net.minecraft.world.level.block.piston that return BlockEntityModifier and TypeMethodDescriptionMovingPistonBlock.newBlockEntity(BlockPos p_155879_, BlockState p_155880_) static BlockEntityMovingPistonBlock.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
Methods in net.minecraft.world.level.block.state with type parameters of type BlockEntityModifier 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
Fields in net.minecraft.world.level.block.state.pattern declared as BlockEntityMethods in net.minecraft.world.level.block.state.pattern that return BlockEntity -
Uses of BlockEntity in net.minecraft.world.level.chunk
Classes in net.minecraft.world.level.chunk with type parameters of type BlockEntityModifier and TypeClassDescription(package private) classLevelChunk.BoundTickingBlockEntity<T extends BlockEntity>Fields in net.minecraft.world.level.chunk declared as BlockEntityFields in net.minecraft.world.level.chunk with type parameters of type BlockEntityModifier and TypeFieldDescriptionprotected final Map<BlockPos,BlockEntity> ChunkAccess.blockEntitiesMethods in net.minecraft.world.level.chunk with type parameters of type BlockEntityModifier and TypeMethodDescriptionprivate <T extends BlockEntity>
voidLevelChunk.addGameEventListener(T p_223416_, ServerLevel p_223417_) private <T extends BlockEntity>
TickingBlockEntityLevelChunk.createTicker(T p_156376_, BlockEntityTicker<T> p_156377_) private <T extends BlockEntity>
voidLevelChunk.removeGameEventListener(T p_223413_, ServerLevel p_223414_) private <T extends BlockEntity>
voidLevelChunk.updateBlockEntityTicker(T p_156407_) Methods in net.minecraft.world.level.chunk that return BlockEntityModifier and TypeMethodDescriptionprivate BlockEntityLevelChunk.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 BlockEntityLevelChunk.promotePendingBlockEntity(BlockPos p_62871_, CompoundTag p_62872_) Methods in net.minecraft.world.level.chunk that return types with arguments of type BlockEntityMethods in net.minecraft.world.level.chunk with parameters of type BlockEntityModifier and TypeMethodDescriptionvoidEmptyLevelChunk.addAndRegisterBlockEntity(BlockEntity p_156346_) voidLevelChunk.addAndRegisterBlockEntity(BlockEntity p_156391_) abstract voidChunkAccess.setBlockEntity(BlockEntity p_156114_) voidEmptyLevelChunk.setBlockEntity(BlockEntity p_156344_) voidImposterProtoChunk.setBlockEntity(BlockEntity p_156358_) voidLevelChunk.setBlockEntity(BlockEntity p_156374_) voidProtoChunk.setBlockEntity(BlockEntity p_156488_) -
Uses of BlockEntity in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters with type parameters of type BlockEntityModifier and TypeFieldDescriptionstatic final LootContextParam<BlockEntity>LootContextParams.BLOCK_ENTITY -
Uses of BlockEntity in net.minecraftforge.client.event
Methods in net.minecraftforge.client.event with type parameters of type BlockEntityModifier and TypeMethodDescription<T extends BlockEntity>
voidEntityRenderersEvent.RegisterRenderers.registerBlockEntityRenderer(BlockEntityType<? extends T> blockEntityType, BlockEntityRendererProvider<T> blockEntityRendererProvider) Registers a block entity renderer for the given block entity type. -
Uses of BlockEntity in net.minecraftforge.client.model.data
Methods in net.minecraftforge.client.model.data with parameters of type BlockEntityModifier and TypeMethodDescriptionvoidModelDataManager.requestRefresh(@NotNull BlockEntity blockEntity) -
Uses of BlockEntity in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return BlockEntityModifier and TypeMethodDescriptiondefault @Nullable BlockEntityIForgeBlockGetter.getExistingBlockEntity(BlockPos pos) Get theBlockEntityat the given position if it exists.private BlockEntityIForgeBlockEntity.self() -
Uses of BlockEntity in net.minecraftforge.common.util
Methods in net.minecraftforge.common.util that return BlockEntityMethods in net.minecraftforge.common.util with parameters of type BlockEntityModifier and TypeMethodDescriptionprivate static @Nullable CompoundTagBlockSnapshot.getBlockEntityTag(@Nullable BlockEntity te) -
Uses of BlockEntity in net.minecraftforge.debug.block
Subclasses of BlockEntity in net.minecraftforge.debug.blockModifier and TypeClassDescriptionprivate static classprivate static classstatic classstatic classprivate static classMethods in net.minecraftforge.debug.block with type parameters of type BlockEntityModifier and TypeMethodDescription<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlockEntityOnLoadTest.TestBlock.getTicker(Level level, BlockState state, BlockEntityType<T> type) Methods in net.minecraftforge.debug.block that return BlockEntityModifier and TypeMethodDescription@Nullable BlockEntityBlockEntityOnLoadTest.TestBlock.newBlockEntity(BlockPos pos, BlockState state) CustomHeadTest.CustomSkullBlock.newBlockEntity(BlockPos pos, BlockState state) CustomHeadTest.CustomWallSkullBlock.newBlockEntity(BlockPos pos, BlockState state) CustomSignsTest.CustomCeilingHangingSignBlock.newBlockEntity(BlockPos pos, BlockState state) CustomSignsTest.CustomStandingSignBlock.newBlockEntity(BlockPos pos, BlockState state) CustomSignsTest.CustomWallHangingSignBlock.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.debug.client.model
Subclasses of BlockEntity in net.minecraftforge.debug.client.modelModifier and TypeClassDescriptionprivate static classstatic classMethods in net.minecraftforge.debug.client.model that return BlockEntityModifier and TypeMethodDescription@Nullable BlockEntityCustomTransformTypeTest.ItemHangerBlock.newBlockEntity(BlockPos pos, BlockState state) @Nullable BlockEntityMegaModelTest.TestBlock.newBlockEntity(BlockPos pos, BlockState state) -
Uses of BlockEntity in net.minecraftforge.debug.misc
Subclasses of BlockEntity in net.minecraftforge.debug.miscMethods in net.minecraftforge.debug.misc that return BlockEntityModifier and TypeMethodDescription@Nullable BlockEntityGameTestTest.EnergyBlock.newBlockEntity(BlockPos pos, BlockState state) -
Uses of BlockEntity in net.minecraftforge.fluids.capability
Subclasses of BlockEntity in net.minecraftforge.fluids.capability -
Uses of BlockEntity in net.minecraftforge.items
Methods in net.minecraftforge.items with parameters of type BlockEntityModifier and TypeMethodDescriptionprivate static ItemStackVanillaInventoryCodeHooks.insertStack(BlockEntity source, Object destination, IItemHandler destInventory, ItemStack stack, int slot) Copied from TileEntityHopper#insertStack and added capability supportprivate static ItemStackVanillaInventoryCodeHooks.putStackInInventoryAllSlots(BlockEntity source, Object destination, IItemHandler destInventory, ItemStack stack) -
Uses of BlockEntity in net.minecraftforge.server.timings
Fields in net.minecraftforge.server.timings with type parameters of type BlockEntityModifier and TypeFieldDescriptionstatic final TimeTracker<BlockEntity>TimeTracker.BLOCK_ENTITY_UPDATEA tracker for timing tile entity update