net.minecraft.block

public interface BlockEntityProvider

net.minecraft.world.level.block.EntityBlock
net.minecraft.class_9826
net.minecraft.block.BlockEntityProvider

Method summary

Modifier and TypeMethod
BlockEntity
newBlockEntity(BlockPos worldPosition, BlockState blockState)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos pos, BlockState state)
default <T extends BlockEntity> BlockEntityTicker<T>
getTicker(Level level, BlockState blockState, BlockEntityType<T> type)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World world, BlockState state, BlockEntityType<T> type)
default <T extends BlockEntity> GameEventListener
getListener(ServerLevel level, T blockEntity)
method_1_5510(class_3218 arg0, T arg1)
getEventListener(ServerWorld world, T blockEntity)