Uses of Class
net.minecraft.block.entity.BlockEntity
Packages that use BlockEntity
Package
Description
-
Uses of BlockEntity in net.minecraft.block
Classes in net.minecraft.block with type parameters of type BlockEntityMethods in net.minecraft.block with type parameters of type BlockEntityModifier and TypeMethodDescriptionprotected static <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractFurnaceBlock.checkType(World world, BlockEntityType<T> givenType, BlockEntityType<? extends AbstractFurnaceBlockEntity> expectedType) protected static <E extends BlockEntity,A extends BlockEntity>
@Nullable BlockEntityTicker<A>BlockWithEntity.checkType(BlockEntityType<A> givenType, BlockEntityType<E> expectedType, BlockEntityTicker<? super E> ticker) Returns the ticker if the given type and expected type are the same, ornullif they are different.protected static <E extends BlockEntity,A extends BlockEntity>
@Nullable BlockEntityTicker<A>BlockWithEntity.checkType(BlockEntityType<A> givenType, BlockEntityType<E> expectedType, BlockEntityTicker<? super E> ticker) Returns the ticker if the given type and expected type are the same, ornullif they are different.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractBlock.AbstractBlockState.getBlockEntityTicker(World world, BlockEntityType<T> blockEntityType) default <T extends BlockEntity>
@Nullable GameEventListenerBlockEntityProvider.getGameEventListener(ServerWorld world, T blockEntity) <T extends BlockEntity>
@Nullable GameEventListenerSculkCatalystBlock.getGameEventListener(ServerWorld world, T blockEntity) <T extends BlockEntity>
@Nullable GameEventListenerSculkSensorBlock.getGameEventListener(ServerWorld world, T blockEntity) <T extends BlockEntity>
@Nullable GameEventListenerSculkShriekerBlock.getGameEventListener(ServerWorld world, T blockEntity) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractSkullBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeaconBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeehiveBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BellBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlastFurnaceBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) default <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlockEntityProvider.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BrewingStandBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>CampfireBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>ChestBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>ConduitBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>DaylightDetectorBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnchantingTableBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnderChestBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>EndGatewayBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>FurnaceBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>HopperBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>PistonExtensionBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkCatalystBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkSensorBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkShriekerBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>ShulkerBoxBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SmokerBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SpawnerBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> function, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) Methods in net.minecraft.block that return BlockEntityModifier and TypeMethodDescriptionAbstractBannerBlock.createBlockEntity(BlockPos pos, BlockState state) AbstractSignBlock.createBlockEntity(BlockPos pos, BlockState state) AbstractSkullBlock.createBlockEntity(BlockPos pos, BlockState state) BarrelBlock.createBlockEntity(BlockPos pos, BlockState state) BeaconBlock.createBlockEntity(BlockPos pos, BlockState state) BedBlock.createBlockEntity(BlockPos pos, BlockState state) BeehiveBlock.createBlockEntity(BlockPos pos, BlockState state) BellBlock.createBlockEntity(BlockPos pos, BlockState state) BlastFurnaceBlock.createBlockEntity(BlockPos pos, BlockState state) BlockEntityProvider.createBlockEntity(BlockPos pos, BlockState state) BrewingStandBlock.createBlockEntity(BlockPos pos, BlockState state) CampfireBlock.createBlockEntity(BlockPos pos, BlockState state) ChestBlock.createBlockEntity(BlockPos pos, BlockState state) CommandBlock.createBlockEntity(BlockPos pos, BlockState state) ComparatorBlock.createBlockEntity(BlockPos pos, BlockState state) ConduitBlock.createBlockEntity(BlockPos pos, BlockState state) DaylightDetectorBlock.createBlockEntity(BlockPos pos, BlockState state) DispenserBlock.createBlockEntity(BlockPos pos, BlockState state) DropperBlock.createBlockEntity(BlockPos pos, BlockState state) EnchantingTableBlock.createBlockEntity(BlockPos pos, BlockState state) EnderChestBlock.createBlockEntity(BlockPos pos, BlockState state) EndGatewayBlock.createBlockEntity(BlockPos pos, BlockState state) EndPortalBlock.createBlockEntity(BlockPos pos, BlockState state) FurnaceBlock.createBlockEntity(BlockPos pos, BlockState state) HopperBlock.createBlockEntity(BlockPos pos, BlockState state) JigsawBlock.createBlockEntity(BlockPos pos, BlockState state) JukeboxBlock.createBlockEntity(BlockPos pos, BlockState state) LecternBlock.createBlockEntity(BlockPos pos, BlockState state) PistonExtensionBlock.createBlockEntity(BlockPos pos, BlockState state) SculkCatalystBlock.createBlockEntity(BlockPos pos, BlockState state) SculkSensorBlock.createBlockEntity(BlockPos pos, BlockState state) SculkShriekerBlock.createBlockEntity(BlockPos pos, BlockState state) ShulkerBoxBlock.createBlockEntity(BlockPos pos, BlockState state) SmokerBlock.createBlockEntity(BlockPos pos, BlockState state) SpawnerBlock.createBlockEntity(BlockPos pos, BlockState state) StructureBlock.createBlockEntity(BlockPos pos, BlockState state) TrappedChestBlock.createBlockEntity(BlockPos pos, BlockState state) static BlockEntityPistonExtensionBlock.createBlockEntityPiston(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) Methods in net.minecraft.block with parameters of type BlockEntityModifier and TypeMethodDescriptionvoidBeehiveBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidIceBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidTallPlantBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidTurtleEggBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) static voidBlock.dropStacks(BlockState state, WorldAccess world, BlockPos pos, @Nullable BlockEntity blockEntity) static voidBlock.dropStacks(BlockState state, World world, BlockPos pos, @Nullable BlockEntity blockEntity, Entity entity, ItemStack stack) Block.getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity) Block.getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity entity, ItemStack stack) -
Uses of BlockEntity in net.minecraft.block.entity
Classes in net.minecraft.block.entity with type parameters of type BlockEntityModifier and TypeInterfaceDescriptioninterfaceBlockEntityTicker<T extends BlockEntity>classBlockEntityType<T extends BlockEntity>private static interfaceBlockEntityType.BlockEntityFactory<T extends BlockEntity>static final classBlockEntityType.Builder<T extends BlockEntity>Subclasses of BlockEntity in net.minecraft.block.entityModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassA piston block entity represents the block being pushed by a piston.classclassclassclassclassclassclassclassclassMethods in net.minecraft.block.entity with type parameters of type BlockEntityModifier and TypeMethodDescriptionstatic <T extends BlockEntity>
BlockEntityType.Builder<T>BlockEntityType.Builder.create(BlockEntityType.BlockEntityFactory<? extends T> factory, Block[] blocks) private static <T extends BlockEntity>
BlockEntityType<T>BlockEntityType.create(String id, BlockEntityType.Builder<T> builder) Methods in net.minecraft.block.entity that return BlockEntityModifier and TypeMethodDescriptionstatic @Nullable BlockEntityBlockEntity.createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt) -
Uses of BlockEntity in net.minecraft.block.pattern
Fields in net.minecraft.block.pattern declared as BlockEntityMethods in net.minecraft.block.pattern that return BlockEntity -
Uses of BlockEntity in net.minecraft.client
Methods in net.minecraft.client with parameters of type BlockEntityModifier and TypeMethodDescriptionprivate ItemStackMinecraftClient.addBlockEntityNbt(ItemStack stack, BlockEntity blockEntity) -
Uses of BlockEntity in net.minecraft.client.render
Fields in net.minecraft.client.render with type parameters of type BlockEntityModifier and TypeFieldDescriptionprivate final Set<BlockEntity>WorldRenderer.noCullingBlockEntitiesMethods in net.minecraft.client.render with parameters of type BlockEntityModifier and TypeMethodDescriptionstatic SpriteIdentifierTexturedRenderLayers.getChestTexture(BlockEntity blockEntity, ChestType type, boolean christmas) Method parameters in net.minecraft.client.render with type arguments of type BlockEntityModifier and TypeMethodDescriptionvoidWorldRenderer.updateNoCullingBlockEntities(Collection<BlockEntity> removed, Collection<BlockEntity> added) -
Uses of BlockEntity in net.minecraft.client.render.block.entity
Classes in net.minecraft.client.render.block.entity with type parameters of type BlockEntityModifier and TypeInterfaceDescriptioninterfaceBlockEntityRenderer<T extends BlockEntity>interfaceBlockEntityRendererFactory<T extends BlockEntity>classChestBlockEntityRenderer<T extends BlockEntity & LidOpenable>classLightmapCoordinatesRetriever<S extends BlockEntity>Methods in net.minecraft.client.render.block.entity with type parameters of type BlockEntityModifier and TypeMethodDescription<E extends BlockEntity>
@Nullable BlockEntityRenderer<E>BlockEntityRenderDispatcher.get(E blockEntity) private static <T extends BlockEntity>
voidBlockEntityRendererFactories.register(BlockEntityType<? extends T> type, BlockEntityRendererFactory<T> factory) <E extends BlockEntity>
voidBlockEntityRenderDispatcher.render(E blockEntity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers) private static <T extends BlockEntity>
voidBlockEntityRenderDispatcher.render(BlockEntityRenderer<T> renderer, T blockEntity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers) <E extends BlockEntity>
booleanBlockEntityRenderDispatcher.renderEntity(E entity, MatrixStack matrix, VertexConsumerProvider vertexConsumerProvider, int light, int overlay) Methods in net.minecraft.client.render.block.entity with parameters of type BlockEntityModifier and TypeMethodDescriptionprivate static voidBlockEntityRenderDispatcher.runReported(BlockEntity blockEntity, Runnable runnable) -
Uses of BlockEntity in net.minecraft.client.render.chunk
Fields in net.minecraft.client.render.chunk with type parameters of type BlockEntityModifier and TypeFieldDescriptionprivate final Set<BlockEntity>ChunkBuilder.BuiltChunk.blockEntitiesfinal List<BlockEntity>ChunkBuilder.BuiltChunk.RebuildTask.RenderData.blockEntities(package private) final List<BlockEntity>ChunkBuilder.ChunkData.blockEntitiesprivate final Map<BlockPos,BlockEntity> RenderedChunk.blockEntitiesfinal List<BlockEntity>ChunkBuilder.BuiltChunk.RebuildTask.RenderData.noCullingBlockEntitiesMethods in net.minecraft.client.render.chunk with type parameters of type BlockEntityModifier and TypeMethodDescriptionprivate <E extends BlockEntity>
voidChunkBuilder.BuiltChunk.RebuildTask.addBlockEntity(ChunkBuilder.BuiltChunk.RebuildTask.RenderData renderData, E blockEntity) Methods in net.minecraft.client.render.chunk that return BlockEntityModifier and TypeMethodDescriptionChunkRendererRegion.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.RenderedChunk.getBlockEntity(BlockPos pos) Methods in net.minecraft.client.render.chunk that return types with arguments of type BlockEntityMethod parameters in net.minecraft.client.render.chunk with type arguments of type BlockEntityModifier and TypeMethodDescription(package private) voidChunkBuilder.BuiltChunk.setNoCullingBlockEntities(Collection<BlockEntity> collection) -
Uses of BlockEntity in net.minecraft.command
Fields in net.minecraft.command declared as BlockEntityConstructors in net.minecraft.command with parameters of type BlockEntity -
Uses of BlockEntity in net.minecraft.loot.context
Fields in net.minecraft.loot.context with type parameters of type BlockEntityModifier and TypeFieldDescriptionstatic final LootContextParameter<BlockEntity>LootContextParameters.BLOCK_ENTITY -
Uses of BlockEntity in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play with parameters of type BlockEntityModifier and TypeMethodDescriptionstatic BlockEntityUpdateS2CPacketBlockEntityUpdateS2CPacket.create(BlockEntity blockEntity) static BlockEntityUpdateS2CPacketBlockEntityUpdateS2CPacket.create(BlockEntity blockEntity, Function<BlockEntity, NbtCompound> nbtGetter) (package private) static ChunkData.BlockEntityDataChunkData.BlockEntityData.of(BlockEntity blockEntity) Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type BlockEntityModifier and TypeMethodDescriptionstatic BlockEntityUpdateS2CPacketBlockEntityUpdateS2CPacket.create(BlockEntity blockEntity, Function<BlockEntity, NbtCompound> nbtGetter) -
Uses of BlockEntity in net.minecraft.screen
Methods in net.minecraft.screen with parameters of type BlockEntityModifier and TypeMethodDescriptionstatic intScreenHandler.calculateComparatorOutput(@Nullable BlockEntity entity) -
Uses of BlockEntity in net.minecraft.test
Methods in net.minecraft.test that return BlockEntity -
Uses of BlockEntity in net.minecraft.util.math
Methods in net.minecraft.util.math with type parameters of type BlockEntityModifier and TypeMethodDescription<T extends BlockEntity>
TBlockPointer.getBlockEntity()<T extends BlockEntity>
TBlockPointerImpl.getBlockEntity() -
Uses of BlockEntity in net.minecraft.world
Methods in net.minecraft.world with type parameters of type BlockEntityModifier and TypeMethodDescriptiondefault <T extends BlockEntity>
Optional<T>BlockView.getBlockEntity(BlockPos pos, BlockEntityType<T> type) default <T extends BlockEntity>
Optional<T>RegistryWorldView.getBlockEntity(BlockPos pos, BlockEntityType<T> type) <T extends BlockEntity>
Optional<T>TestableWorld.getBlockEntity(BlockPos pos, BlockEntityType<T> type) Methods in net.minecraft.world that return BlockEntityModifier and TypeMethodDescriptionBlockView.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.ChunkRegion.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.EmptyBlockView.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.World.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.Methods in net.minecraft.world with parameters of type BlockEntity -
Uses of BlockEntity in net.minecraft.world.chunk
Classes in net.minecraft.world.chunk with type parameters of type BlockEntityModifier and TypeClassDescriptionprivate classFields in net.minecraft.world.chunk declared as BlockEntityModifier and TypeFieldDescriptionprivate final TWorldChunk.DirectBlockEntityTickInvoker.blockEntityFields in net.minecraft.world.chunk with type parameters of type BlockEntityMethods in net.minecraft.world.chunk with type parameters of type BlockEntityModifier and TypeMethodDescriptionprivate <T extends BlockEntity>
voidWorldChunk.removeGameEventListener(T blockEntity, ServerWorld serverWorld) private <T extends BlockEntity>
voidWorldChunk.updateGameEventListener(T blockEntity, ServerWorld serverWorld) private <T extends BlockEntity>
voidWorldChunk.updateTicker(T blockEntity) private <T extends BlockEntity>
BlockEntityTickInvokerWorldChunk.wrapTicker(T blockEntity, BlockEntityTicker<T> blockEntityTicker) Methods in net.minecraft.world.chunk that return BlockEntityModifier and TypeMethodDescriptionprivate @Nullable BlockEntityWorldChunk.createBlockEntity(BlockPos pos) ChunkCache.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.EmptyChunk.getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType) ProtoChunk.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.ReadOnlyChunk.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.WorldChunk.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.WorldChunk.getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType) private @Nullable BlockEntityWorldChunk.loadBlockEntity(BlockPos pos, NbtCompound nbt) Methods in net.minecraft.world.chunk that return types with arguments of type BlockEntityMethods in net.minecraft.world.chunk with parameters of type BlockEntityModifier and TypeMethodDescriptionvoidEmptyChunk.addBlockEntity(BlockEntity blockEntity) voidWorldChunk.addBlockEntity(BlockEntity blockEntity) abstract voidChunk.setBlockEntity(BlockEntity blockEntity) voidEmptyChunk.setBlockEntity(BlockEntity blockEntity) voidProtoChunk.setBlockEntity(BlockEntity blockEntity) voidReadOnlyChunk.setBlockEntity(BlockEntity blockEntity) voidWorldChunk.setBlockEntity(BlockEntity blockEntity)