Uses of Class
net.minecraft.block.entity.BlockEntity
-
Uses of BlockEntity in net.minecraft.block
Classes in net.minecraft.block with type parameters of type BlockEntity Modifier and Type Class Description class
AbstractChestBlock<E extends BlockEntity>
-
Uses of BlockEntity in net.minecraft.block.entity
Classes in net.minecraft.block.entity with type parameters of type BlockEntity Modifier and Type Interface Description interface
BlockEntityTicker<T extends BlockEntity>
class
BlockEntityType<T extends BlockEntity>
(package private) static interface
BlockEntityType.BlockEntityFactory<T extends BlockEntity>
static class
BlockEntityType.Builder<T extends BlockEntity>
Methods in net.minecraft.block.entity with type parameters of type BlockEntity Modifier and Type Method Description static <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 BlockEntity Modifier and Type Method Description static @Nullable BlockEntity
BlockEntity. createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt)
-
Uses of BlockEntity in net.minecraft.block.pattern
Fields in net.minecraft.block.pattern declared as BlockEntity Modifier and Type Field Description private BlockEntity
CachedBlockPosition. blockEntity
Methods in net.minecraft.block.pattern that return BlockEntity Modifier and Type Method Description @Nullable BlockEntity
CachedBlockPosition. getBlockEntity()
-
Uses of BlockEntity in net.minecraft.client
Methods in net.minecraft.client with parameters of type BlockEntity Modifier and Type Method Description private ItemStack
MinecraftClient. addBlockEntityNbt(ItemStack stack, BlockEntity blockEntity)
-
Uses of BlockEntity in net.minecraft.client.render
Fields in net.minecraft.client.render with type parameters of type BlockEntity Modifier and Type Field Description private Set<BlockEntity>
WorldRenderer. noCullingBlockEntities
Methods in net.minecraft.client.render with parameters of type BlockEntity Modifier and Type Method Description static SpriteIdentifier
TexturedRenderLayers. getChestTexture(BlockEntity blockEntity, ChestType type, boolean christmas)
Method parameters in net.minecraft.client.render with type arguments of type BlockEntity Modifier and Type Method Description void
WorldRenderer. 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 BlockEntity Modifier and Type Interface Description interface
BlockEntityRenderer<T extends BlockEntity>
interface
BlockEntityRendererFactory<T extends BlockEntity>
class
ChestBlockEntityRenderer<T extends BlockEntity & ChestAnimationProgress>
class
LightmapCoordinatesRetriever<S extends BlockEntity>
Methods in net.minecraft.client.render.block.entity with type parameters of type BlockEntity Modifier and Type Method Description <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 matrix, VertexConsumerProvider vertexConsumerProvider)
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 BlockEntity Modifier and Type Method Description private static void
BlockEntityRenderDispatcher. 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 BlockEntity Modifier and Type Field Description private Set<BlockEntity>
ChunkBuilder.BuiltChunk. blockEntities
private List<BlockEntity>
ChunkBuilder.ChunkData. blockEntities
Methods in net.minecraft.client.render.chunk with type parameters of type BlockEntity Modifier and Type Method Description private <E extends BlockEntity>
voidChunkBuilder.BuiltChunk.RebuildTask. addBlockEntity(ChunkBuilder.ChunkData data, Set<BlockEntity> blockEntities, E blockEntity)
Methods in net.minecraft.client.render.chunk that return BlockEntity Modifier and Type Method Description @Nullable BlockEntity
ChunkRendererRegion. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
ChunkRendererRegion. getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
Methods in net.minecraft.client.render.chunk that return types with arguments of type BlockEntity Modifier and Type Method Description List<BlockEntity>
ChunkBuilder.ChunkData. getBlockEntities()
private Set<BlockEntity>
ChunkBuilder.BuiltChunk.RebuildTask. render(float cameraX, float cameraY, float cameraZ, ChunkBuilder.ChunkData data, BlockBufferBuilderStorage buffers)
Method parameters in net.minecraft.client.render.chunk with type arguments of type BlockEntity Modifier and Type Method Description private <E extends BlockEntity>
voidChunkBuilder.BuiltChunk.RebuildTask. addBlockEntity(ChunkBuilder.ChunkData data, Set<BlockEntity> blockEntities, E blockEntity)
private void
ChunkBuilder.BuiltChunk. setNoCullingBlockEntities(Set<BlockEntity> noCullingBlockEntities)
-
Uses of BlockEntity in net.minecraft.command
Fields in net.minecraft.command declared as BlockEntity Modifier and Type Field Description private BlockEntity
BlockDataObject. blockEntity
Constructors in net.minecraft.command with parameters of type BlockEntity Constructor Description BlockDataObject(BlockEntity blockEntity, BlockPos pos)
-
Uses of BlockEntity in net.minecraft.loot.context
Fields in net.minecraft.loot.context with type parameters of type BlockEntity Modifier and Type Field Description static LootContextParameter<BlockEntity>
LootContextParameters. BLOCK_ENTITY
-
Uses of BlockEntity in net.minecraft.screen
Methods in net.minecraft.screen with parameters of type BlockEntity Modifier and Type Method Description static int
ScreenHandler. calculateComparatorOutput(@Nullable BlockEntity entity)
-
Uses of BlockEntity in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type BlockEntity Modifier and Type Method Description private void
ServerPlayerEntity. sendBlockEntityUpdate(BlockEntity blockEntity)
-
Uses of BlockEntity in net.minecraft.test
Methods in net.minecraft.test that return BlockEntity Modifier and Type Method Description @Nullable BlockEntity
StartupParameter. method_36014(BlockPos blockPos)
-
Uses of BlockEntity in net.minecraft.util.math
Methods in net.minecraft.util.math with type parameters of type BlockEntity Modifier and Type Method Description <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 BlockEntity Modifier and Type Method Description default <T extends BlockEntity>
Optional<T>BlockView. method_35230(BlockPos blockPos, BlockEntityType<T> blockEntityType)
default <T extends BlockEntity>
Optional<T>RegistryWorldView. method_35230(BlockPos blockPos, BlockEntityType<T> blockEntityType)
<T extends BlockEntity>
Optional<T>TestableWorld. method_35230(BlockPos blockPos, BlockEntityType<T> blockEntityType)
Methods in net.minecraft.world that return BlockEntity Modifier and Type Method Description @Nullable BlockEntity
BlockView. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
ChunkRegion. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
EmptyBlockView. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
World. getBlockEntity(BlockPos pos)
Methods in net.minecraft.world with parameters of type BlockEntity Modifier and Type Method Description void
World. addBlockEntity(BlockEntity blockEntity)
-
Uses of BlockEntity in net.minecraft.world.chunk
Classes in net.minecraft.world.chunk with type parameters of type BlockEntity Modifier and Type Class Description (package private) class
WorldChunk.DirectBlockEntityTickInvoker<T extends BlockEntity>
Fields in net.minecraft.world.chunk declared as BlockEntity Modifier and Type Field Description private T
WorldChunk.DirectBlockEntityTickInvoker. blockEntity
Fields in net.minecraft.world.chunk with type parameters of type BlockEntity Modifier and Type Field Description private Map<BlockPos,BlockEntity>
ProtoChunk. blockEntities
private Map<BlockPos,BlockEntity>
WorldChunk. blockEntities
Methods in net.minecraft.world.chunk with type parameters of type BlockEntity Modifier and Type Method Description private <T extends BlockEntity>
voidWorldChunk. method_32918(T t)
private <T extends BlockEntity>
voidWorldChunk. updateGameEventListener(T blockEntity)
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 BlockEntity Modifier and Type Method Description private @Nullable BlockEntity
WorldChunk. createBlockEntity(BlockPos pos)
@Nullable BlockEntity
ChunkCache. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
EmptyChunk. getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
@Nullable BlockEntity
ProtoChunk. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
ReadOnlyChunk. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
WorldChunk. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
WorldChunk. getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
private @Nullable BlockEntity
WorldChunk. loadBlockEntity(BlockPos pos, NbtCompound nbt)
Methods in net.minecraft.world.chunk that return types with arguments of type BlockEntity Modifier and Type Method Description Map<BlockPos,BlockEntity>
ProtoChunk. getBlockEntities()
Map<BlockPos,BlockEntity>
WorldChunk. getBlockEntities()
Methods in net.minecraft.world.chunk with parameters of type BlockEntity Modifier and Type Method Description void
EmptyChunk. addBlockEntity(BlockEntity blockEntity)
void
WorldChunk. addBlockEntity(BlockEntity blockEntity)
private void
WorldChunk. removeBlockEntity(BlockEntity blockEntity)
void
Chunk. setBlockEntity(BlockEntity blockEntity)
void
EmptyChunk. setBlockEntity(BlockEntity blockEntity)
void
ProtoChunk. setBlockEntity(BlockEntity blockEntity)
void
ReadOnlyChunk. setBlockEntity(BlockEntity blockEntity)
void
WorldChunk. setBlockEntity(BlockEntity blockEntity)