Uses of Class
net.minecraft.block.entity.BlockEntityType
Package
Description
-
Uses of BlockEntityType in net.minecraft.block
Modifier and TypeFieldDescriptionprotected Supplier<BlockEntityType<? extends E>>
AbstractChestBlock.entityTypeRetriever
Modifier and TypeMethodDescriptionBlockEntityType<? extends ChestBlockEntity>
ChestBlock.getExpectedEntityType()
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, 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)
static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState,DoubleBlockProperties.Type> typeMapper, Function<BlockState,Direction> function, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess,BlockPos> fallbackTester)
ModifierConstructorDescriptionprotected
AbstractChestBlock(AbstractBlock.Settings settings, Supplier<BlockEntityType<? extends E>> entityTypeSupplier)
protected
ChestBlock(AbstractBlock.Settings settings, Supplier<BlockEntityType<? extends ChestBlockEntity>> entityTypeSupplier)
-
Uses of BlockEntityType in net.minecraft.block.entity
Modifier and TypeFieldDescriptionstatic BlockEntityType<BannerBlockEntity>
BlockEntityType.BANNER
static BlockEntityType<BarrelBlockEntity>
BlockEntityType.BARREL
static BlockEntityType<BeaconBlockEntity>
BlockEntityType.BEACON
static BlockEntityType<BedBlockEntity>
BlockEntityType.BED
static BlockEntityType<BeehiveBlockEntity>
BlockEntityType.BEEHIVE
static BlockEntityType<BellBlockEntity>
BlockEntityType.BELL
BlockEntityType.BLAST_FURNACE
BlockEntityType.BREWING_STAND
static BlockEntityType<CampfireBlockEntity>
BlockEntityType.CAMPFIRE
static BlockEntityType<ChestBlockEntity>
BlockEntityType.CHEST
BlockEntityType.COMMAND_BLOCK
static BlockEntityType<ComparatorBlockEntity>
BlockEntityType.COMPARATOR
static BlockEntityType<ConduitBlockEntity>
BlockEntityType.CONDUIT
BlockEntityType.DAYLIGHT_DETECTOR
static BlockEntityType<DispenserBlockEntity>
BlockEntityType.DISPENSER
static BlockEntityType<DropperBlockEntity>
BlockEntityType.DROPPER
BlockEntityType.ENCHANTING_TABLE
static BlockEntityType<EndGatewayBlockEntity>
BlockEntityType.END_GATEWAY
static BlockEntityType<EndPortalBlockEntity>
BlockEntityType.END_PORTAL
static BlockEntityType<EnderChestBlockEntity>
BlockEntityType.ENDER_CHEST
static BlockEntityType<FurnaceBlockEntity>
BlockEntityType.FURNACE
static BlockEntityType<HopperBlockEntity>
BlockEntityType.HOPPER
static BlockEntityType<JigsawBlockEntity>
BlockEntityType.JIGSAW
static BlockEntityType<JukeboxBlockEntity>
BlockEntityType.JUKEBOX
static BlockEntityType<LecternBlockEntity>
BlockEntityType.LECTERN
static BlockEntityType<MobSpawnerBlockEntity>
BlockEntityType.MOB_SPAWNER
static BlockEntityType<PistonBlockEntity>
BlockEntityType.PISTON
BlockEntityType.SCULK_SENSOR
static BlockEntityType<ShulkerBoxBlockEntity>
BlockEntityType.SHULKER_BOX
static BlockEntityType<SignBlockEntity>
BlockEntityType.SIGN
static BlockEntityType<SkullBlockEntity>
BlockEntityType.SKULL
static BlockEntityType<SmokerBlockEntity>
BlockEntityType.SMOKER
BlockEntityType.STRUCTURE_BLOCK
BlockEntityType.TRAPPED_CHEST
private BlockEntityType<?>
BlockEntity.type
Modifier and TypeMethodDescriptionBlockEntityType.Builder.build(com.mojang.datafixers.types.Type<?> type)
private static <T extends BlockEntity>
BlockEntityType<T>BlockEntityType.create(String id, BlockEntityType.Builder<T> builder)
BlockEntity.getType()
Modifier and TypeMethodDescriptionstatic @Nullable Identifier
BlockEntityType.getId(BlockEntityType<?> type)
ModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType)
BlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
protected
ChestBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
protected
DispenserBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
protected
EndPortalBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
protected
LockableContainerBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
protected
LootableContainerBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
-
Uses of BlockEntityType in net.minecraft.client.render.block.entity
Modifier and TypeFieldDescriptionprivate static Map<BlockEntityType<?>,BlockEntityRendererFactory<?>>
BlockEntityRendererFactories.FACTORIES
private Map<BlockEntityType<?>,BlockEntityRenderer<?>>
BlockEntityRenderDispatcher.renderers
Modifier and TypeMethodDescriptionstatic Map<BlockEntityType<?>,BlockEntityRenderer<?>>
BlockEntityRendererFactories.reload(BlockEntityRendererFactory.Context args)
Modifier and TypeMethodDescriptionprivate static <T extends BlockEntity>
voidBlockEntityRendererFactories.register(BlockEntityType<? extends T> type, BlockEntityRendererFactory<T> factory)
-
Uses of BlockEntityType in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic Registry<BlockEntityType<?>>
Registry.BLOCK_ENTITY_TYPE
static RegistryKey<Registry<BlockEntityType<?>>>
Registry.BLOCK_ENTITY_TYPE_KEY
-
Uses of BlockEntityType in net.minecraft.world
Modifier and TypeMethodDescriptiondefault <T extends BlockEntity>
Optional<T>BlockView.getBlockEntity(BlockPos pos, BlockEntityType<T> type)
default <T extends BlockEntity>
Optional<T>RegistryWorldView.getBlockEntity(BlockPos pos, BlockEntityType<T> type)
<T extends BlockEntity>
Optional<T>TestableWorld.getBlockEntity(BlockPos pos, BlockEntityType<T> type)