protected 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, or null 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) |
<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> |
SculkSensorBlock.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) |