Uses of Interface
net.minecraft.block.entity.BlockEntityTicker
-
Uses of BlockEntityTicker in net.minecraft.block
Modifier 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, ornull
if they are different.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractBlock.AbstractBlockState.getBlockEntityTicker
(World world, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractSkullBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeaconBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeehiveBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BellBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlastFurnaceBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.default <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlockEntityProvider.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BrewingStandBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>CampfireBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ChestBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ConduitBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>DaylightDetectorBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnchantingTableBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnderChestBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EndGatewayBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>FurnaceBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>HopperBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>JukeboxBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>PistonExtensionBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkCatalystBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkSensorBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkShriekerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ShulkerBoxBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SmokerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SpawnerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.Modifier and TypeMethodDescriptionprotected 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, ornull
if they are different. -
Uses of BlockEntityTicker in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate final BlockEntityTicker<T>
WorldChunk.DirectBlockEntityTickInvoker.ticker
Modifier and TypeMethodDescriptionprivate <T extends BlockEntity>
BlockEntityTickInvokerWorldChunk.wrapTicker
(T blockEntity, BlockEntityTicker<T> blockEntityTicker) ModifierConstructorDescription(package private)
DirectBlockEntityTickInvoker
(T blockEntity, BlockEntityTicker<T> ticker)