Uses of Class
net.minecraft.block.entity.BlockEntityType
Packages that use BlockEntityType
Package
Description
-
Uses of BlockEntityType in net.minecraft.block
Fields in net.minecraft.block with type parameters of type BlockEntityTypeModifier and TypeFieldDescriptionprotected final Supplier<BlockEntityType<? extends E>> AbstractChestBlock.entityTypeRetrieverMethods in net.minecraft.block that return BlockEntityTypeModifier and TypeMethodDescriptionBlockEntityType<? extends ChestBlockEntity> ChestBlock.getExpectedEntityType()Methods in net.minecraft.block with parameters of type BlockEntityTypeModifier and TypeMethodDescription<T extends BlockEntity>
@Nullable BlockEntityTicker<T> AbstractBlock.AbstractBlockState.getBlockEntityTicker(World world, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
@Nullable BlockEntityTicker<T> AbstractSignBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T> AbstractSkullBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T> CalibratedSculkSensorBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif 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, ornullif 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, ornullif 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, ornullif the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T> CrafterBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T> CreakingHeartBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T> HangingSignBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T> TrialSpawnerBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T> VaultBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T> WallHangingSignBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif the block entity does not need to be ticked.static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S> DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, Property<Direction> facingProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) protected static <T extends BlockEntity>
@Nullable BlockEntityTicker<T> AbstractFurnaceBlock.validateTicker(World world, BlockEntityType<T> givenType, BlockEntityType<? extends AbstractFurnaceBlockEntity> expectedType) protected static <E extends BlockEntity,A extends BlockEntity>
@Nullable BlockEntityTicker<A> BlockWithEntity.validateTicker(BlockEntityType<A> givenType, BlockEntityType<E> expectedType, BlockEntityTicker<? super E> ticker) Returns the ticker if the given type and expected type are the same, ornullif they are different.Constructor parameters in net.minecraft.block with type arguments of type BlockEntityTypeModifierConstructorDescriptionprotectedAbstractChestBlock(AbstractBlock.Settings settings, Supplier<BlockEntityType<? extends E>> entityTypeRetriever) protectedChestBlock(Supplier<BlockEntityType<? extends ChestBlockEntity>> blockEntityTypeSupplier, AbstractBlock.Settings settings) -
Uses of BlockEntityType in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as BlockEntityTypeModifier and TypeFieldDescriptionstatic final BlockEntityType<BannerBlockEntity> BlockEntityType.BANNERstatic final BlockEntityType<BarrelBlockEntity> BlockEntityType.BARRELstatic final BlockEntityType<BeaconBlockEntity> BlockEntityType.BEACONstatic final BlockEntityType<BedBlockEntity> BlockEntityType.BEDstatic final BlockEntityType<BeehiveBlockEntity> BlockEntityType.BEEHIVEstatic final BlockEntityType<BellBlockEntity> BlockEntityType.BELLstatic final BlockEntityType<BlastFurnaceBlockEntity> BlockEntityType.BLAST_FURNACEstatic final BlockEntityType<BrewingStandBlockEntity> BlockEntityType.BREWING_STANDstatic final BlockEntityType<BrushableBlockEntity> BlockEntityType.BRUSHABLE_BLOCKstatic final BlockEntityType<CalibratedSculkSensorBlockEntity> BlockEntityType.CALIBRATED_SCULK_SENSORstatic final BlockEntityType<CampfireBlockEntity> BlockEntityType.CAMPFIREstatic final BlockEntityType<ChestBlockEntity> BlockEntityType.CHESTstatic final BlockEntityType<ChiseledBookshelfBlockEntity> BlockEntityType.CHISELED_BOOKSHELFstatic final BlockEntityType<CommandBlockBlockEntity> BlockEntityType.COMMAND_BLOCKstatic final BlockEntityType<ComparatorBlockEntity> BlockEntityType.COMPARATORstatic final BlockEntityType<ConduitBlockEntity> BlockEntityType.CONDUITstatic final BlockEntityType<CrafterBlockEntity> BlockEntityType.CRAFTERstatic final BlockEntityType<CreakingHeartBlockEntity> BlockEntityType.CREAKING_HEARTstatic final BlockEntityType<DaylightDetectorBlockEntity> BlockEntityType.DAYLIGHT_DETECTORstatic final BlockEntityType<DecoratedPotBlockEntity> BlockEntityType.DECORATED_POTstatic final BlockEntityType<DispenserBlockEntity> BlockEntityType.DISPENSERstatic final BlockEntityType<DropperBlockEntity> BlockEntityType.DROPPERstatic final BlockEntityType<EnchantingTableBlockEntity> BlockEntityType.ENCHANTING_TABLEstatic final BlockEntityType<EndGatewayBlockEntity> BlockEntityType.END_GATEWAYstatic final BlockEntityType<EndPortalBlockEntity> BlockEntityType.END_PORTALstatic final BlockEntityType<EnderChestBlockEntity> BlockEntityType.ENDER_CHESTstatic final BlockEntityType<FurnaceBlockEntity> BlockEntityType.FURNACEstatic final BlockEntityType<HangingSignBlockEntity> BlockEntityType.HANGING_SIGNstatic final BlockEntityType<HopperBlockEntity> BlockEntityType.HOPPERstatic final BlockEntityType<JigsawBlockEntity> BlockEntityType.JIGSAWstatic final BlockEntityType<JukeboxBlockEntity> BlockEntityType.JUKEBOXstatic final BlockEntityType<LecternBlockEntity> BlockEntityType.LECTERNstatic final BlockEntityType<MobSpawnerBlockEntity> BlockEntityType.MOB_SPAWNERstatic final BlockEntityType<PistonBlockEntity> BlockEntityType.PISTONstatic final BlockEntityType<SculkCatalystBlockEntity> BlockEntityType.SCULK_CATALYSTstatic final BlockEntityType<SculkSensorBlockEntity> BlockEntityType.SCULK_SENSORstatic final BlockEntityType<SculkShriekerBlockEntity> BlockEntityType.SCULK_SHRIEKERstatic final BlockEntityType<ShulkerBoxBlockEntity> BlockEntityType.SHULKER_BOXstatic final BlockEntityType<SignBlockEntity> BlockEntityType.SIGNstatic final BlockEntityType<SkullBlockEntity> BlockEntityType.SKULLstatic final BlockEntityType<SmokerBlockEntity> BlockEntityType.SMOKERstatic final BlockEntityType<StructureBlockBlockEntity> BlockEntityType.STRUCTURE_BLOCKstatic final BlockEntityType<TestBlockEntity> BlockEntityType.TEST_BLOCKstatic final BlockEntityType<TestInstanceBlockEntity> BlockEntityType.TEST_INSTANCE_BLOCKstatic final BlockEntityType<TrappedChestBlockEntity> BlockEntityType.TRAPPED_CHESTstatic final BlockEntityType<TrialSpawnerBlockEntity> BlockEntityType.TRIAL_SPAWNERprivate final BlockEntityType<?> BlockEntity.typestatic final BlockEntityType<VaultBlockEntity> BlockEntityType.VAULTFields in net.minecraft.block.entity with type parameters of type BlockEntityTypeModifier and TypeFieldDescriptionprivate static final Set<BlockEntityType<?>> BlockEntityType.POTENTIALLY_EXECUTES_COMMANDSprivate final RegistryEntry.Reference<BlockEntityType<?>> BlockEntityType.registryEntryprivate static final com.mojang.serialization.Codec<BlockEntityType<?>> BlockEntity.TYPE_CODECMethods in net.minecraft.block.entity that return BlockEntityTypeModifier and TypeMethodDescriptionprivate static <T extends BlockEntity>
BlockEntityType<T> BlockEntityType.create(String id, BlockEntityType.BlockEntityFactory<? extends T> factory, Block[] blocks) BlockEntity.getType()Methods in net.minecraft.block.entity that return types with arguments of type BlockEntityTypeMethods in net.minecraft.block.entity with parameters of type BlockEntityTypeModifier and TypeMethodDescriptionstatic @Nullable IdentifierBlockEntityType.getId(BlockEntityType<?> type) Returns the block entity type's ID, ornullif it is unregistered.static voidBlockEntity.writeIdToNbt(NbtCompound nbt, BlockEntityType<?> type) Writes the ID oftypetonbtunder theidkey.Constructors in net.minecraft.block.entity with parameters of type BlockEntityTypeModifierConstructorDescriptionprotectedAbstractFurnaceBlockEntity(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) BlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) protectedChestBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) protectedDispenserBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) protectedEndPortalBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) protectedLockableContainerBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) protectedLootableContainerBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) protectedSculkSensorBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) SignBlockEntity(BlockEntityType type, BlockPos pos, BlockState state) -
Uses of BlockEntityType in net.minecraft.client.render.block.entity
Fields in net.minecraft.client.render.block.entity with type parameters of type BlockEntityTypeModifier and TypeFieldDescriptionprivate static final Map<BlockEntityType<?>, BlockEntityRendererFactory<?>> BlockEntityRendererFactories.FACTORIESprivate Map<BlockEntityType<?>, BlockEntityRenderer<?>> BlockEntityRenderDispatcher.renderersMethods in net.minecraft.client.render.block.entity that return types with arguments of type BlockEntityTypeModifier and TypeMethodDescriptionstatic Map<BlockEntityType<?>, BlockEntityRenderer<?>> BlockEntityRendererFactories.reload(BlockEntityRendererFactory.Context args) Methods in net.minecraft.client.render.block.entity with parameters of type BlockEntityTypeModifier and TypeMethodDescriptionprivate static <T extends BlockEntity>
voidBlockEntityRendererFactories.register(BlockEntityType<? extends T> type, BlockEntityRendererFactory<T> factory) -
Uses of BlockEntityType in net.minecraft.item
Methods in net.minecraft.item with parameters of type BlockEntityTypeModifier and TypeMethodDescriptionstatic voidBlockItem.setBlockEntityData(ItemStack stack, BlockEntityType<?> type, NbtCompound nbt) -
Uses of BlockEntityType in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type BlockEntityTypeModifier and TypeFieldDescriptionprivate final RegistryEntry<BlockEntityType<?>> SetLootTableLootFunction.typeMethods in net.minecraft.loot.function with parameters of type BlockEntityTypeModifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?> SetLootTableLootFunction.builder(BlockEntityType<?> type, RegistryKey<LootTable> lootTable) static ConditionalLootFunction.Builder<?> SetLootTableLootFunction.builder(BlockEntityType<?> type, RegistryKey<LootTable> lootTable, long seed) Constructor parameters in net.minecraft.loot.function with type arguments of type BlockEntityTypeModifierConstructorDescriptionprivateSetLootTableLootFunction(List<LootCondition> conditions, RegistryKey<LootTable> lootTable, long seed, RegistryEntry<BlockEntityType<?>> blockEntityType) -
Uses of BlockEntityType in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as BlockEntityTypeModifier and TypeFieldDescriptionprivate final BlockEntityType<?> BlockEntityUpdateS2CPacket.blockEntityType(package private) final BlockEntityType<?> ChunkData.BlockEntityData.typeMethods in net.minecraft.network.packet.s2c.play that return BlockEntityTypeMethods in net.minecraft.network.packet.s2c.play with parameters of type BlockEntityTypeModifier and TypeMethodDescriptionvoidChunkData.BlockEntityVisitor.accept(BlockPos pos, BlockEntityType<?> type, @Nullable NbtCompound nbt) Constructors in net.minecraft.network.packet.s2c.play with parameters of type BlockEntityTypeModifierConstructorDescriptionprivateBlockEntityData(int localXz, int y, BlockEntityType<?> type, @Nullable NbtCompound nbt) privateBlockEntityUpdateS2CPacket(BlockPos pos, BlockEntityType<?> blockEntityType, NbtCompound nbt) -
Uses of BlockEntityType in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type BlockEntityTypeModifier and TypeFieldDescriptionstatic final Registry<BlockEntityType<?>> Registries.BLOCK_ENTITY_TYPEstatic final RegistryKey<Registry<BlockEntityType<?>>> RegistryKeys.BLOCK_ENTITY_TYPE -
Uses of BlockEntityType in net.minecraft.world
Methods in net.minecraft.world with parameters of type BlockEntityTypeModifier 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)