Uses of Class
net.minecraft.world.level.block.entity.BlockEntityType
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of BlockEntityType in net.minecraft.client.renderer.blockentity
Modifier and TypeFieldDescriptionprivate static final Map<BlockEntityType<?>,
BlockEntityRendererProvider<?>> BlockEntityRenderers.PROVIDERS
private Map<BlockEntityType<?>,
BlockEntityRenderer<?>> BlockEntityRenderDispatcher.renderers
Modifier and TypeMethodDescriptionstatic Map<BlockEntityType<?>,
BlockEntityRenderer<?>> BlockEntityRenderers.createEntityRenderers
(BlockEntityRendererProvider.Context p_173599_) Modifier and TypeMethodDescriptionstatic <T extends BlockEntity>
voidBlockEntityRenderers.register
(BlockEntityType<? extends T> p_173591_, BlockEntityRendererProvider<T> p_173592_) -
Uses of BlockEntityType in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final Registry<BlockEntityType<?>>
BuiltInRegistries.BLOCK_ENTITY_TYPE
Deprecated.static final ResourceKey<Registry<BlockEntityType<?>>>
Registries.BLOCK_ENTITY_TYPE
-
Uses of BlockEntityType in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final BlockEntityType<?>
ClientboundBlockEntityDataPacket.type
(package private) final BlockEntityType<?>
ClientboundLevelChunkPacketData.BlockEntityInfo.type
Modifier and TypeMethodDescriptionvoid
ClientboundLevelChunkPacketData.BlockEntityTagOutput.accept
(BlockPos p_195696_, BlockEntityType<?> p_195697_, CompoundTag p_195698_) ModifierConstructorDescriptionprivate
BlockEntityInfo
(int p_195685_, int p_195686_, BlockEntityType<?> p_195687_, CompoundTag p_195688_) private
ClientboundBlockEntityDataPacket
(BlockPos p_195637_, BlockEntityType<?> p_195638_, CompoundTag p_195639_) -
Uses of BlockEntityType in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic void
BlockItem.setBlockEntityData
(ItemStack p_186339_, BlockEntityType<?> p_186340_, CompoundTag p_186341_) -
Uses of BlockEntityType in net.minecraft.world.level
Modifier and TypeMethodDescriptiondefault <T extends BlockEntity>
Optional<T>BlockGetter.getBlockEntity
(BlockPos p_151367_, BlockEntityType<T> p_151368_) default <T extends BlockEntity>
Optional<T>CommonLevelAccessor.getBlockEntity
(BlockPos p_151452_, BlockEntityType<T> p_151453_) <T extends BlockEntity>
Optional<T>LevelSimulatedReader.getBlockEntity
(BlockPos p_151582_, BlockEntityType<T> p_151583_) -
Uses of BlockEntityType in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprotected final Supplier<BlockEntityType<? extends E>>
AbstractChestBlock.blockEntityType
Modifier and TypeMethodDescriptionBlockEntityType<? extends ChestBlockEntity>
ChestBlock.blockEntityType()
Modifier and TypeMethodDescriptionstatic <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S>DoubleBlockCombiner.combineWithNeigbour
(BlockEntityType<S> p_52823_, Function<BlockState, DoubleBlockCombiner.BlockType> p_52824_, Function<BlockState, Direction> p_52825_, DirectionProperty p_52826_, BlockState p_52827_, LevelAccessor p_52828_, BlockPos p_52829_, BiPredicate<LevelAccessor, BlockPos> p_52830_) protected static <T extends BlockEntity>
BlockEntityTicker<T>AbstractFurnaceBlock.createFurnaceTicker
(Level p_151988_, BlockEntityType<T> p_151989_, BlockEntityType<? extends AbstractFurnaceBlockEntity> p_151990_) protected static <E extends BlockEntity,
A extends BlockEntity>
BlockEntityTicker<A>BaseEntityBlock.createTickerHelper
(BlockEntityType<A> p_152133_, BlockEntityType<E> p_152134_, BlockEntityTicker<? super E> p_152135_) <T extends BlockEntity>
BlockEntityTicker<T>AbstractSkullBlock.getTicker
(Level p_151992_, BlockState p_151993_, BlockEntityType<T> p_151994_) <T extends BlockEntity>
BlockEntityTicker<T>BeaconBlock.getTicker
(Level p_152160_, BlockState p_152161_, BlockEntityType<T> p_152162_) <T extends BlockEntity>
BlockEntityTicker<T>BeehiveBlock.getTicker
(Level p_152180_, BlockState p_152181_, BlockEntityType<T> p_152182_) <T extends BlockEntity>
BlockEntityTicker<T>BellBlock.getTicker
(Level p_152194_, BlockState p_152195_, BlockEntityType<T> p_152196_) <T extends BlockEntity>
BlockEntityTicker<T>BlastFurnaceBlock.getTicker
(Level p_152382_, BlockState p_152383_, BlockEntityType<T> p_152384_) <T extends BlockEntity>
BlockEntityTicker<T>BrewingStandBlock.getTicker
(Level p_152694_, BlockState p_152695_, BlockEntityType<T> p_152696_) <T extends BlockEntity>
BlockEntityTicker<T>CalibratedSculkSensorBlock.getTicker
(Level p_277645_, BlockState p_278033_, BlockEntityType<T> p_277641_) <T extends BlockEntity>
BlockEntityTicker<T>CampfireBlock.getTicker
(Level p_152755_, BlockState p_152756_, BlockEntityType<T> p_152757_) <T extends BlockEntity>
BlockEntityTicker<T>CeilingHangingSignBlock.getTicker
(Level p_279379_, BlockState p_279390_, BlockEntityType<T> p_279231_) <T extends BlockEntity>
BlockEntityTicker<T>ChestBlock.getTicker
(Level p_153055_, BlockState p_153056_, BlockEntityType<T> p_153057_) <T extends BlockEntity>
BlockEntityTicker<T>ConduitBlock.getTicker
(Level p_153094_, BlockState p_153095_, BlockEntityType<T> p_153096_) <T extends BlockEntity>
BlockEntityTicker<T>DaylightDetectorBlock.getTicker
(Level p_153109_, BlockState p_153110_, BlockEntityType<T> p_153111_) <T extends BlockEntity>
BlockEntityTicker<T>EnchantmentTableBlock.getTicker
(Level p_153182_, BlockState p_153183_, BlockEntityType<T> p_153184_) <T extends BlockEntity>
BlockEntityTicker<T>EnderChestBlock.getTicker
(Level p_153199_, BlockState p_153200_, BlockEntityType<T> p_153201_) <T extends BlockEntity>
BlockEntityTicker<T>EndGatewayBlock.getTicker
(Level p_153189_, BlockState p_153190_, BlockEntityType<T> p_153191_) default <T extends BlockEntity>
BlockEntityTicker<T>EntityBlock.getTicker
(Level p_153212_, BlockState p_153213_, BlockEntityType<T> p_153214_) <T extends BlockEntity>
BlockEntityTicker<T>FurnaceBlock.getTicker
(Level p_153273_, BlockState p_153274_, BlockEntityType<T> p_153275_) <T extends BlockEntity>
BlockEntityTicker<T>HopperBlock.getTicker
(Level p_153378_, BlockState p_153379_, BlockEntityType<T> p_153380_) <T extends BlockEntity>
BlockEntityTicker<T>JukeboxBlock.getTicker
(Level p_239682_, BlockState p_239683_, BlockEntityType<T> p_239684_) <T extends BlockEntity>
BlockEntityTicker<T>SculkCatalystBlock.getTicker
(Level p_222100_, BlockState p_222101_, BlockEntityType<T> p_222102_) <T extends BlockEntity>
BlockEntityTicker<T>SculkSensorBlock.getTicker
(Level p_154401_, BlockState p_154402_, BlockEntityType<T> p_154403_) <T extends BlockEntity>
BlockEntityTicker<T>SculkShriekerBlock.getTicker
(Level p_222173_, BlockState p_222174_, BlockEntityType<T> p_222175_) <T extends BlockEntity>
BlockEntityTicker<T>ShulkerBoxBlock.getTicker
(Level p_154543_, BlockState p_154544_, BlockEntityType<T> p_154545_) <T extends BlockEntity>
BlockEntityTicker<T>SignBlock.getTicker
(Level p_277367_, BlockState p_277896_, BlockEntityType<T> p_277724_) <T extends BlockEntity>
BlockEntityTicker<T>SmokerBlock.getTicker
(Level p_154640_, BlockState p_154641_, BlockEntityType<T> p_154642_) <T extends BlockEntity>
BlockEntityTicker<T>SpawnerBlock.getTicker
(Level p_154683_, BlockState p_154684_, BlockEntityType<T> p_154685_) <T extends BlockEntity>
BlockEntityTicker<T>WallHangingSignBlock.getTicker
(Level p_279316_, BlockState p_279345_, BlockEntityType<T> p_279384_) ModifierConstructorDescriptionprotected
AbstractChestBlock
(BlockBehaviour.Properties p_48677_, Supplier<BlockEntityType<? extends E>> p_48678_) ChestBlock
(BlockBehaviour.Properties p_51490_, Supplier<BlockEntityType<? extends ChestBlockEntity>> p_51491_) -
Uses of BlockEntityType in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionstatic final BlockEntityType<BannerBlockEntity>
BlockEntityType.BANNER
static final BlockEntityType<BarrelBlockEntity>
BlockEntityType.BARREL
static final BlockEntityType<BeaconBlockEntity>
BlockEntityType.BEACON
static final BlockEntityType<BedBlockEntity>
BlockEntityType.BED
static final BlockEntityType<BeehiveBlockEntity>
BlockEntityType.BEEHIVE
static final BlockEntityType<BellBlockEntity>
BlockEntityType.BELL
static final BlockEntityType<BlastFurnaceBlockEntity>
BlockEntityType.BLAST_FURNACE
static final BlockEntityType<BrewingStandBlockEntity>
BlockEntityType.BREWING_STAND
static final BlockEntityType<BrushableBlockEntity>
BlockEntityType.BRUSHABLE_BLOCK
static final BlockEntityType<CalibratedSculkSensorBlockEntity>
BlockEntityType.CALIBRATED_SCULK_SENSOR
static final BlockEntityType<CampfireBlockEntity>
BlockEntityType.CAMPFIRE
static final BlockEntityType<ChestBlockEntity>
BlockEntityType.CHEST
static final BlockEntityType<ChiseledBookShelfBlockEntity>
BlockEntityType.CHISELED_BOOKSHELF
static final BlockEntityType<CommandBlockEntity>
BlockEntityType.COMMAND_BLOCK
static final BlockEntityType<ComparatorBlockEntity>
BlockEntityType.COMPARATOR
static final BlockEntityType<ConduitBlockEntity>
BlockEntityType.CONDUIT
static final BlockEntityType<DaylightDetectorBlockEntity>
BlockEntityType.DAYLIGHT_DETECTOR
static final BlockEntityType<DecoratedPotBlockEntity>
BlockEntityType.DECORATED_POT
static final BlockEntityType<DispenserBlockEntity>
BlockEntityType.DISPENSER
static final BlockEntityType<DropperBlockEntity>
BlockEntityType.DROPPER
static final BlockEntityType<EnchantmentTableBlockEntity>
BlockEntityType.ENCHANTING_TABLE
static final BlockEntityType<TheEndGatewayBlockEntity>
BlockEntityType.END_GATEWAY
static final BlockEntityType<TheEndPortalBlockEntity>
BlockEntityType.END_PORTAL
static final BlockEntityType<EnderChestBlockEntity>
BlockEntityType.ENDER_CHEST
static final BlockEntityType<FurnaceBlockEntity>
BlockEntityType.FURNACE
static final BlockEntityType<HangingSignBlockEntity>
BlockEntityType.HANGING_SIGN
static final BlockEntityType<HopperBlockEntity>
BlockEntityType.HOPPER
static final BlockEntityType<JigsawBlockEntity>
BlockEntityType.JIGSAW
static final BlockEntityType<JukeboxBlockEntity>
BlockEntityType.JUKEBOX
static final BlockEntityType<LecternBlockEntity>
BlockEntityType.LECTERN
static final BlockEntityType<SpawnerBlockEntity>
BlockEntityType.MOB_SPAWNER
static final BlockEntityType<PistonMovingBlockEntity>
BlockEntityType.PISTON
static final BlockEntityType<SculkCatalystBlockEntity>
BlockEntityType.SCULK_CATALYST
static final BlockEntityType<SculkSensorBlockEntity>
BlockEntityType.SCULK_SENSOR
static final BlockEntityType<SculkShriekerBlockEntity>
BlockEntityType.SCULK_SHRIEKER
static final BlockEntityType<ShulkerBoxBlockEntity>
BlockEntityType.SHULKER_BOX
static final BlockEntityType<SignBlockEntity>
BlockEntityType.SIGN
static final BlockEntityType<SkullBlockEntity>
BlockEntityType.SKULL
static final BlockEntityType<SmokerBlockEntity>
BlockEntityType.SMOKER
static final BlockEntityType<StructureBlockEntity>
BlockEntityType.STRUCTURE_BLOCK
static final BlockEntityType<TrappedChestBlockEntity>
BlockEntityType.TRAPPED_CHEST
private final BlockEntityType<?>
BlockEntity.type
Modifier and TypeFieldDescriptionprivate final Holder.Reference<BlockEntityType<?>>
BlockEntityType.builtInRegistryHolder
Modifier and TypeMethodDescriptionBlockEntityType.Builder.build
(com.mojang.datafixers.types.Type<?> p_58967_) BlockEntity.getType()
private static <T extends BlockEntity>
BlockEntityType<T>BlockEntityType.register
(String p_58957_, BlockEntityType.Builder<T> p_58958_) Modifier and TypeMethodDescriptionstatic void
BlockEntity.addEntityType
(CompoundTag p_187469_, BlockEntityType<?> p_187470_) static ResourceLocation
BlockEntityType.getKey
(BlockEntityType<?> p_58955_) ModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity
(BlockEntityType<?> p_154991_, BlockPos p_154992_, BlockState p_154993_, RecipeType<? extends AbstractCookingRecipe> p_154994_) protected
BaseContainerBlockEntity
(BlockEntityType<?> p_155076_, BlockPos p_155077_, BlockState p_155078_) BlockEntity
(BlockEntityType<?> p_155228_, BlockPos p_155229_, BlockState p_155230_) protected
ChestBlockEntity
(BlockEntityType<?> p_155327_, BlockPos p_155328_, BlockState p_155329_) protected
DispenserBlockEntity
(BlockEntityType<?> p_155489_, BlockPos p_155490_, BlockState p_155491_) protected
RandomizableContainerBlockEntity
(BlockEntityType<?> p_155629_, BlockPos p_155630_, BlockState p_155631_) protected
SculkSensorBlockEntity
(BlockEntityType<?> p_277405_, BlockPos p_277502_, BlockState p_277699_) SignBlockEntity
(BlockEntityType p_249609_, BlockPos p_248914_, BlockState p_249550_) protected
TheEndPortalBlockEntity
(BlockEntityType<?> p_155855_, BlockPos p_155856_, BlockState p_155857_) -
Uses of BlockEntityType in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescription<T extends BlockEntity>
BlockEntityTicker<T>MovingPistonBlock.getTicker
(Level p_155875_, BlockState p_155876_, BlockEntityType<T> p_155877_) -
Uses of BlockEntityType in net.minecraft.world.level.block.state
Modifier and TypeMethodDescription<T extends BlockEntity>
BlockEntityTicker<T>BlockBehaviour.BlockStateBase.getTicker
(Level p_155945_, BlockEntityType<T> p_155946_) -
Uses of BlockEntityType in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescriptionprivate final BlockEntityType<?>
SetContainerContents.Builder.type
Modifier and TypeFieldDescriptionprivate final Holder<BlockEntityType<?>>
SetContainerContents.type
private final Holder<BlockEntityType<?>>
SetContainerLootTable.type
Modifier and TypeMethodDescriptionstatic SetContainerContents.Builder
SetContainerContents.setContents
(BlockEntityType<?> p_193037_) static LootItemConditionalFunction.Builder<?>
SetContainerLootTable.withLootTable
(BlockEntityType<?> p_193050_, ResourceLocation p_193051_) static LootItemConditionalFunction.Builder<?>
SetContainerLootTable.withLootTable
(BlockEntityType<?> p_193053_, ResourceLocation p_193054_, long p_193055_) ModifierConstructorDescription(package private)
SetContainerContents
(List<LootItemCondition> p_193035_, Holder<BlockEntityType<?>> p_300015_, List<LootPoolEntryContainer> p_298786_) private
SetContainerLootTable
(List<LootItemCondition> p_297857_, ResourceLocation p_193046_, long p_193047_, Holder<BlockEntityType<?>> p_300516_) -
Uses of BlockEntityType in net.minecraftforge.client.event
Modifier and TypeMethodDescription<T extends BlockEntity>
voidEntityRenderersEvent.RegisterRenderers.registerBlockEntityRenderer
(BlockEntityType<? extends T> blockEntityType, BlockEntityRendererProvider<T> blockEntityRendererProvider) Registers a block entity renderer for the given block entity type. -
Uses of BlockEntityType in net.minecraftforge.fluids.capability
ModifierConstructorDescriptionFluidHandlerBlockEntity
(@NotNull BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state) -
Uses of BlockEntityType in net.minecraftforge.registries
Modifier and TypeFieldDescriptionstatic final IForgeRegistry<BlockEntityType<?>>
ForgeRegistries.BLOCK_ENTITY_TYPES
static final ResourceKey<Registry<BlockEntityType<?>>>
ForgeRegistries.Keys.BLOCK_ENTITY_TYPES
ForgeRegistries.BLOCK_ENTITY_TYPES
instead.