Package net.minecraft.block.entity
package net.minecraft.block.entity
-
ClassDescriptionA block entity is an object holding extra data about a block in a world.BlockEntityTicker<T extends BlockEntity>A functional interface that ticks a block entity.BlockEntityType<T extends BlockEntity>Represents a type of block entities.BlockEntityType.BlockEntityFactory<T extends BlockEntity>A functional interface for a factory that creates a new block entity instance.Handles the animation for opening and closing chests and ender chests.An interface implemented by block entities with openable lids, such as chests or ender chests.A piston block entity represents the block being pushed by a piston.Handles the viewer count for container block entities, like chests, ender chests, and barrels.