Uses of Interface
net.minecraft.core.Holder
Packages that use Holder
Package
Description
-
Uses of Holder in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as HolderModifier and TypeFieldDescriptionPlayerPredicate.StatMatcher.valueThe field for thevaluerecord component.Fields in net.minecraft.advancements.critereon with type parameters of type HolderModifier and TypeFieldDescriptionBeeNestDestroyedTrigger.TriggerInstance.blockThe field for theblockrecord component.EnterBlockTrigger.TriggerInstance.blockThe field for theblockrecord component.SlideDownBlockTrigger.TriggerInstance.blockThe field for theblockrecord component.private final ImmutableMap.Builder<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.Builder.effectMapprivate final Map<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.effectMapThe field for theeffectMaprecord component.BrewedPotionTrigger.TriggerInstance.potionThe field for thepotionrecord component.Methods in net.minecraft.advancements.critereon that return HolderModifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.value()Returns the value of thevaluerecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type HolderModifier and TypeMethodDescriptionBeeNestDestroyedTrigger.TriggerInstance.block()Returns the value of theblockrecord component.EnterBlockTrigger.TriggerInstance.block()Returns the value of theblockrecord component.SlideDownBlockTrigger.TriggerInstance.block()Returns the value of theblockrecord component.MobEffectsPredicate.effectMap()Returns the value of theeffectMaprecord component.BrewedPotionTrigger.TriggerInstance.potion()Returns the value of thepotionrecord component.Methods in net.minecraft.advancements.critereon with parameters of type HolderModifier and TypeMethodDescriptionMobEffectsPredicate.Builder.and(Holder<MobEffect> pEffect, MobEffectsPredicate.MobEffectInstancePredicate pPredicate) static LocationPredicate.Builderstatic LocationPredicate.BuilderLocationPredicate.Builder.inStructure(Holder<Structure> pStructure) booleanbooleanprivate booleanEnchantmentPredicate.matchesEnchantment(ItemEnchantments pItemEnchantments, Holder<Enchantment> pEnchantment) voidBrewedPotionTrigger.trigger(ServerPlayer pPlayer, Holder<Potion> pPotion) Method parameters in net.minecraft.advancements.critereon with type arguments of type HolderModifier and TypeMethodDescriptionbooleanMobEffectsPredicate.matches(Map<Holder<MobEffect>, MobEffectInstance> pEffects) Constructors in net.minecraft.advancements.critereon with parameters of type HolderModifierConstructorDescriptionEnchantmentPredicate(Holder<Enchantment> p_345021_, MinMaxBounds.Ints p_345012_) StatMatcher(StatType<T> p_299207_, Holder<T> p_298208_, MinMaxBounds.Ints p_299102_) (package private)StatMatcher(StatType<T> type, Holder<T> value, MinMaxBounds.Ints range, Supplier<Stat<T>> stat) Creates an instance of aStatMatcherrecord class.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type HolderModifierConstructorDescriptionMobEffectsPredicate(Map<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> effectMap) Creates an instance of aMobEffectsPredicaterecord class. -
Uses of Holder in net.minecraft.client.data.models
Fields in net.minecraft.client.data.models with type parameters of type HolderModifier and TypeFieldDescriptionModelProvider.BlockStateGeneratorCollector.knownBlocksModelProvider.ItemInfoCollector.knownItemsMethods in net.minecraft.client.data.models that return types with arguments of type HolderConstructor parameters in net.minecraft.client.data.models with type arguments of type HolderModifierConstructorDescriptionBlockStateGeneratorCollector(Supplier<Stream<? extends Holder<Block>>> knownBlocks) ItemInfoCollector(Supplier<Stream<? extends Holder<Item>>> knownItems) -
Uses of Holder in net.minecraft.client.gui.components
Methods in net.minecraft.client.gui.components with parameters of type HolderModifier and TypeMethodDescriptionprivate static StringDebugScreenOverlay.printBiome(Holder<Biome> pBiomeHolder) -
Uses of Holder in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as HolderFields in net.minecraft.client.gui.screens with type parameters of type HolderConstructors in net.minecraft.client.gui.screens with parameters of type HolderConstructor parameters in net.minecraft.client.gui.screens with type arguments of type HolderModifierConstructorDescriptionCreateBuffetWorldScreen(Screen pParent, WorldCreationContext pContext, Consumer<Holder<Biome>> pApplySettings) -
Uses of Holder in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as HolderModifier and TypeFieldDescriptionBeaconScreen.BeaconPowerButton.effectBeaconScreen.primaryBeaconScreen.secondaryMethods in net.minecraft.client.gui.screens.inventory with parameters of type HolderModifier and TypeMethodDescriptionprotected MutableComponentBeaconScreen.BeaconPowerButton.createEffectDescription(Holder<MobEffect> pEffect) protected MutableComponentBeaconScreen.BeaconUpgradePowerButton.createEffectDescription(Holder<MobEffect> p_316391_) private voidLoomScreen.renderPattern(GuiGraphics pGuiGraphics, Holder<BannerPattern> pPatern, int pX, int pY) protected voidConstructors in net.minecraft.client.gui.screens.inventory with parameters of type HolderModifierConstructorDescriptionBeaconPowerButton(int pX, int pY, Holder<MobEffect> pEffect, boolean pIsPrimary, int pTier) BeaconUpgradePowerButton(int pX, int pY, Holder<MobEffect> pEffect) -
Uses of Holder in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as HolderModifier and TypeFieldDescriptionprivate final Holder<WorldPreset> WorldCreationUiState.WorldTypeEntry.presetThe field for thepresetrecord component.Methods in net.minecraft.client.gui.screens.worldselection that return HolderModifier and TypeMethodDescriptionWorldCreationUiState.WorldTypeEntry.preset()Returns the value of thepresetrecord component.Methods in net.minecraft.client.gui.screens.worldselection that return types with arguments of type HolderModifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>> WorldCreationUiState.findPreset(WorldCreationContext pContext, Optional<ResourceKey<WorldPreset>> pPreset) Methods in net.minecraft.client.gui.screens.worldselection with parameters of type HolderModifier and TypeMethodDescriptionprivate static WorldCreationContext.DimensionsUpdaterPresetEditor.fixedBiomeConfigurator(Holder<Biome> pBiome) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type HolderModifierConstructorDescriptionWorldTypeEntry(Holder<WorldPreset> preset) Creates an instance of aWorldTypeEntryrecord class. -
Uses of Holder in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that return HolderModifier and TypeMethodDescriptionClientLevel.getUncachedNoiseBiome(int p_205516_, int p_205517_, int p_205518_) Methods in net.minecraft.client.multiplayer with parameters of type HolderModifier and TypeMethodDescriptionvoidClientLevel.explode(Entity p_363686_, DamageSource p_365268_, ExplosionDamageCalculator p_363795_, double p_360494_, double p_360591_, double p_364949_, float p_361233_, boolean p_364900_, Level.ExplosionInteraction p_365033_, ParticleOptions p_361889_, ParticleOptions p_361473_, Holder<SoundEvent> p_362359_) voidClientLevel.gameEvent(Holder<GameEvent> p_316478_, Vec3 p_233640_, GameEvent.Context p_233641_) voidClientLevel.playSeededSound(Entity p_393665_, double p_263372_, double p_263404_, double p_263365_, Holder<SoundEvent> p_263335_, SoundSource p_263417_, float p_263416_, float p_263349_, long p_263408_) voidClientLevel.playSeededSound(Entity p_263536_, Entity p_394209_, Holder<SoundEvent> p_263518_, SoundSource p_263487_, float p_263538_, float p_263524_, long p_263509_) Constructors in net.minecraft.client.multiplayer with parameters of type HolderModifierConstructorDescriptionClientLevel(ClientPacketListener pConnection, ClientLevel.ClientLevelData pLevelData, ResourceKey<Level> pDimension, Holder<DimensionType> pDimensionTypeRegistration, int pViewDistance, int pServerSimulationDistance, LevelRenderer pLevelRenderer, boolean pIsDebug, long pBiomeZoomSeed, int pSeaLevel) -
Uses of Holder in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer that return HolderModifier and TypeMethodDescriptionFogRenderer.BlindnessFogFunction.getMobEffect()FogRenderer.DarknessFogFunction.getMobEffect()FogRenderer.MobEffectFogFunction.getMobEffect()Methods in net.minecraft.client.renderer with parameters of type HolderModifier and TypeMethodDescriptionstatic MaterialSheets.getBannerMaterial(Holder<BannerPattern> pPattern) static MaterialSheets.getShieldMaterial(Holder<BannerPattern> pPattern) private voidLevelEventHandler.playJukeboxSong(Holder<JukeboxSong> pSong, BlockPos pPos) -
Uses of Holder in net.minecraft.client.renderer.debug
Methods in net.minecraft.client.renderer.debug with parameters of type HolderModifier and TypeMethodDescriptionbooleanGameEventListenerRenderer.TrackedListener.handleGameEvent(ServerLevel p_234540_, Holder<GameEvent> p_316503_, GameEvent.Context p_250285_, Vec3 p_250758_) -
Uses of Holder in net.minecraft.client.renderer.entity.layers
Methods in net.minecraft.client.renderer.entity.layers with parameters of type HolderModifier and TypeMethodDescriptionVillagerProfessionLayer.getHatData(it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceKey<K>, VillagerMetadataSection.Hat> pCache, String pFolder, Holder<K> pKey) private ResourceLocationVillagerProfessionLayer.getResourceLocation(String pFolder, Holder<?> pHolder) -
Uses of Holder in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as Holder -
Uses of Holder in net.minecraft.client.renderer.state
Fields in net.minecraft.client.renderer.state declared as Holder -
Uses of Holder in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type HolderModifier and TypeMethodDescription -
Uses of Holder in net.minecraft.client.resources.sounds
Methods in net.minecraft.client.resources.sounds with parameters of type HolderModifier and TypeMethodDescriptionstatic SimpleSoundInstanceSimpleSoundInstance.forUI(Holder<SoundEvent> pSoundHolder, float pPitch) -
Uses of Holder in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type HolderMethods in net.minecraft.commands.arguments that return HolderModifier and TypeMethodDescriptionstatic Holder<LootItemFunction> ResourceOrIdArgument.getLootModifier(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Holder<LootItemCondition> ResourceOrIdArgument.getLootPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) ResourceOrIdArgument.getLootTable(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) private static <T> Holder<T> ResourceOrIdArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) ResourceOrIdArgument.parse(com.mojang.brigadier.StringReader pReader) Methods in net.minecraft.commands.arguments with parameters of type HolderModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanConstructor parameters in net.minecraft.commands.arguments with type arguments of type HolderModifierConstructorDescriptionprotectedResourceOrIdArgument(CommandBuildContext pRegistryLookup, ResourceKey<Registry<T>> pRegistryKey, com.mojang.serialization.Codec<Holder<T>> pCodec) -
Uses of Holder in net.minecraft.commands.arguments.item
Fields in net.minecraft.commands.arguments.item declared as HolderModifier and TypeFieldDescriptionItemInput.itemItemParser.ItemResult.itemThe field for theitemrecord component.Methods in net.minecraft.commands.arguments.item that return HolderModifier and TypeMethodDescriptionItemParser.ItemResult.item()Returns the value of theitemrecord component.Methods in net.minecraft.commands.arguments.item with parameters of type HolderModifier and TypeMethodDescriptionprivate static voidItemParser.validateComponents(com.mojang.brigadier.StringReader pReader, Holder<Item> pItem, DataComponentPatch pComponents) default voidConstructors in net.minecraft.commands.arguments.item with parameters of type HolderModifierConstructorDescriptionItemInput(Holder<Item> pItem, DataComponentPatch pComponents) ItemResult(Holder<Item> item, DataComponentPatch components) Creates an instance of aItemResultrecord class. -
Uses of Holder in net.minecraft.core
Classes in net.minecraft.core that implement HolderModifier and TypeClassDescriptionstatic final recordstatic class(package private) static classFields in net.minecraft.core with type parameters of type HolderModifier and TypeFieldDescriptionHolderSet.Direct.contentsHolderSet.Named.contentsHolderSet.Direct.contentsSetMethods in net.minecraft.core that return HolderModifier and TypeMethodDescriptionstatic <T> Holder<T> Holder.direct(T pValue) HolderSet.get(int pIndex) HolderSet.ListBacked.get(int p_205823_) MappedRegistry.wrapAsHolder(T p_263356_) Registry.wrapAsHolder(T pValue) Methods in net.minecraft.core that return types with arguments of type HolderModifier and TypeMethodDescriptionRegistry.asHolderIdMap()HolderSet.Direct.contents()HolderSet.ListBacked.contents()HolderSet.Named.contents()HolderSet.getRandomElement(RandomSource pRandom) HolderSet.ListBacked.getRandomElement(RandomSource p_235714_) Registry.getRandomElementOf(TagKey<T> pKey, RandomSource pRandom) Registry.getTagOrEmpty(TagKey<T> pKey) Registry.holderByNameCodec()HolderSet.ListBacked.iterator()HolderSet.ListBacked.spliterator()HolderSet.ListBacked.stream()HolderSet.stream()HolderSet.Direct.unwrap()HolderSet.Named.unwrap()HolderSet.unwrap()Methods in net.minecraft.core with parameters of type HolderModifier and TypeMethodDescriptionbooleanbooleanbooleanstatic <T> HolderSet.Direct<T> booleanbooleanDeprecated.booleanprivate com.mojang.serialization.DataResult<Holder.Reference<T>> Registry.safeCastToReference(Holder<T> pValue) private Holder.Reference<T> MappedRegistry.validateAndUnwrapTagElement(TagKey<T> pKey, Holder<T> pValue) Method parameters in net.minecraft.core with type arguments of type HolderModifier and TypeMethodDescription(package private) voidvoidvoidstatic <E,T> HolderSet.Direct <T> static <E,T> HolderSet.Direct <T> HolderSet.direct(Function<E, Holder<T>> pHolderFactory, Collection<E> pValues) static <T> HolderSet.Direct<T> Constructor parameters in net.minecraft.core with type arguments of type Holder -
Uses of Holder in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type HolderModifier and TypeFieldDescriptionstatic final DataComponentType<Holder<SoundEvent>> DataComponents.BREAK_SOUNDstatic final DataComponentType<Holder<CatVariant>> DataComponents.CAT_VARIANTstatic final DataComponentType<Holder<CowVariant>> DataComponents.COW_VARIANTstatic final DataComponentType<Holder<FrogVariant>> DataComponents.FROG_VARIANTstatic final DataComponentType<Holder<PaintingVariant>> DataComponents.PAINTING_VARIANTstatic final DataComponentType<Holder<PigVariant>> DataComponents.PIG_VARIANTstatic final DataComponentType<Holder<VillagerType>> DataComponents.VILLAGER_VARIANTstatic final DataComponentType<Holder<WolfSoundVariant>> DataComponents.WOLF_SOUND_VARIANTstatic final DataComponentType<Holder<WolfVariant>> DataComponents.WOLF_VARIANT -
Uses of Holder in net.minecraft.data.recipes
Fields in net.minecraft.data.recipes declared as HolderModifier and TypeFieldDescriptionprivate final Holder<TrimPattern> SmithingTrimRecipeBuilder.patternTransmuteRecipeBuilder.resultMethods in net.minecraft.data.recipes with parameters of type HolderModifier and TypeMethodDescriptionstatic SmithingTrimRecipeBuilderSmithingTrimRecipeBuilder.smithingTrim(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, Holder<TrimPattern> pPattern, RecipeCategory pCategory) Constructors in net.minecraft.data.recipes with parameters of type HolderModifierConstructorDescriptionSmithingTrimRecipeBuilder(RecipeCategory pCategory, Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, Holder<TrimPattern> pPattern) privateTransmuteRecipeBuilder(RecipeCategory pCategory, Holder<Item> pResult, Ingredient pInput, Ingredient pMaterial) -
Uses of Holder in net.minecraft.data.worldgen.features
Methods in net.minecraft.data.worldgen.features that return HolderModifier and TypeMethodDescriptionprivate static Holder<PlacedFeature> CaveFeatures.makeDripleaf(Direction pFacingDirection) private static Holder<PlacedFeature> CaveFeatures.makeSmallDripleaf()Methods in net.minecraft.data.worldgen.features with parameters of type HolderModifier and TypeMethodDescriptionstatic RandomPatchConfigurationFeatureUtils.simpleRandomPatchConfiguration(int pTries, Holder<PlacedFeature> pFeature) -
Uses of Holder in net.minecraft.data.worldgen.placement
Methods in net.minecraft.data.worldgen.placement that return HolderModifier and TypeMethodDescriptionstatic <FC extends FeatureConfiguration,F extends Feature<FC>>
Holder<PlacedFeature> PlacementUtils.filtered(F pFeature, FC pConfig, BlockPredicate pPredicate) static <FC extends FeatureConfiguration,F extends Feature<FC>>
Holder<PlacedFeature> PlacementUtils.inlinePlaced(F pFeature, FC pConfig, PlacementModifier... pPlacements) static Holder<PlacedFeature> PlacementUtils.inlinePlaced(Holder<ConfiguredFeature<?, ?>> pFeature, PlacementModifier... pPlacements) static <FC extends FeatureConfiguration,F extends Feature<FC>>
Holder<PlacedFeature> PlacementUtils.onlyWhenEmpty(F pFeature, FC pConfig) Methods in net.minecraft.data.worldgen.placement with parameters of type HolderModifier and TypeMethodDescriptionstatic Holder<PlacedFeature> PlacementUtils.inlinePlaced(Holder<ConfiguredFeature<?, ?>> pFeature, PlacementModifier... pPlacements) static voidPlacementUtils.register(BootstrapContext<PlacedFeature> pContext, ResourceKey<PlacedFeature> pKey, Holder<ConfiguredFeature<?, ?>> pConfiguredFeature, List<PlacementModifier> pPlacements) static voidPlacementUtils.register(BootstrapContext<PlacedFeature> pContext, ResourceKey<PlacedFeature> pKey, Holder<ConfiguredFeature<?, ?>> pConfiguredFeature, PlacementModifier... pPlacements) -
Uses of Holder in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as HolderModifier and TypeFieldDescriptionprivate Holder<TestEnvironmentDefinition> GameTestRunner.currentEnvironmentprivate final Holder<TestEnvironmentDefinition> GameTestBatch.environmentThe field for theenvironmentrecord component.Fields in net.minecraft.gametest.framework with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<TestData<Holder<TestEnvironmentDefinition>>> TestData.CODECstatic final com.mojang.serialization.Codec<Holder<TestEnvironmentDefinition>> TestEnvironmentDefinition.CODECprivate final List<Holder<TestEnvironmentDefinition>> TestEnvironmentDefinition.AllOf.definitionsThe field for thedefinitionsrecord component.private final TestData<Holder<TestEnvironmentDefinition>> GameTestInstance.infoMethods in net.minecraft.gametest.framework that return HolderModifier and TypeMethodDescriptionGameTestInstance.batch()GameTestBatch.environment()Returns the value of theenvironmentrecord component.Methods in net.minecraft.gametest.framework that return types with arguments of type HolderModifier and TypeMethodDescriptionTestEnvironmentDefinition.AllOf.definitions()Returns the value of thedefinitionsrecord component.protected TestData<Holder<TestEnvironmentDefinition>> GameTestInstance.info()Methods in net.minecraft.gametest.framework with parameters of type HolderModifier and TypeMethodDescriptionvoidGameTestHelper.assertLivingEntityHasMobEffect(LivingEntity pEntity, Holder<MobEffect> pEffect, int pAmplifier) private static intTestCommand.exportTestStructure(CommandSourceStack pSource, Holder<GameTestInstance> pTestInstance) static GameTestBatchGameTestBatchFactory.toGameTestBatch(Collection<GameTestInfo> pGameTestInfos, Holder<TestEnvironmentDefinition> pEnvironment, int pIndex) Constructors in net.minecraft.gametest.framework with parameters of type HolderModifierConstructorDescriptionGameTestBatch(int index, Collection<GameTestInfo> gameTestInfos, Holder<TestEnvironmentDefinition> environment) Creates an instance of aGameTestBatchrecord class.Constructor parameters in net.minecraft.gametest.framework with type arguments of type HolderModifierConstructorDescriptionAllOf(List<Holder<TestEnvironmentDefinition>> definitions) Creates an instance of aAllOfrecord class.BlockBasedTestInstance(TestData<Holder<TestEnvironmentDefinition>> p_397064_) FunctionGameTestInstance(ResourceKey<Consumer<GameTestHelper>> pFunction, TestData<Holder<TestEnvironmentDefinition>> pInfo) protected -
Uses of Holder in net.minecraft.network
Fields in net.minecraft.network declared as HolderModifier and TypeFieldDescriptionHashedStack.ActualItem.itemThe field for theitemrecord component.Methods in net.minecraft.network that return HolderModifier and TypeMethodDescriptionHashedStack.ActualItem.item()Returns the value of theitemrecord component.Constructors in net.minecraft.network with parameters of type HolderModifierConstructorDescriptionActualItem(Holder<Item> item, int count, HashedPatchMap components) Creates an instance of aActualItemrecord class. -
Uses of Holder in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as HolderModifier and TypeFieldDescriptionChatType.Bound.chatTypeThe field for thechatTyperecord component.Fields in net.minecraft.network.chat with type parameters of type HolderModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ChatType>> ChatType.STREAM_CODECMethods in net.minecraft.network.chat that return HolderModifier and TypeMethodDescriptionChatType.Bound.chatType()Returns the value of thechatTyperecord component.Constructors in net.minecraft.network.chat with parameters of type Holder -
Uses of Holder in net.minecraft.network.codec
Methods in net.minecraft.network.codec that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> pRegistryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> pCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry(ResourceKey<? extends Registry<T>> pRegistryKey) -
Uses of Holder in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as HolderModifier and TypeFieldDescriptionClientboundUpdateAttributesPacket.AttributeSnapshot.attributeThe field for theattributerecord component.private final Holder<DimensionType> CommonPlayerSpawnInfo.dimensionTypeThe field for thedimensionTyperecord component.ClientboundRemoveMobEffectPacket.effectThe field for theeffectrecord component.ClientboundUpdateMobEffectPacket.effectprivate final Holder<SoundEvent> ClientboundExplodePacket.explosionSoundThe field for theexplosionSoundrecord component.private final Holder<SoundEvent> ClientboundSoundEntityPacket.soundprivate final Holder<SoundEvent> ClientboundSoundPacket.soundprivate final Holder<DamageType> ClientboundDamageEventPacket.sourceTypeThe field for thesourceTyperecord component.Fields in net.minecraft.network.protocol.game with type parameters of type HolderModifier and TypeFieldDescriptionServerboundSetBeaconPacket.primaryThe field for theprimaryrecord component.ServerboundSetBeaconPacket.secondaryThe field for thesecondaryrecord component.Methods in net.minecraft.network.protocol.game that return HolderModifier and TypeMethodDescriptionClientboundUpdateAttributesPacket.AttributeSnapshot.attribute()Returns the value of theattributerecord component.CommonPlayerSpawnInfo.dimensionType()Returns the value of thedimensionTyperecord component.ClientboundRemoveMobEffectPacket.effect()Returns the value of theeffectrecord component.ClientboundExplodePacket.explosionSound()Returns the value of theexplosionSoundrecord component.ClientboundUpdateMobEffectPacket.getEffect()ClientboundSoundEntityPacket.getSound()ClientboundSoundPacket.getSound()ClientboundDamageEventPacket.sourceType()Returns the value of thesourceTyperecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type HolderModifier and TypeMethodDescriptionServerboundSetBeaconPacket.primary()Returns the value of theprimaryrecord component.ServerboundSetBeaconPacket.secondary()Returns the value of thesecondaryrecord component.Methods in net.minecraft.network.protocol.game with parameters of type HolderModifier and TypeMethodDescriptionstatic voidDebugPackets.sendGameEventInfo(Level pLevel, Holder<GameEvent> pGameEvent, Vec3 pPos) Constructors in net.minecraft.network.protocol.game with parameters of type HolderModifierConstructorDescriptionAttributeSnapshot(Holder<Attribute> attribute, double base, Collection<AttributeModifier> modifiers) Creates an instance of aAttributeSnapshotrecord class.ClientboundDamageEventPacket(int entityId, Holder<DamageType> sourceType, int sourceCauseId, int sourceDirectId, Optional<Vec3> sourcePosition) Creates an instance of aClientboundDamageEventPacketrecord class.ClientboundExplodePacket(Vec3 center, Optional<Vec3> playerKnockback, ParticleOptions explosionParticle, Holder<SoundEvent> explosionSound) Creates an instance of aClientboundExplodePacketrecord class.ClientboundRemoveMobEffectPacket(int entityId, Holder<MobEffect> effect) Creates an instance of aClientboundRemoveMobEffectPacketrecord class.ClientboundSoundEntityPacket(Holder<SoundEvent> pSound, SoundSource pSource, Entity pEntity, float pVolume, float pPitch, long pSeed) ClientboundSoundPacket(Holder<SoundEvent> pSound, SoundSource pSource, double pX, double pY, double pZ, float pVolume, float pPitch, long pSeed) CommonPlayerSpawnInfo(Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, GameType gameType, GameType previousGameType, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation, int portalCooldown, int seaLevel) Creates an instance of aCommonPlayerSpawnInforecord class.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type Holder -
Uses of Holder in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type HolderModifier and TypeFieldDescriptionstatic final EntityDataSerializer<Holder<CatVariant>> EntityDataSerializers.CAT_VARIANTstatic final EntityDataSerializer<Holder<ChickenVariant>> EntityDataSerializers.CHICKEN_VARIANTstatic final EntityDataSerializer<Holder<CowVariant>> EntityDataSerializers.COW_VARIANTstatic final EntityDataSerializer<Holder<FrogVariant>> EntityDataSerializers.FROG_VARIANTstatic final EntityDataSerializer<Holder<PaintingVariant>> EntityDataSerializers.PAINTING_VARIANTstatic final EntityDataSerializer<Holder<PigVariant>> EntityDataSerializers.PIG_VARIANTstatic final EntityDataSerializer<Holder<WolfSoundVariant>> EntityDataSerializers.WOLF_SOUND_VARIANTstatic final EntityDataSerializer<Holder<WolfVariant>> EntityDataSerializers.WOLF_VARIANT -
Uses of Holder in net.minecraft.recipebook
Methods in net.minecraft.recipebook with parameters of type HolderModifier and TypeMethodDescriptionprivate intServerPlaceRecipe.moveItemToGrid(Slot pSlot, Holder<Item> pItem, int pCount) Method parameters in net.minecraft.recipebook with type arguments of type HolderModifier and TypeMethodDescriptionprivate static intServerPlaceRecipe.clampToMaxStackSize(int pAmount, List<Holder<Item>> pItems) -
Uses of Holder in net.minecraft.resources
Fields in net.minecraft.resources with type parameters of type HolderModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<ICustomHolderSet<E>, com.mojang.datafixers.util.Either<TagKey<E>, List<Holder<E>>>>> HolderSetCodec.combinedCodecHolderSetCodec.elementCodecHolderSetCodec.homogenousListCodecprivate final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<E>, List<Holder<E>>>> HolderSetCodec.registryAwareCodecMethods in net.minecraft.resources that return types with arguments of type HolderModifier and TypeMethodDescriptionRegistryFileCodec.decode(com.mojang.serialization.DynamicOps<T> pOps, T pInput) RegistryFixedCodec.decode(com.mojang.serialization.DynamicOps<T> pOps, T pValue) HolderSetCodec.homogenousList(com.mojang.serialization.Codec<Holder<E>> pHolderCodec, boolean pDisallowInline) Methods in net.minecraft.resources with parameters of type HolderModifier and TypeMethodDescription<T> com.mojang.serialization.DataResult<T> <T> com.mojang.serialization.DataResult<T> Method parameters in net.minecraft.resources with type arguments of type HolderModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<HolderSet<E>> HolderSetCodec.create(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<Holder<E>> pHolderCodec, boolean pDisallowInline) HolderSetCodec.homogenousList(com.mojang.serialization.Codec<Holder<E>> pHolderCodec, boolean pDisallowInline) Constructor parameters in net.minecraft.resources with type arguments of type HolderModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<Holder<E>> pElementCodec, boolean pDisallowInline) -
Uses of Holder in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type HolderModifier and TypeMethodDescriptionprivate static intAttributeCommand.addModifier(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, ResourceLocation pId, double pAmount, AttributeModifier.Operation pOperation) private static ItemStackItemCommands.applyModifier(CommandSourceStack pSource, Holder<LootItemFunction> pModifier, ItemStack pStack) private static intItemCommands.blockToBlock(CommandSourceStack pSource, BlockPos pSourcePos, int pSourceSlot, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) private static intItemCommands.blockToEntities(CommandSourceStack pSource, BlockPos pPos, int pSourceSlot, Collection<? extends Entity> pTargets, int pSlot, Holder<LootItemFunction> pModifier) private static booleanExecuteCommand.checkCustomPredicate(CommandSourceStack pSource, Holder<LootItemCondition> pCondition) private static intEffectCommands.clearEffect(CommandSourceStack pSource, Collection<? extends Entity> pTargets, Holder<MobEffect> pEffect) private static intLootCommand.drop(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, LootParams pParams, LootCommand.DropConsumer pDropConsumer) private static intLootCommand.dropChestLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, LootCommand.DropConsumer pDropCOnsimer) private static intLootCommand.dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, BlockPos pPos, ItemStack pTool, LootCommand.DropConsumer pDropConsumet) private static intEnchantCommand.enchant(CommandSourceStack pSource, Collection<? extends Entity> pTargets, Holder<Enchantment> pEnchantment, int pLevel) private static intItemCommands.entityToBlock(CommandSourceStack pSource, Entity pSourceEntity, int pSourceSlot, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) private static intItemCommands.entityToEntities(CommandSourceStack pSource, Entity pSourceEntity, int pSourceSlot, Collection<? extends Entity> pTargets, int pSlot, Holder<LootItemFunction> pModifier) static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill(ServerLevel pLevel, BlockPos pFrom, BlockPos pTo, Holder<Biome> pBiome, Predicate<Holder<Biome>> pFilter, Consumer<Supplier<Component>> pMessageOutput) private static intAttributeCommand.getAttributeBase(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, double pScale) private static ComponentAttributeCommand.getAttributeDescription(Holder<Attribute> pAttribute) private static AttributeInstanceAttributeCommand.getAttributeInstance(Entity pEntity, Holder<Attribute> pAttribute) private static intAttributeCommand.getAttributeModifier(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, ResourceLocation pId, double pScale) private static Stream<ResourceLocation> AttributeCommand.getAttributeModifiers(Entity pEntity, Holder<Attribute> pAttribute) private static intAttributeCommand.getAttributeValue(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, double pScale) private static LivingEntityAttributeCommand.getEntityWithAttribute(Entity pEntity, Holder<Attribute> pAttribute) private static intEffectCommands.giveEffect(CommandSourceStack pSource, Collection<? extends Entity> pTargets, Holder<MobEffect> pEffect, Integer pSeconds, int pAmplifier, boolean pShowParticles) private static BiomeResolverFillBiomeCommand.makeResolver(org.apache.commons.lang3.mutable.MutableInt pBiomeEntries, ChunkAccess pChunk, BoundingBox pTargetRegion, Holder<Biome> pReplacementBiome, Predicate<Holder<Biome>> pFilter) private static intItemCommands.modifyBlockItem(CommandSourceStack pSource, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) private static intItemCommands.modifyEntityItem(CommandSourceStack pSource, Collection<? extends Entity> pTargets, int pSourceSlot, Holder<LootItemFunction> pModifer) static intPlaceCommand.placeJigsaw(CommandSourceStack pSource, Holder<StructureTemplatePool> pTemplatePool, ResourceLocation pTarget, int pMaxDepth, BlockPos pPos) private static intAttributeCommand.removeModifier(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, ResourceLocation pId) private static intAttributeCommand.resetAttributeBase(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute) private static intAttributeCommand.setAttributeBase(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, double pValue) Method parameters in net.minecraft.server.commands with type arguments of type HolderModifier and TypeMethodDescriptionprivate static intFillBiomeCommand.fill(CommandSourceStack pSource, BlockPos pFrom, BlockPos pTo, Holder.Reference<Biome> pBiome, Predicate<Holder<Biome>> pFilter) static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill(ServerLevel pLevel, BlockPos pFrom, BlockPos pTo, Holder<Biome> pBiome, Predicate<Holder<Biome>> pFilter, Consumer<Supplier<Component>> pMessageOutput) private static BiomeResolverFillBiomeCommand.makeResolver(org.apache.commons.lang3.mutable.MutableInt pBiomeEntries, ChunkAccess pChunk, BoundingBox pTargetRegion, Holder<Biome> pReplacementBiome, Predicate<Holder<Biome>> pFilter) static intLocateCommand.showLocateResult(CommandSourceStack pSource, ResourceOrTagArgument.Result<?> pResult, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithPosition, String pTranslationKey, boolean pAbsoluteY, Duration pDuration) static intLocateCommand.showLocateResult(CommandSourceStack pSource, ResourceOrTagKeyArgument.Result<?> pResult, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithPosition, String pTranslationKey, boolean pAbsoluteY, Duration pDuration) private static intLocateCommand.showLocateResult(CommandSourceStack pSource, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithoutPosition, String pTranslationKey, boolean pAbsoluteY, String pElementName, Duration pDuration) -
Uses of Holder in net.minecraft.server.level
Methods in net.minecraft.server.level that return HolderModifier and TypeMethodDescriptionServerLevel.getUncachedNoiseBiome(int p_203775_, int p_203776_, int p_203777_) WorldGenRegion.getUncachedNoiseBiome(int p_203787_, int p_203788_, int p_203789_) Methods in net.minecraft.server.level that return types with arguments of type HolderModifier and TypeMethodDescriptionServerLevel.findClosestBiome3d(Predicate<Holder<Biome>> pBiomePredicate, BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep) Methods in net.minecraft.server.level with parameters of type HolderModifier and TypeMethodDescriptionvoidServerLevel.explode(Entity p_256039_, DamageSource p_255778_, ExplosionDamageCalculator p_256002_, double p_256067_, double p_256370_, double p_256153_, float p_256045_, boolean p_255686_, Level.ExplosionInteraction p_255827_, ParticleOptions p_312436_, ParticleOptions p_312391_, Holder<SoundEvent> p_320497_) voidServerLevel.gameEvent(Holder<GameEvent> p_316597_, Vec3 p_215042_, GameEvent.Context p_215043_) voidWorldGenRegion.gameEvent(Holder<GameEvent> p_316792_, Vec3 p_215164_, GameEvent.Context p_215165_) voidServerLevel.playSeededSound(Entity p_393855_, double p_263393_, double p_263369_, double p_263354_, Holder<SoundEvent> p_263412_, SoundSource p_263338_, float p_263352_, float p_263390_, long p_263403_) voidServerLevel.playSeededSound(Entity p_263544_, Entity p_394316_, Holder<SoundEvent> p_263491_, SoundSource p_263542_, float p_263530_, float p_263520_, long p_263490_) Method parameters in net.minecraft.server.level with type arguments of type Holder -
Uses of Holder in net.minecraft.sounds
Fields in net.minecraft.sounds declared as HolderModifier and TypeFieldDescriptionstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_CHAINstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_DIAMONDstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_ELYTRAstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_GENERICstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_GOLDstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_IRONstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_LEATHERstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_NETHERITEstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_TURTLEstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_WOLFstatic final Holder<SoundEvent> SoundEvents.CROSSBOW_LOADING_ENDstatic final Holder<SoundEvent> SoundEvents.CROSSBOW_LOADING_MIDDLEstatic final Holder<SoundEvent> SoundEvents.CROSSBOW_LOADING_STARTstatic final Holder<SoundEvent> SoundEvents.CROSSBOW_QUICK_CHARGE_1static final Holder<SoundEvent> SoundEvents.CROSSBOW_QUICK_CHARGE_2static final Holder<SoundEvent> SoundEvents.CROSSBOW_QUICK_CHARGE_3private final Holder<SoundEvent> Music.eventstatic final Holder<SoundEvent> SoundEvents.TRIDENT_RIPTIDE_1static final Holder<SoundEvent> SoundEvents.TRIDENT_RIPTIDE_2static final Holder<SoundEvent> SoundEvents.TRIDENT_RIPTIDE_3static final Holder<SoundEvent> SoundEvents.TRIDENT_THROWstatic final Holder<SoundEvent> SoundEvents.TRIDENT_THUNDERFields in net.minecraft.sounds with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<SoundEvent>> SoundEvent.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<SoundEvent>> SoundEvent.STREAM_CODECMethods in net.minecraft.sounds that return HolderModifier and TypeMethodDescriptionMusic.getEvent()private static Holder<SoundEvent> SoundEvents.register(ResourceLocation pName, ResourceLocation pLocation, float pRange) Methods in net.minecraft.sounds with parameters of type HolderConstructors in net.minecraft.sounds with parameters of type HolderModifierConstructorDescriptionMusic(Holder<SoundEvent> pEvent, int pMinDelay, int pMaxDelay, boolean pReplaceCurrentMusic) -
Uses of Holder in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type HolderModifier and TypeFieldDescriptionTagLoader.LoadResult.tagsThe field for thetagsrecord component.Methods in net.minecraft.tags that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic <T> TagLoader.ElementLookup<? extends Holder<T>> TagLoader.ElementLookup.fromFrozenRegistry(Registry<T> pRegistry) static <T> TagLoader.ElementLookup<Holder<T>> TagLoader.ElementLookup.fromWritableRegistry(WritableRegistry<T> pRegistry) TagLoader.LoadResult.tags()Returns the value of thetagsrecord component.TagLoader.wrapTags(ResourceKey<? extends Registry<T>> pRegistryKey, Map<ResourceLocation, List<Holder<T>>> pTags) Method parameters in net.minecraft.tags with type arguments of type HolderModifier and TypeMethodDescriptionTagLoader.wrapTags(ResourceKey<? extends Registry<T>> pRegistryKey, Map<ResourceLocation, List<Holder<T>>> pTags) Constructor parameters in net.minecraft.tags with type arguments of type HolderModifierConstructorDescriptionLoadResult(ResourceKey<? extends Registry<T>> key, Map<TagKey<T>, List<Holder<T>>> tags) Creates an instance of aLoadResultrecord class. -
Uses of Holder in net.minecraft.util
Methods in net.minecraft.util that return HolderModifier and TypeMethodDescriptionGsonHelper.convertToItem(JsonElement pJson, String pMemberName) GsonHelper.getAsItem(JsonObject pJson, String pMemberName) GsonHelper.getAsItem(JsonObject pJson, String pMemberName, Holder<Item> pFallback) Methods in net.minecraft.util with parameters of type Holder -
Uses of Holder in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type HolderModifier and TypeMethodDescriptionJfrProfiler.onStructureGenerate(ChunkPos p_383140_, ResourceKey<Level> p_382829_, Holder<Structure> p_383041_) JvmProfiler.NoOpProfiler.onStructureGenerate(ChunkPos p_383098_, ResourceKey<Level> p_383187_, Holder<Structure> p_383176_) JvmProfiler.onStructureGenerate(ChunkPos pChunkPos, ResourceKey<Level> pLevel, Holder<Structure> pStructure) -
Uses of Holder in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type HolderModifierConstructorDescriptionStructureGenerationEvent(ChunkPos pChunkPos, Holder<Structure> pStructure, ResourceKey<Level> pLevel) -
Uses of Holder in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as HolderFields in net.minecraft.world.damagesource with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<DamageType>> DamageType.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<DamageType>> DamageType.STREAM_CODECMethods in net.minecraft.world.damagesource that return HolderConstructors in net.minecraft.world.damagesource with parameters of type HolderModifierConstructorDescriptionDamageSource(Holder<DamageType> pType) DamageSource(Holder<DamageType> pType, Entity pEntity) DamageSource(Holder<DamageType> pType, Entity pDirectEntity, Entity pCausingEntity) DamageSource(Holder<DamageType> pType, Entity pDirectEntity, Entity pCausingEntity, Vec3 pDamageSourcePosition) DamageSource(Holder<DamageType> pType, Vec3 pDamageSourcePosition) -
Uses of Holder in net.minecraft.world.effect
Fields in net.minecraft.world.effect declared as HolderModifier and TypeFieldDescriptionMobEffects.ABSORPTIONMobEffects.BAD_OMENMobEffects.BLINDNESSMobEffects.CONDUIT_POWERMobEffects.DARKNESSMobEffects.DOLPHINS_GRACEMobEffectInstance.effectMobEffects.FIRE_RESISTANCEMobEffects.GLOWINGMobEffects.HASTEMobEffects.HEALTH_BOOSTMobEffects.HERO_OF_THE_VILLAGEMobEffects.HUNGERMobEffects.INFESTEDMobEffects.INSTANT_DAMAGEMobEffects.INSTANT_HEALTHMobEffects.INVISIBILITYMobEffects.JUMP_BOOSTMobEffects.LEVITATIONMobEffects.LUCKMobEffects.MINING_FATIGUEMobEffects.NAUSEAMobEffects.NIGHT_VISIONMobEffects.OOZINGMobEffects.POISONMobEffects.RAID_OMENMobEffects.REGENERATIONMobEffects.RESISTANCEMobEffects.SATURATIONMobEffects.SLOW_FALLINGMobEffects.SLOWNESSMobEffects.SPEEDMobEffects.STRENGTHMobEffects.TRIAL_OMENMobEffects.UNLUCKMobEffects.WATER_BREATHINGMobEffects.WEAKNESSMobEffects.WEAVINGMobEffects.WIND_CHARGEDMobEffects.WITHERFields in net.minecraft.world.effect with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Map<Holder<Attribute>, MobEffect.AttributeTemplate> MobEffect.attributeModifiersContains a Map of the AttributeModifiers registered by potionsMobEffect.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<MobEffect>> MobEffect.STREAM_CODECMethods in net.minecraft.world.effect that return HolderMethods in net.minecraft.world.effect with parameters of type HolderModifier and TypeMethodDescriptionMobEffect.addAttributeModifier(Holder<Attribute> pAttribute, ResourceLocation pId, double pAmount, AttributeModifier.Operation pOperation) MobEffect.addAttributeModifier(Holder<Attribute> attribute, ResourceLocation id, AttributeModifier.Operation operation, it.unimi.dsi.fastutil.ints.Int2DoubleFunction curve) Neo: attribute template with custom level curve, for mob effects providing non-linear attribute modifiers.booleanMethod parameters in net.minecraft.world.effect with type arguments of type HolderModifier and TypeMethodDescriptionvoidMobEffect.createModifiers(int pAmplifier, BiConsumer<Holder<Attribute>, AttributeModifier> pOutput) Constructors in net.minecraft.world.effect with parameters of type HolderModifierConstructorDescriptionMobEffectInstance(Holder<MobEffect> pEffect) MobEffectInstance(Holder<MobEffect> pEffect, int pDuration) MobEffectInstance(Holder<MobEffect> pEffect, int pDuration, int pAmplifier) MobEffectInstance(Holder<MobEffect> pEffect, int pDuration, int pAmplifier, boolean pAmbient, boolean pVisible) MobEffectInstance(Holder<MobEffect> pEffect, int pDuration, int pAmplifier, boolean pAmbient, boolean pVisible, boolean pShowIcon) MobEffectInstance(Holder<MobEffect> pEffect, int pDuration, int pAmplifier, boolean pAmbient, boolean pVisible, boolean pShowIcon, MobEffectInstance pHiddenEffect) privateMobEffectInstance(Holder<MobEffect> pEffect, MobEffectInstance.Details pDetails) -
Uses of Holder in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Map<Holder<MobEffect>, MobEffectInstance> LivingEntity.activeEffectsMethods in net.minecraft.world.entity that return HolderModifier and TypeMethodDescriptionprotected Holder<SoundEvent> LivingEntity.getEquipSound(EquipmentSlot pSlot, ItemStack pStack, Equippable pEquippable) Methods in net.minecraft.world.entity that return types with arguments of type HolderMethods in net.minecraft.world.entity with parameters of type HolderModifier and TypeMethodDescriptionvoidvoidprivate doubleMob.getApproximateAttributeWith(ItemStack pItem, Holder<Attribute> pAttribute, EquipmentSlot pSlot) LivingEntity.getAttribute(Holder<Attribute> pAttribute) doubleLivingEntity.getAttributeBaseValue(Holder<Attribute> pAttribute) doubleLivingEntity.getAttributeValue(Holder<Attribute> pAttribute) floatLivingEntity.getEffectBlendFactor(Holder<MobEffect> pEffect, float pPartialTick) booleanprotected voidLivingEntity.onAttributeUpdated(Holder<Attribute> pAttribute) protected voidMob.onAttributeUpdated(Holder<Attribute> p_363635_) booleanLivingEntity.removeEffect(Holder<MobEffect> pEffect) final MobEffectInstanceLivingEntity.removeEffectNoUpdate(Holder<MobEffect> pEffect) -
Uses of Holder in net.minecraft.world.entity.ai.attributes
Fields in net.minecraft.world.entity.ai.attributes declared as HolderModifier and TypeFieldDescriptionAttributes.ARMORHandles the armor points for an entity.Attributes.ARMOR_TOUGHNESSHandles the amount of damage mitigated by wearing armor.Attributes.ATTACK_DAMAGEHandles the attack damage inflicted by entities.Attributes.ATTACK_KNOCKBACKHandles additional horizontal knockback when damaging another entity.Attributes.ATTACK_SPEEDHandles the cooldown rate when attacking with an item.AttributeInstance.attributeThe Attribute this is an instance ofAttributes.BLOCK_BREAK_SPEEDAttributes.BLOCK_INTERACTION_RANGEAttributes.BURNING_TIMEAttributes.ENTITY_INTERACTION_RANGEAttributes.EXPLOSION_KNOCKBACK_RESISTANCEAttributes.FALL_DAMAGE_MULTIPLIERAttributes.FLYING_SPEEDHandles the movement speed of flying entities such as parrots and bees.Attributes.FOLLOW_RANGEHandles the range in blocks that a mob will notice and track players and other potential targets.Attributes.GRAVITYAttributes.JUMP_STRENGTHHandles the jump strength for horses.Attributes.KNOCKBACK_RESISTANCEHandles the reduction of horizontal knockback when damaged by attacks or projectiles.Attributes.LUCKHandles luck when a player generates loot from a loot table.Attributes.MAX_ABSORPTIONAttributes.MAX_HEALTHHandles the maximum health of an entity.Attributes.MINING_EFFICIENCYAttributes.MOVEMENT_EFFICIENCYAttributes.MOVEMENT_SPEEDHandles the movement speed of entities.Attributes.OXYGEN_BONUSAttributes.SAFE_FALL_DISTANCEAttributes.SCALEAttributes.SNEAKING_SPEEDAttributes.SPAWN_REINFORCEMENTS_CHANCEHandles the chance for a zombie to summon reinforcements when attacked.Attributes.STEP_HEIGHTAttributes.SUBMERGED_MINING_SPEEDAttributes.SWEEPING_DAMAGE_RATIOAttributes.TEMPT_RANGEAttributes.WATER_MOVEMENT_EFFICIENCYFields in net.minecraft.world.entity.ai.attributes with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Map<Holder<Attribute>, AttributeInstance> AttributeMap.attributesprivate final Map<Holder<Attribute>, AttributeInstance> AttributeSupplier.Builder.builderAttribute.CODECprivate final Map<Holder<Attribute>, AttributeInstance> AttributeSupplier.instancesstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Attribute>> Attribute.STREAM_CODECAttributeInstance.TYPE_CODECMethods in net.minecraft.world.entity.ai.attributes that return HolderMethods in net.minecraft.world.entity.ai.attributes with parameters of type HolderModifier and TypeMethodDescriptionprivate AttributeInstanceAttributeSupplier.createInstance(Consumer<AttributeInstance> pOnDirty, Holder<Attribute> pAttribute) private AttributeInstanceAttributeSupplier.getAttributeInstance(Holder<Attribute> pAttribute) doubleAttributeMap.getBaseValue(Holder<Attribute> pAttribute) doubleAttributeSupplier.getBaseValue(Holder<Attribute> pAttribute) AttributeMap.getInstance(Holder<Attribute> pAttribute) doubleAttributeMap.getModifierValue(Holder<Attribute> pAttribute, ResourceLocation pId) doubleAttributeSupplier.getModifierValue(Holder<Attribute> pAttribute, ResourceLocation pId) doubledoublebooleanAttributeMap.hasAttribute(Holder<Attribute> pAttribute) booleanAttributeSupplier.Builder.hasAttribute(Holder<Attribute> attribute) booleanAttributeSupplier.hasAttribute(Holder<Attribute> pAttribute) booleanAttributeMap.hasModifier(Holder<Attribute> pAttribute, ResourceLocation pId) booleanAttributeSupplier.hasModifier(Holder<Attribute> pAttribute, ResourceLocation pId) booleanAttributeMap.resetBaseValue(Holder<Attribute> pAttribute) Method parameters in net.minecraft.world.entity.ai.attributes with type arguments of type HolderModifier and TypeMethodDescriptionvoidAttributeMap.addTransientAttributeModifiers(Multimap<Holder<Attribute>, AttributeModifier> pModifiers) voidAttributeMap.removeAttributeModifiers(Multimap<Holder<Attribute>, AttributeModifier> pModifiers) Constructors in net.minecraft.world.entity.ai.attributes with parameters of type HolderModifierConstructorDescriptionAttributeInstance(Holder<Attribute> pAttribute, Consumer<AttributeInstance> pOnDirty) Constructor parameters in net.minecraft.world.entity.ai.attributes with type arguments of type HolderModifierConstructorDescription(package private)AttributeSupplier(Map<Holder<Attribute>, AttributeInstance> pInstances) -
Uses of Holder in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior with parameters of type HolderModifier and TypeMethodDescriptionprivate booleanprivate static booleanPoiCompetitorScan.competesForSameJobsite(GlobalPos pJobSitePos, Holder<PoiType> pPoiType, Villager pVillager) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getHidePackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPanicPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) private static booleanPoiCompetitorScan.hasMatchingProfession(Holder<PoiType> pPoiType, Holder<VillagerProfession> pProfession) private static booleanYieldJobSite.nearbyWantsJobsite(Holder<PoiType> pPoi, Villager pVillager, BlockPos pPos) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type HolderModifier and TypeMethodDescriptionstatic BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> pAcquirablePois, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> pAcquirablePois, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId, BiPredicate<ServerLevel, BlockPos> pPredicate) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> pAcquirablePois, MemoryModuleType<GlobalPos> pExistingAbsentMemory, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId, BiPredicate<ServerLevel, BlockPos> pPredicate) static BehaviorControl<LivingEntity> ValidateNearbyPoi.create(Predicate<Holder<PoiType>> pPoiValidator, MemoryModuleType<GlobalPos> pPoiPosMemory) static PathAcquirePoi.findPathToPois(Mob pMob, Set<com.mojang.datafixers.util.Pair<Holder<PoiType>, BlockPos>> pPoiPositions) -
Uses of Holder in net.minecraft.world.entity.ai.village.poi
Fields in net.minecraft.world.entity.ai.village.poi declared as HolderModifier and TypeFieldDescriptionPoiRecord.Packed.poiTypeThe field for thepoiTyperecord component.PoiRecord.poiTypeFields in net.minecraft.world.entity.ai.village.poi with type parameters of type HolderModifier and TypeFieldDescriptionPoiSection.byTypePoiType.NONEprivate static final Map<BlockState, Holder<PoiType>> PoiTypes.TYPE_BY_STATEMethods in net.minecraft.world.entity.ai.village.poi that return HolderModifier and TypeMethodDescriptionPoiRecord.getPoiType()PoiRecord.Packed.poiType()Returns the value of thepoiTyperecord component.Methods in net.minecraft.world.entity.ai.village.poi that return types with arguments of type HolderModifier and TypeMethodDescriptionPoiManager.findAllClosestFirstWithType(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findAllWithType(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findClosestWithType(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiTypes.forState(BlockState pState) Methods in net.minecraft.world.entity.ai.village.poi with parameters of type HolderModifier and TypeMethodDescriptionvoidvoidprivate static voidPoiTypes.registerBlockStates(Holder<PoiType> pPoi, Set<BlockState> pStates) Method parameters in net.minecraft.world.entity.ai.village.poi with type arguments of type HolderModifier and TypeMethodDescriptionbooleanbooleanPoiManager.find(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findAll(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findAllClosestFirstWithType(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findAllWithType(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findClosest(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findClosest(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findClosestWithType(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) longPoiManager.getCountInRange(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.getInChunk(Predicate<Holder<PoiType>> pTypePredicate, ChunkPos pPosChunk, PoiManager.Occupancy pStatus) PoiManager.getInRange(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.getInSquare(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.getRandom(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, PoiManager.Occupancy pStatus, BlockPos pPos, int pDistance, RandomSource pRandom) PoiSection.getRecords(Predicate<Holder<PoiType>> pTypePredicate, PoiManager.Occupancy pStatus) voidPoiManager.take(Predicate<Holder<PoiType>> pTypePredicate, BiPredicate<Holder<PoiType>, BlockPos> pCombinedTypePosPredicate, BlockPos pPos, int pDistance) PoiManager.take(Predicate<Holder<PoiType>> pTypePredicate, BiPredicate<Holder<PoiType>, BlockPos> pCombinedTypePosPredicate, BlockPos pPos, int pDistance) private voidPoiManager.updateFromSection(LevelChunkSection pSection, SectionPos pSectionPos, BiConsumer<BlockPos, Holder<PoiType>> pPosToTypeConsumer) Constructors in net.minecraft.world.entity.ai.village.poi with parameters of type HolderModifierConstructorDescriptionCreates an instance of aPackedrecord class.(package private) -
Uses of Holder in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<CatVariant>> CatVariant.CODECstatic final com.mojang.serialization.Codec<Holder<ChickenVariant>> ChickenVariant.CODECstatic final com.mojang.serialization.Codec<Holder<CowVariant>> CowVariant.CODECstatic final com.mojang.serialization.Codec<Holder<PigVariant>> PigVariant.CODECprivate static final EntityDataAccessor<Holder<CatVariant>> Cat.DATA_VARIANT_IDprivate static final EntityDataAccessor<Holder<ChickenVariant>> Chicken.DATA_VARIANT_IDprivate static final EntityDataAccessor<Holder<CowVariant>> Cow.DATA_VARIANT_IDprivate static final EntityDataAccessor<Holder<PigVariant>> Pig.DATA_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CatVariant>> CatVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ChickenVariant>> ChickenVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CowVariant>> CowVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PigVariant>> PigVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal that return HolderModifier and TypeMethodDescriptionprotected Holder<SoundEvent> Pig.getEquipSound(EquipmentSlot p_397377_, ItemStack p_397787_, Equippable p_397153_) Cat.getVariant()Chicken.getVariant()Cow.getVariant()Pig.getVariant()Methods in net.minecraft.world.entity.animal with parameters of type HolderModifier and TypeMethodDescriptionstatic Fox.Variantprivate voidCat.setVariant(Holder<CatVariant> pVariant) voidChicken.setVariant(Holder<ChickenVariant> pVariant) voidCow.setVariant(Holder<CowVariant> pVariant) private voidPig.setVariant(Holder<PigVariant> pVariant) -
Uses of Holder in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type HolderModifier and TypeMethodDescriptionbooleanAllay.VibrationUser.canReceiveVibration(ServerLevel p_282038_, BlockPos p_283385_, Holder<GameEvent> p_316820_, GameEvent.Context p_282208_) booleanAllay.JukeboxListener.handleGameEvent(ServerLevel p_250009_, Holder<GameEvent> p_316687_, GameEvent.Context p_249478_, Vec3 p_250852_) voidAllay.VibrationUser.onReceiveVibration(ServerLevel p_281422_, BlockPos p_281449_, Holder<GameEvent> p_316630_, Entity p_281794_, Entity p_281864_, float p_281642_) -
Uses of Holder in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel that return HolderModifier and TypeMethodDescriptionprotected Holder<SoundEvent> Camel.getEquipSound(EquipmentSlot p_397855_, ItemStack p_397494_, Equippable p_397094_) -
Uses of Holder in net.minecraft.world.entity.animal.frog
Fields in net.minecraft.world.entity.animal.frog with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<FrogVariant>> FrogVariant.CODECprivate static final EntityDataAccessor<Holder<FrogVariant>> Frog.DATA_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<FrogVariant>> FrogVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal.frog that return HolderMethods in net.minecraft.world.entity.animal.frog with parameters of type Holder -
Uses of Holder in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse that return HolderModifier and TypeMethodDescriptionprotected Holder<SoundEvent> AbstractHorse.getEquipSound(EquipmentSlot p_397157_, ItemStack p_397978_, Equippable p_397221_) Methods in net.minecraft.world.entity.animal.horse with parameters of type HolderModifier and TypeMethodDescriptionprivate voidAbstractHorse.setOffspringAttribute(AgeableMob pParent, AbstractHorse pChild, Holder<Attribute> pAttribute, double pMin, double pMax) -
Uses of Holder in net.minecraft.world.entity.animal.sheep
Methods in net.minecraft.world.entity.animal.sheep with parameters of type HolderModifier and TypeMethodDescriptionstatic DyeColorSheepColorSpawnRules.getSheepColor(Holder<Biome> pBiome, RandomSource pRandom) private static SheepColorSpawnRules.SheepColorSpawnConfigurationSheepColorSpawnRules.getSheepColorConfiguration(Holder<Biome> pBiome) -
Uses of Holder in net.minecraft.world.entity.animal.wolf
Fields in net.minecraft.world.entity.animal.wolf declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> WolfSoundVariant.ambientSoundThe field for theambientSoundrecord component.private final Holder<SoundEvent> WolfSoundVariant.deathSoundThe field for thedeathSoundrecord component.private final Holder<SoundEvent> WolfSoundVariant.growlSoundThe field for thegrowlSoundrecord component.private final Holder<SoundEvent> WolfSoundVariant.hurtSoundThe field for thehurtSoundrecord component.private final Holder<SoundEvent> WolfSoundVariant.pantSoundThe field for thepantSoundrecord component.final Holder<WolfVariant> Wolf.WolfPackData.typeprivate final Holder<SoundEvent> WolfSoundVariant.whineSoundThe field for thewhineSoundrecord component.Fields in net.minecraft.world.entity.animal.wolf with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<WolfSoundVariant>> WolfSoundVariant.CODECstatic final com.mojang.serialization.Codec<Holder<WolfVariant>> WolfVariant.CODECprivate static final EntityDataAccessor<Holder<WolfSoundVariant>> private static final EntityDataAccessor<Holder<WolfVariant>> Wolf.DATA_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<WolfSoundVariant>> WolfSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<WolfVariant>> WolfVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal.wolf that return HolderModifier and TypeMethodDescriptionWolfSoundVariant.ambientSound()Returns the value of theambientSoundrecord component.WolfSoundVariant.deathSound()Returns the value of thedeathSoundrecord component.private Holder<WolfSoundVariant> Wolf.getSoundVariant()private Holder<WolfVariant> Wolf.getVariant()WolfSoundVariant.growlSound()Returns the value of thegrowlSoundrecord component.WolfSoundVariant.hurtSound()Returns the value of thehurtSoundrecord component.WolfSoundVariant.pantSound()Returns the value of thepantSoundrecord component.static Holder<WolfSoundVariant> WolfSoundVariants.pickRandomSoundVariant(RegistryAccess pRegistryAccess, RandomSource pRandom) WolfSoundVariant.whineSound()Returns the value of thewhineSoundrecord component.Methods in net.minecraft.world.entity.animal.wolf that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic Optional<? extends Holder<WolfVariant>> WolfVariants.selectVariantToSpawn(RandomSource pRandom, RegistryAccess pRegistryAccess, SpawnContext pContext) Methods in net.minecraft.world.entity.animal.wolf with parameters of type HolderModifier and TypeMethodDescriptionprivate voidWolf.setSoundVariant(Holder<WolfSoundVariant> pSoundVariant) private voidWolf.setVariant(Holder<WolfVariant> pVariant) Constructors in net.minecraft.world.entity.animal.wolf with parameters of type HolderModifierConstructorDescriptionWolfPackData(Holder<WolfVariant> pType) WolfSoundVariant(Holder<SoundEvent> ambientSound, Holder<SoundEvent> deathSound, Holder<SoundEvent> growlSound, Holder<SoundEvent> hurtSound, Holder<SoundEvent> pantSound, Holder<SoundEvent> whineSound) Creates an instance of aWolfSoundVariantrecord class. -
Uses of Holder in net.minecraft.world.entity.decoration
Fields in net.minecraft.world.entity.decoration with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<PaintingVariant>> PaintingVariant.CODECprivate static final EntityDataAccessor<Holder<PaintingVariant>> Painting.DATA_PAINTING_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PaintingVariant>> PaintingVariant.STREAM_CODECMethods in net.minecraft.world.entity.decoration that return HolderMethods in net.minecraft.world.entity.decoration with parameters of type HolderModifier and TypeMethodDescriptionprivate voidPainting.setVariant(Holder<PaintingVariant> pVariant) private static intPainting.variantArea(Holder<PaintingVariant> pVariant) Constructors in net.minecraft.world.entity.decoration with parameters of type Holder -
Uses of Holder in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as HolderMethods in net.minecraft.world.entity.monster that return HolderModifier and TypeMethodDescriptionprotected Holder<SoundEvent> Strider.getEquipSound(EquipmentSlot p_397775_, ItemStack p_397723_, Equippable p_397102_) -
Uses of Holder in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type HolderModifier and TypeMethodDescriptionbooleanWarden.VibrationUser.canReceiveVibration(ServerLevel p_282574_, BlockPos p_282323_, Holder<GameEvent> p_316784_, GameEvent.Context p_282515_) voidWarden.VibrationUser.onReceiveVibration(ServerLevel p_281325_, BlockPos p_282386_, Holder<GameEvent> p_316139_, Entity p_281438_, Entity p_282582_, float p_283699_) -
Uses of Holder in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc declared as HolderModifier and TypeFieldDescriptionprivate final Holder<MapDecorationType> VillagerTrades.TreasureMapForEmeralds.destinationTypeprivate final Holder<VillagerProfession> VillagerData.professionThe field for theprofessionrecord component.private final Holder<VillagerType> VillagerData.typeThe field for thetyperecord component.Fields in net.minecraft.world.entity.npc with type parameters of type HolderModifier and TypeFieldDescriptionVillagerProfession.acquirableJobSiteThe field for theacquirableJobSiterecord component.VillagerProfession.ALL_ACQUIRABLE_JOBSstatic final com.mojang.serialization.Codec<Holder<VillagerType>> VillagerType.CODECVillagerProfession.heldJobSiteThe field for theheldJobSiterecord component.static final Map<MemoryModuleType<GlobalPos>, BiPredicate<Villager, Holder<PoiType>>> Villager.POI_MEMORIESstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<VillagerType>> VillagerType.STREAM_CODECMethods in net.minecraft.world.entity.npc that return HolderModifier and TypeMethodDescriptionVillagerData.profession()Returns the value of theprofessionrecord component.VillagerData.type()Returns the value of thetyperecord component.Methods in net.minecraft.world.entity.npc that return types with arguments of type HolderModifier and TypeMethodDescriptionVillagerProfession.acquirableJobSite()Returns the value of theacquirableJobSiterecord component.VillagerProfession.heldJobSite()Returns the value of theheldJobSiterecord component.Methods in net.minecraft.world.entity.npc with parameters of type HolderModifier and TypeMethodDescriptionstatic ResourceKey<VillagerType> private static ItemStackprivate static ItemCostVillagerTrades.potionCost(Holder<Potion> pPotion) VillagerData.withProfession(Holder<VillagerProfession> pProfession) VillagerData.withType(Holder<VillagerType> pType) Method parameters in net.minecraft.world.entity.npc with type arguments of type HolderModifier and TypeMethodDescriptionprivate static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pName, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pName, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, SoundEvent pWorkSound) Constructors in net.minecraft.world.entity.npc with parameters of type HolderModifierConstructorDescriptionSuspiciousStewForEmerald(Holder<MobEffect> pEffect, int pDuration, int pXp) TreasureMapForEmeralds(int pEmeraldCost, TagKey<Structure> pDestination, String pDisplayName, Holder<MapDecorationType> pDestinationType, int pMaxUses, int pVillagerXp) Villager(EntityType<? extends Villager> pEntityType, Level pLevel, Holder<VillagerType> pVillagerType) VillagerData(Holder<VillagerType> type, Holder<VillagerProfession> profession, int level) Creates an instance of aVillagerDatarecord class.Constructor parameters in net.minecraft.world.entity.npc with type arguments of type HolderModifierConstructorDescriptionVillagerProfession(Component name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, SoundEvent workSound) Creates an instance of aVillagerProfessionrecord class. -
Uses of Holder in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player with type parameters of type HolderModifier and TypeFieldDescriptionprivate final StackedContents<Holder<Item>> StackedItemContents.rawMethods in net.minecraft.world.entity.player with parameters of type HolderModifier and TypeMethodDescriptionintInventory.findSlotMatchingCraftingIngredient(Holder<Item> pItem, ItemStack pStack) Method parameters in net.minecraft.world.entity.player with type arguments of type HolderModifier and TypeMethodDescriptionprivate booleanStackedItemContents.canCraft(List<? extends StackedContents.IngredientInfo<Holder<Item>>> pIngredients, int pMaxCount, StackedContents.Output<Holder<Item>> pOutput) private booleanStackedItemContents.canCraft(List<? extends StackedContents.IngredientInfo<Holder<Item>>> pIngredients, int pMaxCount, StackedContents.Output<Holder<Item>> pOutput) booleanStackedItemContents.canCraft(List<? extends StackedContents.IngredientInfo<Holder<Item>>> pIngredients, StackedContents.Output<Holder<Item>> pOutput) booleanStackedItemContents.canCraft(List<? extends StackedContents.IngredientInfo<Holder<Item>>> pIngredients, StackedContents.Output<Holder<Item>> pOutput) booleanStackedItemContents.canCraft(Recipe<?> pRecipe, int pMaxCount, StackedContents.Output<Holder<Item>> pOutput) booleanStackedItemContents.canCraft(Recipe<?> pRecipe, StackedContents.Output<Holder<Item>> pOutput) intStackedItemContents.getBiggestCraftableStack(Recipe<?> pRecipe, int pMaxCount, StackedContents.Output<Holder<Item>> pOutput) intStackedItemContents.getBiggestCraftableStack(Recipe<?> pRecipe, StackedContents.Output<Holder<Item>> pOutput) -
Uses of Holder in net.minecraft.world.entity.raid
Methods in net.minecraft.world.entity.raid with parameters of type HolderModifier and TypeMethodDescriptionstatic SavedDataType<Raids> Raids.getType(Holder<DimensionType> pDimension) -
Uses of Holder in net.minecraft.world.entity.variant
Fields in net.minecraft.world.entity.variant declared as HolderMethods in net.minecraft.world.entity.variant that return HolderModifier and TypeMethodDescriptionSpawnContext.biome()Returns the value of thebiomerecord component.static <T> Holder<T> VariantUtils.getAny(RegistryAccess pRegistryAccess, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> Holder<T> VariantUtils.getDefaultOrAny(RegistryAccess pRegistryAccess, ResourceKey<T> pKey) Methods in net.minecraft.world.entity.variant that return types with arguments of type HolderModifier and TypeMethodDescriptionVariantUtils.readVariant(CompoundTag pTag, RegistryAccess pRegistryAccess, ResourceKey<? extends Registry<T>> pRegistryKey) Methods in net.minecraft.world.entity.variant with parameters of type HolderModifier and TypeMethodDescriptionstatic <T> voidVariantUtils.writeVariant(CompoundTag pTag, Holder<T> pVariant) Constructors in net.minecraft.world.entity.variant with parameters of type HolderModifierConstructorDescriptionSpawnContext(BlockPos pos, ServerLevelAccessor level, Holder<Biome> biome) Creates an instance of aSpawnContextrecord class. -
Uses of Holder in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory with type parameters of type HolderMethods in net.minecraft.world.inventory that return HolderModifier and TypeMethodDescriptionBeaconMenu.decodeEffect(int pEffectId) BeaconMenu.getPrimaryEffect()BeaconMenu.getSecondaryEffect()Methods in net.minecraft.world.inventory that return types with arguments of type HolderModifier and TypeMethodDescriptionLoomMenu.getSelectablePatterns()private List<Holder<BannerPattern>> LoomMenu.getSelectablePatterns(ItemStack pStack) Methods in net.minecraft.world.inventory with parameters of type HolderModifier and TypeMethodDescriptionstatic intBeaconMenu.encodeEffect(Holder<MobEffect> pEffect) private voidLoomMenu.setupResultSlot(Holder<BannerPattern> pPattern) Creates an output banner ItemStack based on the patterns, dyes, etc. in the loom.Method parameters in net.minecraft.world.inventory with type arguments of type Holder -
Uses of Holder in net.minecraft.world.item
Fields in net.minecraft.world.item declared as HolderModifier and TypeFieldDescriptionprivate Holder<JukeboxSong> JukeboxSongPlayer.songprivate final Holder<SoundEvent> Instrument.soundEventThe field for thesoundEventrecord component.private final Holder<SoundEvent> JukeboxSong.soundEventThe field for thesoundEventrecord component.Fields in net.minecraft.world.item with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<Instrument>> Instrument.CODECItem.CODECstatic final com.mojang.serialization.Codec<Holder<JukeboxSong>> JukeboxSong.CODECprivate final com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> EitherHolder.contentsThe field for thecontentsrecord component.private final Optional<Holder<SoundEvent>> CrossbowItem.ChargingSounds.endThe field for theendrecord component.private final Optional<Holder<SoundEvent>> CrossbowItem.ChargingSounds.midThe field for themidrecord component.private static final Comparator<Holder<PaintingVariant>> CreativeModeTabs.PAINTING_COMPARATORprivate final Optional<Holder<SoundEvent>> CrossbowItem.ChargingSounds.startThe field for thestartrecord component.static final StreamCodec<RegistryFriendlyByteBuf, Holder<Instrument>> Instrument.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Item>> Item.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<JukeboxSong>> JukeboxSong.STREAM_CODECMethods in net.minecraft.world.item that return HolderModifier and TypeMethodDescriptionItemStack.getItemHolder()Instrument.soundEvent()Returns the value of thesoundEventrecord component.JukeboxSong.soundEvent()Returns the value of thesoundEventrecord component.Methods in net.minecraft.world.item that return types with arguments of type HolderModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> EitherHolder.contents()Returns the value of thecontentsrecord component.CrossbowItem.ChargingSounds.end()Returns the value of theendrecord component.static Optional<Holder<JukeboxSong>> JukeboxSong.fromStack(HolderLookup.Provider pRegistries, ItemStack pStack) private Optional<Holder<Instrument>> InstrumentItem.getInstrument(ItemStack pStack, HolderLookup.Provider pRegistries) CrossbowItem.ChargingSounds.mid()Returns the value of themidrecord component.CrossbowItem.ChargingSounds.start()Returns the value of thestartrecord component.EitherHolder.unwrap(HolderLookup.Provider pRegistries) Methods in net.minecraft.world.item with parameters of type HolderModifier and TypeMethodDescriptionprivate voidItemStack.addModifierTooltip(Consumer<Component> pTooltipAdder, Player pPlayer, Holder<Attribute> pAttribute, AttributeModifier pModifier) static ItemStackInstrumentItem.create(Item pItem, Holder<Instrument> pInstrument) voidItemStack.enchant(Holder<Enchantment> pEnchantment, int pLevel) booleanvoidJukeboxSongPlayer.play(LevelAccessor pLevel, Holder<JukeboxSong> pSong) static voidInstruments.register(BootstrapContext<Instrument> pContext, ResourceKey<Instrument> pKey, Holder<SoundEvent> pSoundEvent, float pUseDuration, float pRange) voidJukeboxSongPlayer.setSongWithoutPlaying(Holder<JukeboxSong> pSong, long pTicksSinceSongStarted) Method parameters in net.minecraft.world.item with type arguments of type HolderModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<EitherHolder<T>> EitherHolder.codec(ResourceKey<Registry<T>> pRegistryKey, com.mojang.serialization.Codec<Holder<T>> pCodec) CreativeModeTab.Builder.displayItems(Collection<? extends Holder<? extends ItemLike>> collection) Helper to set this tabs contents to everything in the supplied Collection of Holders.voidItemStack.forEachModifier(EquipmentSlotGroup pSlotGroup, BiConsumer<Holder<Attribute>, AttributeModifier> pAction) voidItemStack.forEachModifier(EquipmentSlot pEquipmentSLot, BiConsumer<Holder<Attribute>, AttributeModifier> pAction) private static voidCreativeModeTabs.generatePresetPaintings(CreativeModeTab.Output pOutput, HolderLookup.Provider pRegistries, HolderLookup.RegistryLookup<PaintingVariant> pPaintingVariants, Predicate<Holder<PaintingVariant>> pPredicate, CreativeModeTab.TabVisibility pTabVisibility) booleanstatic <T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec(ResourceKey<Registry<T>> pRegistryKey, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> pStreamCodec) Constructors in net.minecraft.world.item with parameters of type HolderModifierConstructorDescriptionEitherHolder(Holder<T> p_350710_) Instrument(Holder<SoundEvent> soundEvent, float useDuration, float range, Component description) Creates an instance of aInstrumentrecord class.ItemStack(Holder<Item> pTag, int pCount, DataComponentPatch pComponents) JukeboxSong(Holder<SoundEvent> soundEvent, Component description, float lengthInSeconds, int comparatorOutput) Creates an instance of aJukeboxSongrecord class.Constructor parameters in net.minecraft.world.item with type arguments of type HolderModifierConstructorDescriptionChargingSounds(Optional<Holder<SoundEvent>> start, Optional<Holder<SoundEvent>> mid, Optional<Holder<SoundEvent>> end) Creates an instance of aChargingSoundsrecord class.EitherHolder(com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> contents) Creates an instance of aEitherHolderrecord class. -
Uses of Holder in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as HolderModifier and TypeFieldDescriptionPotions.AWKWARDPotions.FIRE_RESISTANCEPotionBrewing.Mix.fromThe field for thefromrecord component.Potions.HARMINGPotions.HEALINGPotions.INFESTEDPotions.INVISIBILITYPotions.LEAPINGPotions.LONG_FIRE_RESISTANCEPotions.LONG_INVISIBILITYPotions.LONG_LEAPINGPotions.LONG_NIGHT_VISIONPotions.LONG_POISONPotions.LONG_REGENERATIONPotions.LONG_SLOW_FALLINGPotions.LONG_SLOWNESSPotions.LONG_STRENGTHPotions.LONG_SWIFTNESSPotions.LONG_TURTLE_MASTERPotions.LONG_WATER_BREATHINGPotions.LONG_WEAKNESSPotions.LUCKPotions.MUNDANEPotions.NIGHT_VISIONPotions.OOZINGPotions.POISONPotions.REGENERATIONPotions.SLOW_FALLINGPotions.SLOWNESSPotions.STRENGTHPotions.STRONG_HARMINGPotions.STRONG_HEALINGPotions.STRONG_LEAPINGPotions.STRONG_POISONPotions.STRONG_REGENERATIONPotions.STRONG_SLOWNESSPotions.STRONG_STRENGTHPotions.STRONG_SWIFTNESSPotions.STRONG_TURTLE_MASTERPotions.SWIFTNESSPotions.THICKPotionBrewing.Mix.toThe field for thetorecord component.Potions.TURTLE_MASTERPotions.WATERPotions.WATER_BREATHINGPotions.WEAKNESSPotions.WEAVINGPotions.WIND_CHARGEDFields in net.minecraft.world.item.alchemy with type parameters of type HolderModifier and TypeFieldDescriptionPotion.CODECPotionContents.potionThe field for thepotionrecord component.static final StreamCodec<RegistryFriendlyByteBuf, Holder<Potion>> Potion.STREAM_CODECMethods in net.minecraft.world.item.alchemy that return HolderModifier and TypeMethodDescriptionPotionBrewing.Mix.from()Returns the value of thefromrecord component.PotionBrewing.Mix.to()Returns the value of thetorecord component.Methods in net.minecraft.world.item.alchemy that return types with arguments of type HolderModifier and TypeMethodDescriptionPotionContents.potion()Returns the value of thepotionrecord component.Methods in net.minecraft.world.item.alchemy with parameters of type HolderModifier and TypeMethodDescriptionvoidvoidPotionBrewing.Builder.addStartMix(Item pReagent, Holder<Potion> pResult) static ItemStackPotionContents.createItemStack(Item pItem, Holder<Potion> pPotion) static MutableComponentPotionContents.getPotionDescription(Holder<MobEffect> pEffect, int pLevel) booleanbooleanPotionBrewing.isBrewablePotion(Holder<Potion> pPotion) PotionContents.withPotion(Holder<Potion> pPotion) Constructors in net.minecraft.world.item.alchemy with parameters of type HolderModifierConstructorDescription(package private)Creates an instance of aMixrecord class.PotionContents(Holder<Potion> p_331208_) Constructor parameters in net.minecraft.world.item.alchemy with type arguments of type HolderModifierConstructorDescriptionPotionContents(Optional<Holder<Potion>> potion, Optional<Integer> customColor, List<MobEffectInstance> customEffects, Optional<String> customName) Creates an instance of aPotionContentsrecord class. -
Uses of Holder in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as HolderModifier and TypeFieldDescriptionItemAttributeModifiers.Entry.attributeThe field for theattributerecord component.SuspiciousStewEffects.Entry.effectThe field for theeffectrecord component.private Holder<SoundEvent> Consumable.Builder.soundprivate final Holder<SoundEvent> Consumable.soundThe field for thesoundrecord component.private final Holder<MapDecorationType> MapDecorations.Entry.typeThe field for thetyperecord component.Fields in net.minecraft.world.item.component with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Optional<Holder<SoundEvent>> BlocksAttacks.blockSoundThe field for theblockSoundrecord component.private final Optional<Holder<SoundEvent>> BlocksAttacks.disableSoundThe field for thedisableSoundrecord component.DebugStickState.propertiesThe field for thepropertiesrecord component.Methods in net.minecraft.world.item.component that return HolderModifier and TypeMethodDescriptionItemAttributeModifiers.Entry.attribute()Returns the value of theattributerecord component.SuspiciousStewEffects.Entry.effect()Returns the value of theeffectrecord component.Consumable.sound()Returns the value of thesoundrecord component.MapDecorations.Entry.type()Returns the value of thetyperecord component.Methods in net.minecraft.world.item.component that return types with arguments of type HolderModifier and TypeMethodDescriptionBlocksAttacks.blockSound()Returns the value of theblockSoundrecord component.BlocksAttacks.disableSound()Returns the value of thedisableSoundrecord component.DebugStickState.properties()Returns the value of thepropertiesrecord component.InstrumentComponent.unwrap(HolderLookup.Provider pRegistries) ProvidesTrimMaterial.unwrap(HolderLookup.Provider pRegistries) Methods in net.minecraft.world.item.component with parameters of type HolderModifier and TypeMethodDescriptionItemAttributeModifiers.Builder.add(Holder<Attribute> pAttribute, AttributeModifier pModifier, EquipmentSlotGroup pSlot) booleanItemAttributeModifiers.Entry.matches(Holder<Attribute> pAttribute, ResourceLocation pId) Consumable.Builder.sound(Holder<SoundEvent> pSound) Consumable.Builder.soundAfterConsume(Holder<SoundEvent> pConsumptionSound) ItemAttributeModifiers.withModifierAdded(Holder<Attribute> pAttribute, AttributeModifier pModifier, EquipmentSlotGroup pSlot) DebugStickState.withProperty(Holder<Block> pBlock, Property<?> pProperty) Method parameters in net.minecraft.world.item.component with type arguments of type HolderModifier and TypeMethodDescriptionvoidItemAttributeModifiers.forEach(EquipmentSlotGroup pSlotGroup, BiConsumer<Holder<Attribute>, AttributeModifier> pAction) voidItemAttributeModifiers.forEach(EquipmentSlot pEquipmentSlot, BiConsumer<Holder<Attribute>, AttributeModifier> pAction) Constructors in net.minecraft.world.item.component with parameters of type HolderModifierConstructorDescriptionConsumable(float consumeSeconds, ItemUseAnimation animation, Holder<SoundEvent> sound, boolean hasConsumeParticles, List<ConsumeEffect> onConsumeEffects) Creates an instance of aConsumablerecord class.Entry(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Creates an instance of aEntryrecord class.Entry(Holder<MapDecorationType> type, double x, double z, float rotation) Creates an instance of aEntryrecord class.Creates an instance of aEntryrecord class.InstrumentComponent(Holder<Instrument> p_399918_) ProvidesTrimMaterial(Holder<TrimMaterial> p_400173_) Constructor parameters in net.minecraft.world.item.component with type arguments of type HolderModifierConstructorDescriptionDebugStickState(Map<Holder<Block>, Property<?>> properties) Creates an instance of aDebugStickStaterecord class. -
Uses of Holder in net.minecraft.world.item.consume_effects
Fields in net.minecraft.world.item.consume_effects declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> PlaySoundConsumeEffect.soundThe field for thesoundrecord component.Methods in net.minecraft.world.item.consume_effects that return HolderModifier and TypeMethodDescriptionPlaySoundConsumeEffect.sound()Returns the value of thesoundrecord component.Constructors in net.minecraft.world.item.consume_effects with parameters of type HolderModifierConstructorDescriptionPlaySoundConsumeEffect(Holder<SoundEvent> sound) Creates an instance of aPlaySoundConsumeEffectrecord class.RemoveStatusEffectsConsumeEffect(Holder<MobEffect> p_366636_) -
Uses of Holder in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as HolderModifier and TypeFieldDescriptionTransmuteResult.itemThe field for theitemrecord component.(package private) final Holder<TrimPattern> SmithingTrimRecipe.patternFields in net.minecraft.world.item.crafting with type parameters of type HolderMethods in net.minecraft.world.item.crafting that return HolderModifier and TypeMethodDescriptionTransmuteResult.item()Returns the value of theitemrecord component.Methods in net.minecraft.world.item.crafting that return types with arguments of type HolderModifier and TypeMethodDescriptionIngredient.items()Deprecated.Ingredient.updateCustomIngredientValues()Methods in net.minecraft.world.item.crafting with parameters of type HolderModifier and TypeMethodDescriptionbooleanIngredient.acceptsItem(Holder<Item> p_389400_) static ItemStackSmithingTrimRecipe.applyTrim(HolderLookup.Provider pRegistries, ItemStack pBase, ItemStack pAddition, Holder<TrimPattern> pPattern) static SlotDisplayIngredient.displayForSingleItem(Holder<Item> pItem) Constructors in net.minecraft.world.item.crafting with parameters of type HolderModifierConstructorDescriptionSmithingTrimRecipe(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, Holder<TrimPattern> pPattern) TransmuteResult(Holder<Item> item, int count, DataComponentPatch components) Creates an instance of aTransmuteResultrecord class.Constructor parameters in net.minecraft.world.item.crafting with type arguments of type Holder -
Uses of Holder in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display declared as HolderModifier and TypeFieldDescriptionSlotDisplay.ItemSlotDisplay.itemThe field for theitemrecord component.private final Holder<TrimPattern> SlotDisplay.SmithingTrimDemoSlotDisplay.patternThe field for thepatternrecord component.Methods in net.minecraft.world.item.crafting.display that return HolderModifier and TypeMethodDescriptionSlotDisplay.ItemSlotDisplay.item()Returns the value of theitemrecord component.SlotDisplay.SmithingTrimDemoSlotDisplay.pattern()Returns the value of thepatternrecord component.Methods in net.minecraft.world.item.crafting.display with parameters of type HolderConstructors in net.minecraft.world.item.crafting.display with parameters of type HolderModifierConstructorDescriptionItemSlotDisplay(Holder<Item> item) Creates an instance of aItemSlotDisplayrecord class.SmithingTrimDemoSlotDisplay(SlotDisplay base, SlotDisplay material, Holder<TrimPattern> pattern) Creates an instance of aSmithingTrimDemoSlotDisplayrecord class. -
Uses of Holder in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as HolderModifier and TypeFieldDescriptionprivate final Holder<Enchantment> EnchantmentInstance.enchantmentThe field for theenchantmentrecord component.Fields in net.minecraft.world.item.enchantment with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<Enchantment>> Enchantment.CODEC(package private) final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>> ItemEnchantments.enchantmentsprivate final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>> ItemEnchantments.Mutable.enchantmentsstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Enchantment>> Enchantment.STREAM_CODECstatic final DataComponentType<List<Holder<SoundEvent>>> EnchantmentEffectComponents.TRIDENT_SOUNDMethods in net.minecraft.world.item.enchantment that return HolderModifier and TypeMethodDescriptionEnchantmentInstance.enchantment()Returns the value of theenchantmentrecord component.Methods in net.minecraft.world.item.enchantment that return types with arguments of type HolderModifier and TypeMethodDescriptionSet<it.unimi.dsi.fastutil.objects.Object2IntMap.Entry<Holder<Enchantment>>> ItemEnchantments.entrySet()ItemEnchantments.keySet()ItemEnchantments.Mutable.keySet()Methods in net.minecraft.world.item.enchantment with parameters of type HolderModifier and TypeMethodDescriptionvoidEnchantmentHelper.EnchantmentInSlotVisitor.accept(Holder<Enchantment> pEnchantment, int pLevel, EnchantedItemInUse pItem) voidEnchantmentHelper.EnchantmentVisitor.accept(Holder<Enchantment> pEnchantment, int pLevel) static booleanEnchantment.areCompatible(Holder<Enchantment> pFirst, Holder<Enchantment> pSecond) static intEnchantmentHelper.getEnchantmentLevel(Holder<Enchantment> pEnchantment, LivingEntity pEntity) static ComponentEnchantment.getFullname(Holder<Enchantment> pEnchantment, int pLevel) static intEnchantmentHelper.getItemEnchantmentLevel(Holder<Enchantment> pEnchantment, ItemStack pStack) Deprecated.intItemEnchantments.getLevel(Holder<Enchantment> pEnchantment) intItemEnchantments.Mutable.getLevel(Holder<Enchantment> pEnchantment) static intEnchantmentHelper.getTagEnchantmentLevel(Holder<Enchantment> p_346179_, ItemStack p_44845_) Gets the level of an enchantment from NBT.static booleanEnchantmentHelper.isEnchantmentCompatible(Collection<Holder<Enchantment>> pCurrentEnchantments, Holder<Enchantment> pNewEnchantment) voidItemEnchantments.Mutable.set(Holder<Enchantment> pEnchantment, int pLevel) voidItemEnchantments.Mutable.upgrade(Holder<Enchantment> pEnchantment, int pLevel) Method parameters in net.minecraft.world.item.enchantment with type arguments of type HolderModifier and TypeMethodDescriptionstatic ItemStackEnchantmentHelper.enchantItem(RandomSource pRandom, ItemStack pStack, int pLevel, Stream<Holder<Enchantment>> pPossibleEnchantments) static voidEnchantmentHelper.forEachModifier(ItemStack pStack, EquipmentSlotGroup pSlotGroup, BiConsumer<Holder<Attribute>, AttributeModifier> pAction) static voidEnchantmentHelper.forEachModifier(ItemStack pStack, EquipmentSlot pSlot, BiConsumer<Holder<Attribute>, AttributeModifier> pAction) static List<EnchantmentInstance> EnchantmentHelper.getAvailableEnchantmentResults(int pLevel, ItemStack pStack, Stream<Holder<Enchantment>> pPossibleEnchantments) static booleanEnchantmentHelper.isEnchantmentCompatible(Collection<Holder<Enchantment>> pCurrentEnchantments, Holder<Enchantment> pNewEnchantment) voidItemEnchantments.Mutable.removeIf(Predicate<Holder<Enchantment>> pPredicate) static List<EnchantmentInstance> EnchantmentHelper.selectEnchantment(RandomSource pRandom, ItemStack pStack, int pLevel, Stream<Holder<Enchantment>> pPossibleEnchantments) Constructors in net.minecraft.world.item.enchantment with parameters of type HolderModifierConstructorDescriptionEnchantmentInstance(Holder<Enchantment> enchantment, int level) Creates an instance of aEnchantmentInstancerecord class.Constructor parameters in net.minecraft.world.item.enchantment with type arguments of type HolderModifierConstructorDescription(package private)ItemEnchantments(it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>> pEnchantments) -
Uses of Holder in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as HolderModifier and TypeFieldDescriptionEnchantmentAttributeEffect.attributeThe field for theattributerecord component.private final Holder<DamageType> DamageEntity.damageTypeThe field for thedamageTyperecord component.private final Holder<SoundEvent> ExplodeEffect.soundThe field for thesoundrecord component.private final Holder<SoundEvent> PlaySoundEffect.soundEventThe field for thesoundEventrecord component.Fields in net.minecraft.world.item.enchantment.effects with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Optional<Holder<DamageType>> ExplodeEffect.damageTypeThe field for thedamageTyperecord component.ReplaceBlock.triggerGameEventThe field for thetriggerGameEventrecord component.ReplaceDisk.triggerGameEventThe field for thetriggerGameEventrecord component.SetBlockProperties.triggerGameEventThe field for thetriggerGameEventrecord component.Methods in net.minecraft.world.item.enchantment.effects that return HolderModifier and TypeMethodDescriptionEnchantmentAttributeEffect.attribute()Returns the value of theattributerecord component.DamageEntity.damageType()Returns the value of thedamageTyperecord component.ExplodeEffect.sound()Returns the value of thesoundrecord component.PlaySoundEffect.soundEvent()Returns the value of thesoundEventrecord component.Methods in net.minecraft.world.item.enchantment.effects that return types with arguments of type HolderModifier and TypeMethodDescriptionExplodeEffect.damageType()Returns the value of thedamageTyperecord component.private HashMultimap<Holder<Attribute>, AttributeModifier> EnchantmentAttributeEffect.makeAttributeMap(int pEnchantmentLevel, EquipmentSlot pSlot) ReplaceBlock.triggerGameEvent()Returns the value of thetriggerGameEventrecord component.ReplaceDisk.triggerGameEvent()Returns the value of thetriggerGameEventrecord component.SetBlockProperties.triggerGameEvent()Returns the value of thetriggerGameEventrecord component.Constructors in net.minecraft.world.item.enchantment.effects with parameters of type HolderModifierConstructorDescriptionDamageEntity(LevelBasedValue minDamage, LevelBasedValue maxDamage, Holder<DamageType> damageType) Creates an instance of aDamageEntityrecord class.EnchantmentAttributeEffect(ResourceLocation id, Holder<Attribute> attribute, LevelBasedValue amount, AttributeModifier.Operation operation) Creates an instance of aEnchantmentAttributeEffectrecord class.ExplodeEffect(boolean attributeToUser, Optional<Holder<DamageType>> damageType, Optional<LevelBasedValue> knockbackMultiplier, Optional<HolderSet<Block>> immuneBlocks, Vec3 offset, LevelBasedValue radius, boolean createFire, Level.ExplosionInteraction blockInteraction, ParticleOptions smallParticle, ParticleOptions largeParticle, Holder<SoundEvent> sound) Creates an instance of aExplodeEffectrecord class.PlaySoundEffect(Holder<SoundEvent> soundEvent, FloatProvider volume, FloatProvider pitch) Creates an instance of aPlaySoundEffectrecord class.Constructor parameters in net.minecraft.world.item.enchantment.effects with type arguments of type HolderModifierConstructorDescriptionExplodeEffect(boolean attributeToUser, Optional<Holder<DamageType>> damageType, Optional<LevelBasedValue> knockbackMultiplier, Optional<HolderSet<Block>> immuneBlocks, Vec3 offset, LevelBasedValue radius, boolean createFire, Level.ExplosionInteraction blockInteraction, ParticleOptions smallParticle, ParticleOptions largeParticle, Holder<SoundEvent> sound) Creates an instance of aExplodeEffectrecord class.SetBlockProperties(BlockItemStateProperties properties, Vec3i offset, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aSetBlockPropertiesrecord class. -
Uses of Holder in net.minecraft.world.item.enchantment.providers
Fields in net.minecraft.world.item.enchantment.providers declared as HolderModifier and TypeFieldDescriptionprivate final Holder<Enchantment> SingleEnchantment.enchantmentThe field for theenchantmentrecord component.Methods in net.minecraft.world.item.enchantment.providers that return HolderModifier and TypeMethodDescriptionSingleEnchantment.enchantment()Returns the value of theenchantmentrecord component.Constructors in net.minecraft.world.item.enchantment.providers with parameters of type HolderModifierConstructorDescriptionSingleEnchantment(Holder<Enchantment> enchantment, IntProvider level) Creates an instance of aSingleEnchantmentrecord class. -
Uses of Holder in net.minecraft.world.item.equipment
Fields in net.minecraft.world.item.equipment declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> ArmorMaterial.equipSoundThe field for theequipSoundrecord component.private Holder<SoundEvent> Equippable.Builder.equipSoundprivate final Holder<SoundEvent> Equippable.equipSoundThe field for theequipSoundrecord component.Methods in net.minecraft.world.item.equipment that return HolderModifier and TypeMethodDescriptionArmorMaterial.equipSound()Returns the value of theequipSoundrecord component.Equippable.equipSound()Returns the value of theequipSoundrecord component.Methods in net.minecraft.world.item.equipment with parameters of type HolderModifier and TypeMethodDescriptionEquippable.Builder.setEquipSound(Holder<SoundEvent> pEquipSound) Constructors in net.minecraft.world.item.equipment with parameters of type HolderModifierConstructorDescriptionArmorMaterial(int durability, Map<ArmorType, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, TagKey<Item> repairIngredient, ResourceKey<EquipmentAsset> assetId) Creates an instance of aArmorMaterialrecord class.Equippable(EquipmentSlot slot, Holder<SoundEvent> equipSound, Optional<ResourceKey<EquipmentAsset>> assetId, Optional<ResourceLocation> cameraOverlay, Optional<HolderSet<EntityType<?>>> allowedEntities, boolean dispensable, boolean swappable, boolean damageOnHurt, boolean equipOnInteract) Creates an instance of aEquippablerecord class. -
Uses of Holder in net.minecraft.world.item.equipment.trim
Fields in net.minecraft.world.item.equipment.trim declared as HolderModifier and TypeFieldDescriptionprivate final Holder<TrimMaterial> ArmorTrim.materialThe field for thematerialrecord component.private final Holder<TrimPattern> ArmorTrim.patternThe field for thepatternrecord component.Fields in net.minecraft.world.item.equipment.trim with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<TrimMaterial>> TrimMaterial.CODECstatic final com.mojang.serialization.Codec<Holder<TrimPattern>> TrimPattern.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimMaterial>> TrimMaterial.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimPattern>> TrimPattern.STREAM_CODECMethods in net.minecraft.world.item.equipment.trim that return HolderModifier and TypeMethodDescriptionArmorTrim.material()Returns the value of thematerialrecord component.ArmorTrim.pattern()Returns the value of thepatternrecord component.Methods in net.minecraft.world.item.equipment.trim that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic Optional<Holder<TrimMaterial>> TrimMaterials.getFromIngredient(HolderLookup.Provider pRegistries, ItemStack pIngredient) Methods in net.minecraft.world.item.equipment.trim with parameters of type HolderConstructors in net.minecraft.world.item.equipment.trim with parameters of type HolderModifierConstructorDescriptionArmorTrim(Holder<TrimMaterial> material, Holder<TrimPattern> pattern) Creates an instance of aArmorTrimrecord class. -
Uses of Holder in net.minecraft.world.item.trading
Fields in net.minecraft.world.item.trading declared as HolderMethods in net.minecraft.world.item.trading that return HolderModifier and TypeMethodDescriptionItemCost.item()Returns the value of theitemrecord component.Methods in net.minecraft.world.item.trading with parameters of type HolderModifier and TypeMethodDescriptionprivate static ItemStackItemCost.createStack(Holder<Item> pItem, int pCount, DataComponentExactPredicate pComponents) Constructors in net.minecraft.world.item.trading with parameters of type HolderModifierConstructorDescriptionItemCost(Holder<Item> p_330702_, int p_331182_, DataComponentExactPredicate p_399998_) ItemCost(Holder<Item> item, int count, DataComponentExactPredicate components, ItemStack itemStack) Creates an instance of aItemCostrecord class. -
Uses of Holder in net.minecraft.world.level
Fields in net.minecraft.world.level declared as HolderFields in net.minecraft.world.level with type parameters of type HolderMethods in net.minecraft.world.level that return HolderModifier and TypeMethodDescriptionLevel.dimensionTypeRegistration()LevelReader.getNoiseBiome(int p_204163_, int p_204164_, int p_204165_) LevelReader.getUncachedNoiseBiome(int pX, int pY, int pZ) Methods in net.minecraft.world.level with parameters of type HolderModifier and TypeMethodDescriptionabstract voidLevel.explode(Entity pSource, DamageSource pDamageSource, ExplosionDamageCalculator pDamageCalculator, double pX, double pY, double pZ, float pRadius, boolean pFire, Level.ExplosionInteraction pExplosionInteraction, ParticleOptions pSmallExplosionParticles, ParticleOptions pLargeExplosionParticles, Holder<SoundEvent> pExplosionSound) default voidLevelAccessor.gameEvent(Holder<GameEvent> pGameEvent, BlockPos pPos, GameEvent.Context pContext) voidLevelAccessor.gameEvent(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) default voiddefault voidprivate static WeightedList<MobSpawnSettings.SpawnerData> NaturalSpawner.mobsAt(ServerLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, MobCategory pCetagory, BlockPos pPos, Holder<Biome> pBiome) abstract voidLevel.playSeededSound(Entity pEntity, double pX, double pY, double pZ, Holder<SoundEvent> pSound, SoundSource pSource, float pVolume, float pPitch, long pSeed) abstract voidLevel.playSeededSound(Entity pEntity, Entity pSourceEntity, Holder<SoundEvent> pSound, SoundSource pSource, float pVolume, float pPitch, long pSeed) voidLevel.playSound(Entity pEntity, double pX, double pY, double pZ, Holder<SoundEvent> pSound, SoundSource pSource, float pVolume, float pPitch) static voidNaturalSpawner.spawnMobsForChunkGeneration(ServerLevelAccessor pLevelAccessor, Holder<Biome> pBiome, ChunkPos pChunkPos, RandomSource pRandom) Method parameters in net.minecraft.world.level with type arguments of type HolderModifier and TypeMethodDescriptionStructureManager.getStructureWithPieceAt(BlockPos pPos, Predicate<Holder<Structure>> pPredicate) Constructors in net.minecraft.world.level with parameters of type HolderModifierConstructorDescriptionprotectedLevel(WritableLevelData pLevelData, ResourceKey<Level> pDimension, RegistryAccess pRegistryAccess, Holder<DimensionType> pDimensionTypeRegistration, boolean pIsClientSide, boolean pIsDebug, long pBiomeZoomSeed, int pMaxChainedNeighborUpdates) -
Uses of Holder in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as HolderModifier and TypeFieldDescriptionTheEndBiomeSource.barrensFixedBiomeSource.biomeTheEndBiomeSource.endTheEndBiomeSource.highlandsTheEndBiomeSource.islandsTheEndBiomeSource.midlandsprivate final Holder<SoundEvent> AmbientAdditionsSettings.soundEventprivate final Holder<SoundEvent> AmbientMoodSettings.soundEventFields in net.minecraft.world.level.biome with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Optional<Holder<SoundEvent>> BiomeSpecialEffects.ambientLoopSoundEventprotected Optional<Holder<SoundEvent>> BiomeSpecialEffects.Builder.ambientLoopSoundEventprotected final List<Holder<ConfiguredWorldCarver<?>>> BiomeGenerationSettings.PlainBuilder.carversBiome.CODECstatic final com.mojang.serialization.Codec<Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSourceParameterList.CODECstatic final com.mojang.serialization.MapCodec<Climate.ParameterList<Holder<Biome>>> MultiNoiseBiomeSource.DIRECT_CODECMultiNoiseBiomeSource.ENTRY_CODECprotected final List<List<Holder<PlacedFeature>>> BiomeGenerationSettings.PlainBuilder.featuresprivate final com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.parametersprivate final com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.parametersprivate final Climate.ParameterList<Holder<Biome>> MultiNoiseBiomeSourceParameterList.parametersBiomeSource.possibleBiomesprivate static final com.mojang.serialization.MapCodec<Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.PRESET_CODECMethods in net.minecraft.world.level.biome that return HolderModifier and TypeMethodDescriptionBiomeManager.NoiseBiomeSource.getNoiseBiome(int pX, int pY, int pZ) Gets the biome at the given quart positions.BiomeResolver.getNoiseBiome(int pX, int pY, int pZ, Climate.Sampler pSampler) BiomeSource.getNoiseBiome(int p_204238_, int p_204239_, int p_204240_, Climate.Sampler p_204241_) CheckerboardColumnBiomeSource.getNoiseBiome(int p_204248_, int p_204249_, int p_204250_, Climate.Sampler p_204251_) FixedBiomeSource.getNoiseBiome(int p_204261_, int p_204262_, int p_204263_) FixedBiomeSource.getNoiseBiome(int p_204265_, int p_204266_, int p_204267_, Climate.Sampler p_204268_) MultiNoiseBiomeSource.getNoiseBiome(int p_204272_, int p_204273_, int p_204274_, Climate.Sampler p_204275_) MultiNoiseBiomeSource.getNoiseBiome(Climate.TargetPoint pTargetPoint) TheEndBiomeSource.getNoiseBiome(int p_204292_, int p_204293_, int p_204294_, Climate.Sampler p_204295_) BiomeManager.getNoiseBiomeAtPosition(double pX, double pY, double pZ) BiomeManager.getNoiseBiomeAtPosition(BlockPos pPos) BiomeManager.getNoiseBiomeAtQuart(int pX, int pY, int pZ) AmbientAdditionsSettings.getSoundEvent()AmbientMoodSettings.getSoundEvent()Methods in net.minecraft.world.level.biome that return types with arguments of type HolderModifier and TypeMethodDescriptionBiomeSource.collectPossibleBiomes()CheckerboardColumnBiomeSource.collectPossibleBiomes()FixedBiomeSource.collectPossibleBiomes()MultiNoiseBiomeSource.collectPossibleBiomes()TheEndBiomeSource.collectPossibleBiomes()BiomeSource.findBiomeHorizontal(int pX, int pY, int pZ, int pRadius, int pIncrement, Predicate<Holder<Biome>> pBiomePredicate, RandomSource pRandom, boolean pFindClosest, Climate.Sampler pSampler) BiomeSource.findBiomeHorizontal(int pX, int pY, int pZ, int pRadius, Predicate<Holder<Biome>> pBiomePredicate, RandomSource pRandom, Climate.Sampler pSampler) FixedBiomeSource.findBiomeHorizontal(int p_220640_, int p_220641_, int p_220642_, int p_220643_, int p_220644_, Predicate<Holder<Biome>> p_220645_, RandomSource p_220646_, boolean p_220647_, Climate.Sampler p_220648_) BiomeSource.findClosestBiome3d(BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep, Predicate<Holder<Biome>> pBiomePredicate, Climate.Sampler pSampler, LevelReader pLevel) FixedBiomeSource.findClosestBiome3d(BlockPos p_220650_, int p_220651_, int p_220652_, int p_220653_, Predicate<Holder<Biome>> p_220654_, Climate.Sampler p_220655_, LevelReader p_220656_) Biome.getAmbientLoop()BiomeSpecialEffects.getAmbientLoopSoundEvent()BiomeSource.getBiomesWithin(int pX, int pY, int pZ, int pRadius, Climate.Sampler pSampler) FixedBiomeSource.getBiomesWithin(int p_187038_, int p_187039_, int p_187040_, int p_187041_, Climate.Sampler p_187042_) BiomeGenerationSettings.getCarvers()private Climate.ParameterList<Holder<Biome>> MultiNoiseBiomeSource.parameters()MultiNoiseBiomeSourceParameterList.parameters()BiomeSource.possibleBiomes()Methods in net.minecraft.world.level.biome with parameters of type HolderModifier and TypeMethodDescriptionBiomeGenerationSettings.PlainBuilder.addCarver(Holder<ConfiguredWorldCarver<?>> pCarver) BiomeGenerationSettings.PlainBuilder.addFeature(int pStep, Holder<PlacedFeature> pFeature) BiomeGenerationSettings.PlainBuilder.addFeature(GenerationStep.Decoration pDecoration, Holder<PlacedFeature> pFeature) BiomeSpecialEffects.Builder.ambientLoopSound(Holder<SoundEvent> pAmbientLoopSoundEvent) static MultiNoiseBiomeSourceMultiNoiseBiomeSource.createFromPreset(Holder<MultiNoiseBiomeSourceParameterList> pParameters) Method parameters in net.minecraft.world.level.biome with type arguments of type HolderModifier and TypeMethodDescriptionstatic MultiNoiseBiomeSourceMultiNoiseBiomeSource.createFromList(Climate.ParameterList<Holder<Biome>> pParameters) BiomeSource.findBiomeHorizontal(int pX, int pY, int pZ, int pRadius, int pIncrement, Predicate<Holder<Biome>> pBiomePredicate, RandomSource pRandom, boolean pFindClosest, Climate.Sampler pSampler) BiomeSource.findBiomeHorizontal(int pX, int pY, int pZ, int pRadius, Predicate<Holder<Biome>> pBiomePredicate, RandomSource pRandom, Climate.Sampler pSampler) FixedBiomeSource.findBiomeHorizontal(int p_220640_, int p_220641_, int p_220642_, int p_220643_, int p_220644_, Predicate<Holder<Biome>> p_220645_, RandomSource p_220646_, boolean p_220647_, Climate.Sampler p_220648_) BiomeSource.findClosestBiome3d(BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep, Predicate<Holder<Biome>> pBiomePredicate, Climate.Sampler pSampler, LevelReader pLevel) FixedBiomeSource.findClosestBiome3d(BlockPos p_220650_, int p_220651_, int p_220652_, int p_220653_, Predicate<Holder<Biome>> p_220654_, Climate.Sampler p_220655_, LevelReader p_220656_) Constructors in net.minecraft.world.level.biome with parameters of type HolderModifierConstructorDescriptionAmbientAdditionsSettings(Holder<SoundEvent> pSoundEvent, double pTickChance) AmbientMoodSettings(Holder<SoundEvent> pSoundEvent, int pTickDelay, int pBlockSearchExtent, double pSoundPositionOffset) FixedBiomeSource(Holder<Biome> pBiome) privateTheEndBiomeSource(Holder<Biome> pEnd, Holder<Biome> pHighlands, Holder<Biome> pMidlands, Holder<Biome> pIslands, Holder<Biome> pBarrens) Constructor parameters in net.minecraft.world.level.biome with type arguments of type HolderModifierConstructorDescriptionprivateMultiNoiseBiomeSource(com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> pParameters) privateMultiNoiseBiomeSource(com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> pParameters) -
Uses of Holder in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as HolderMethods in net.minecraft.world.level.block that return types with arguments of type HolderModifier and TypeMethodDescriptionprivate Optional<? extends Holder<ConfiguredFeature<?, ?>>> FungusBlock.getFeature(LevelReader pLevel) Methods in net.minecraft.world.level.block with parameters of type HolderModifier and TypeMethodDescriptionprotected static SuspiciousStewEffectsFlowerBlock.makeEffectList(Holder<MobEffect> pEffect, float pSeconds) Constructors in net.minecraft.world.level.block with parameters of type HolderModifierConstructorDescriptionFlowerBlock(Holder<MobEffect> pEffect, float pSeconds, BlockBehaviour.Properties pProperties) privateType(boolean pOpen, Holder<MobEffect> pEffect, float pEffectDuration, SoundEvent pLongSwitchSound, SoundEvent pShortSwitchSound, int pParticleColor) WitherRoseBlock(Holder<MobEffect> p_316323_, float p_332767_, BlockBehaviour.Properties p_304869_) -
Uses of Holder in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as HolderModifier and TypeFieldDescriptionprivate final Holder<BannerPattern> BannerPatternLayers.Layer.patternThe field for thepatternrecord component.BeaconBlockEntity.primaryPowerThe primary effect given by this beacon.BeaconBlockEntity.secondaryPowerThe secondary effect given by this beacon.Fields in net.minecraft.world.level.block.entity with type parameters of type HolderModifier and TypeFieldDescriptionBeaconBlockEntity.BEACON_EFFECTSA list of effects that beacons can apply.static final com.mojang.serialization.Codec<Holder<BannerPattern>> BannerPattern.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<BannerPattern>> BannerPattern.STREAM_CODECBeaconBlockEntity.VALID_EFFECTSMethods in net.minecraft.world.level.block.entity that return HolderModifier and TypeMethodDescriptionBeaconBlockEntity.filterEffect(Holder<MobEffect> pEffect) BeaconBlockEntity.loadEffect(CompoundTag pTag, String pKey) BannerPatternLayers.Layer.pattern()Returns the value of thepatternrecord component.Methods in net.minecraft.world.level.block.entity with parameters of type HolderModifier and TypeMethodDescriptionBannerPatternLayers.Builder.add(Holder<BannerPattern> pPattern, DyeColor pColor) private static voidBeaconBlockEntity.applyEffects(Level pLevel, BlockPos pPos, int pBeaconLevel, Holder<MobEffect> pPrimaryEffect, Holder<MobEffect> pSecondaryEffect) booleanCalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_282061_, BlockPos p_282550_, Holder<GameEvent> p_316545_, GameEvent.Context p_281456_) booleanSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_282127_, BlockPos p_283268_, Holder<GameEvent> p_316115_, GameEvent.Context p_282856_) booleanSculkShriekerBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_281256_, BlockPos p_281528_, Holder<GameEvent> p_316788_, GameEvent.Context p_282914_) BeaconBlockEntity.filterEffect(Holder<MobEffect> pEffect) booleanSculkCatalystBlockEntity.CatalystListener.handleGameEvent(ServerLevel p_283470_, Holder<GameEvent> p_316661_, GameEvent.Context p_283014_, Vec3 p_282350_) voidSculkSensorBlockEntity.VibrationUser.onReceiveVibration(ServerLevel p_282851_, BlockPos p_281608_, Holder<GameEvent> p_316423_, Entity p_282123_, Entity p_283090_, float p_283130_) voidSculkShriekerBlockEntity.VibrationUser.onReceiveVibration(ServerLevel p_283372_, BlockPos p_281679_, Holder<GameEvent> p_316155_, Entity p_282286_, Entity p_281384_, float p_283119_) private static voidBeaconBlockEntity.storeEffect(CompoundTag pTag, String pKey, Holder<MobEffect> pEffect) Constructors in net.minecraft.world.level.block.entity with parameters of type HolderModifierConstructorDescriptionLayer(Holder<BannerPattern> pattern, DyeColor color) Creates an instance of aLayerrecord class. -
Uses of Holder in net.minecraft.world.level.block.entity.trialspawner
Fields in net.minecraft.world.level.block.entity.trialspawner declared as HolderModifier and TypeFieldDescriptionprivate Holder<TrialSpawnerConfig> TrialSpawner.normalConfigprivate Holder<TrialSpawnerConfig> TrialSpawner.ominousConfigFields in net.minecraft.world.level.block.entity.trialspawner with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<TrialSpawnerConfig>> TrialSpawnerConfig.CODECMethods in net.minecraft.world.level.block.entity.trialspawner that return types with arguments of type HolderModifier and TypeMethodDescriptionTrialSpawnerData.findPlayerWithOminousEffect(ServerLevel pLevel, List<UUID> pPlayers) Constructors in net.minecraft.world.level.block.entity.trialspawner with parameters of type HolderModifierConstructorDescriptionTrialSpawner(Holder<TrialSpawnerConfig> pNormalConfig, Holder<TrialSpawnerConfig> pOminousConfig, TrialSpawnerData pData, int pTargetCooldownLength, int pRequiredPlayerRange, TrialSpawner.StateAccessor pStateAccessor, PlayerDetector pPlayerDetector, PlayerDetector.EntitySelector pEntitySelector) -
Uses of Holder in net.minecraft.world.level.block.sounds
Methods in net.minecraft.world.level.block.sounds with parameters of type HolderModifier and TypeMethodDescriptionprivate static booleanAmbientDesertBlockSoundsPlayer.isInAmbientSoundBiome(Holder<Biome> pBiome) -
Uses of Holder in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state that return HolderMethods in net.minecraft.world.level.block.state with parameters of type Holder -
Uses of Holder in net.minecraft.world.level.block.state.properties
Fields in net.minecraft.world.level.block.state.properties declared as HolderMethods in net.minecraft.world.level.block.state.properties that return HolderConstructors in net.minecraft.world.level.block.state.properties with parameters of type HolderModifierConstructorDescriptionprivateNoteBlockInstrument(String pName, Holder<SoundEvent> pSoundEvent, NoteBlockInstrument.Type pType) -
Uses of Holder in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk declared as HolderFields in net.minecraft.world.level.chunk with type parameters of type HolderModifier and TypeFieldDescriptionprivate PalettedContainerRO<Holder<Biome>> LevelChunkSection.biomesprivate final Function<Holder<Biome>, BiomeGenerationSettings> ChunkGenerator.generationSettingsGetterprivate final List<Holder<StructureSet>> ChunkGeneratorStructureState.possibleStructureSetsMethods in net.minecraft.world.level.chunk that return HolderModifier and TypeMethodDescriptionChunkAccess.getNoiseBiome(int p_204347_, int p_204348_, int p_204349_) EmptyLevelChunk.getNoiseBiome(int p_204426_, int p_204427_, int p_204428_) ImposterProtoChunk.getNoiseBiome(int p_204430_, int p_204431_, int p_204432_) LevelChunkSection.getNoiseBiome(int pX, int pY, int pZ) ProtoChunk.getNoiseBiome(int p_204450_, int p_204451_, int p_204452_) Methods in net.minecraft.world.level.chunk that return types with arguments of type HolderModifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure(ServerLevel pLevel, HolderSet<Structure> pStructure, BlockPos pPos, int pSearchRadius, boolean pSkipKnownStructures) LevelChunkSection.getBiomes()ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> pStructureHoldersSet, ServerLevel pLevel, StructureManager pStructureManager, BlockPos pPos, boolean pSkipKnownStructures, ConcentricRingsStructurePlacement pPlacement) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> pStructureHoldersSet, LevelReader pLevel, StructureManager pStructureManager, int pX, int pY, int pZ, boolean pSkipKnownStructures, long pSeed, RandomSpreadStructurePlacement pSpreadPlacement) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> pStructureHoldersSet, LevelReader pLevel, StructureManager pStructureManager, boolean pSkipKnownStructures, StructurePlacement pPlacement, ChunkPos pChunkPos) ChunkGeneratorStructureState.possibleStructureSets()Methods in net.minecraft.world.level.chunk with parameters of type HolderModifier and TypeMethodDescriptionprivate CompletableFuture<List<ChunkPos>> ChunkGeneratorStructureState.generateRingPositions(Holder<StructureSet> pStructureSet, ConcentricRingsStructurePlacement pPlacement) ChunkGenerator.getBiomeGenerationSettings(Holder<Biome> pBiome) Deprecated.ChunkGenerator.getMobsAt(Holder<Biome> pBiome, StructureManager pStructureManager, MobCategory pCategory, BlockPos pPos) ChunkGeneratorStructureState.getPlacementsForStructure(Holder<Structure> pStructure) booleanChunkGeneratorStructureState.hasStructureChunkInRange(Holder<StructureSet> pStructureSet, int pX, int pZ, int pRange) Method parameters in net.minecraft.world.level.chunk with type arguments of type HolderModifier and TypeMethodDescriptionstatic ChunkGeneratorStructureStateChunkGeneratorStructureState.createForFlat(RandomState pRandomState, long pLevelSeed, BiomeSource pBiomeSource, Stream<Holder<StructureSet>> pStructureSets) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> pStructureHoldersSet, ServerLevel pLevel, StructureManager pStructureManager, BlockPos pPos, boolean pSkipKnownStructures, ConcentricRingsStructurePlacement pPlacement) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> pStructureHoldersSet, LevelReader pLevel, StructureManager pStructureManager, int pX, int pY, int pZ, boolean pSkipKnownStructures, long pSeed, RandomSpreadStructurePlacement pSpreadPlacement) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> pStructureHoldersSet, LevelReader pLevel, StructureManager pStructureManager, boolean pSkipKnownStructures, StructurePlacement pPlacement, ChunkPos pChunkPos) Constructors in net.minecraft.world.level.chunk with parameters of type HolderConstructor parameters in net.minecraft.world.level.chunk with type arguments of type HolderModifierConstructorDescriptionChunkGenerator(BiomeSource pBiomeSource, Function<Holder<Biome>, BiomeGenerationSettings> pGenerationSettingsGetter) privateChunkGeneratorStructureState(RandomState pRandomState, BiomeSource pBiomeSource, long pLevelSeed, long pCocentricRingsSeed, List<Holder<StructureSet>> pPossibleStructureSets) LevelChunkSection(PalettedContainer<BlockState> pStates, PalettedContainerRO<Holder<Biome>> pBiomes) -
Uses of Holder in net.minecraft.world.level.chunk.storage
Methods in net.minecraft.world.level.chunk.storage that return types with arguments of type HolderModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>> SerializableChunkData.makeBiomeCodec(Registry<Biome> pBiomeRegistry) -
Uses of Holder in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as HolderModifier and TypeFieldDescriptionprivate final Holder<DimensionType> LevelStem.typeThe field for thetyperecord component.Fields in net.minecraft.world.level.dimension with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<DimensionType>> DimensionType.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<DimensionType>> DimensionType.STREAM_CODECMethods in net.minecraft.world.level.dimension that return HolderModifier and TypeMethodDescriptionLevelStem.type()Returns the value of thetyperecord component.Constructors in net.minecraft.world.level.dimension with parameters of type HolderModifierConstructorDescriptionLevelStem(Holder<DimensionType> type, ChunkGenerator generator) Creates an instance of aLevelStemrecord class. -
Uses of Holder in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as HolderFields in net.minecraft.world.level.gameevent with type parameters of type HolderMethods in net.minecraft.world.level.gameevent that return HolderMethods in net.minecraft.world.level.gameevent with parameters of type HolderModifier and TypeMethodDescriptionbooleanGameEventListener.handleGameEvent(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) voidGameEventDispatcher.post(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) booleanEuclideanGameEventListenerRegistry.visitInRangeListeners(Holder<GameEvent> p_316862_, Vec3 p_251445_, GameEvent.Context p_252317_, GameEventListenerRegistry.ListenerVisitor p_251422_) booleanGameEventListenerRegistry.visitInRangeListeners(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext, GameEventListenerRegistry.ListenerVisitor pVisitor) Constructors in net.minecraft.world.level.gameevent with parameters of type HolderModifierConstructorDescriptionListenerInfo(Holder<GameEvent> pGameEvent, Vec3 pSource, GameEvent.Context pContext, GameEventListener pRecipient, Vec3 pPos) -
Uses of Holder in net.minecraft.world.level.gameevent.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations declared as HolderModifier and TypeFieldDescriptionVibrationInfo.gameEventThe field for thegameEventrecord component.Methods in net.minecraft.world.level.gameevent.vibrations that return HolderModifier and TypeMethodDescriptionVibrationInfo.gameEvent()Returns the value of thegameEventrecord component.Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type HolderModifier and TypeMethodDescriptionbooleanVibrationSystem.User.canReceiveVibration(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, GameEvent.Context pContext) voidVibrationSystem.Listener.forceScheduleVibration(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) static intVibrationSystem.getGameEventFrequency(Holder<GameEvent> pGameEvent) booleanVibrationSystem.Listener.handleGameEvent(ServerLevel p_282254_, Holder<GameEvent> p_316513_, GameEvent.Context p_283664_, Vec3 p_282426_) default booleanVibrationSystem.User.isValidVibration(Holder<GameEvent> pGameEvent, GameEvent.Context pContext) voidVibrationSystem.User.onReceiveVibration(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, Entity pEntity, Entity pPlayerEntity, float pDistance) private voidVibrationSystem.Listener.scheduleVibration(ServerLevel pLevel, VibrationSystem.Data pData, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos, Vec3 pSensorPos) Constructors in net.minecraft.world.level.gameevent.vibrations with parameters of type HolderModifierConstructorDescriptionVibrationInfo(Holder<GameEvent> p_316546_, float p_251086_, Vec3 p_250935_, UUID p_316193_, UUID p_316157_) VibrationInfo(Holder<GameEvent> gameEvent, float distance, Vec3 pos, UUID uuid, UUID projectileOwnerUuid, Entity entity) Creates an instance of aVibrationInforecord class.VibrationInfo(Holder<GameEvent> p_316851_, float p_250190_, Vec3 p_251692_, Entity p_316868_) -
Uses of Holder in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as HolderModifier and TypeFieldDescriptionprivate final Holder<DensityFunction> DensityFunctions.HolderHolder.functionThe field for thefunctionrecord component.private final Holder<DensityFunction> DensityFunctions.Spline.Coordinate.functionThe field for thefunctionrecord component.private final Holder<NormalNoise.NoiseParameters> DensityFunction.NoiseHolder.noiseDataThe field for thenoiseDatarecord component.private final Holder<NoiseGeneratorSettings> NoiseBasedChunkGenerator.settingsFields in net.minecraft.world.level.levelgen with type parameters of type HolderModifier and TypeFieldDescriptionSurfaceRules.Context.biomeSurfaceRules.Context.biomeGetterstatic final com.mojang.serialization.Codec<Holder<DensityFunction>> DensityFunction.CODECstatic final com.mojang.serialization.Codec<Holder<NoiseGeneratorSettings>> NoiseGeneratorSettings.CODECMethods in net.minecraft.world.level.levelgen that return HolderModifier and TypeMethodDescriptionstatic Holder<? extends DensityFunction> NoiseRouterData.bootstrap(BootstrapContext<DensityFunction> pContext) DensityFunctions.HolderHolder.function()Returns the value of thefunctionrecord component.DensityFunctions.Spline.Coordinate.function()Returns the value of thefunctionrecord component.NoiseBasedChunkGenerator.generatorSettings()DensityFunction.NoiseHolder.noiseData()Returns the value of thenoiseDatarecord component.Methods in net.minecraft.world.level.levelgen with parameters of type HolderModifier and TypeMethodDescriptionstatic DensityFunctionDensityFunctions.mappedNoise(Holder<NormalNoise.NoiseParameters> pNoiseData, double pFromY, double pToY) static DensityFunctionDensityFunctions.mappedNoise(Holder<NormalNoise.NoiseParameters> pNoiseData, double pYScale, double pFromY, double pToY) static DensityFunctionDensityFunctions.mappedNoise(Holder<NormalNoise.NoiseParameters> pNoiseData, double pXzScale, double pYScale, double pFromY, double pToY) static DensityFunctionDensityFunctions.noise(Holder<NormalNoise.NoiseParameters> pNoiseData) static DensityFunctionDensityFunctions.noise(Holder<NormalNoise.NoiseParameters> pNoiseData, double pYScale) static DensityFunctionDensityFunctions.noise(Holder<NormalNoise.NoiseParameters> pNoiseData, double pXzScale, double pYScale) private static voidNoiseRouterData.registerTerrainNoises(BootstrapContext<DensityFunction> pContext, HolderGetter<DensityFunction> pDensityFunctionRegistry, DensityFunction pJaggedNoise, Holder<DensityFunction> pContinentalness, Holder<DensityFunction> pErosion, ResourceKey<DensityFunction> pOffsetKey, ResourceKey<DensityFunction> pFactorKey, ResourceKey<DensityFunction> pJaggednessKey, ResourceKey<DensityFunction> pDepthKey, ResourceKey<DensityFunction> pSlopedCheeseKey, boolean pAmplified) static DensityFunctionDensityFunctions.shift(Holder<NormalNoise.NoiseParameters> pNoiseData) static DensityFunctionDensityFunctions.shiftA(Holder<NormalNoise.NoiseParameters> pNoiseData) static DensityFunctionDensityFunctions.shiftB(Holder<NormalNoise.NoiseParameters> pNoiseData) static DensityFunctionDensityFunctions.shiftedNoise2d(DensityFunction pShiftX, DensityFunction pShiftZ, double pXzScale, Holder<NormalNoise.NoiseParameters> pNoiseData) static DensityFunctionDensityFunctions.weirdScaledSampler(DensityFunction pInput, Holder<NormalNoise.NoiseParameters> pNoiseData, DensityFunctions.WeirdScaledSampler.RarityValueMapper pRarityValueMapper) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Map<ResourceKey<LevelStem>, LevelStem> pStemMap, Holder<DimensionType> pDimensionType, ChunkGenerator pChunkGenerator) Method parameters in net.minecraft.world.level.levelgen with type arguments of type HolderModifier and TypeMethodDescriptionSurfaceSystem.topMaterial(SurfaceRules.RuleSource pRule, CarvingContext pContext, Function<BlockPos, Holder<Biome>> pBiomeGetter, ChunkAccess pChunk, NoiseChunk pNoiseChunk, BlockPos pPos, boolean pHasFluid) Deprecated.Constructors in net.minecraft.world.level.levelgen with parameters of type HolderModifierConstructorDescriptionCoordinate(Holder<DensityFunction> function) Creates an instance of aCoordinaterecord class.HolderHolder(Holder<DensityFunction> function) Creates an instance of aHolderHolderrecord class.NoiseBasedChunkGenerator(BiomeSource pBiomeSource, Holder<NoiseGeneratorSettings> pSettings) NoiseHolder(Holder<NormalNoise.NoiseParameters> p_224001_) NoiseHolder(Holder<NormalNoise.NoiseParameters> noiseData, NormalNoise noise) Creates an instance of aNoiseHolderrecord class.Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type HolderModifierConstructorDescriptionprotectedContext(SurfaceSystem pSystem, RandomState pRandomState, ChunkAccess pChunk, NoiseChunk pNoiseChunk, Function<BlockPos, Holder<Biome>> pBiomeGetter, Registry<Biome> pBiomeRegistry, WorldGenerationContext pContext) -
Uses of Holder in net.minecraft.world.level.levelgen.blending
Fields in net.minecraft.world.level.levelgen.blending with type parameters of type HolderMethods in net.minecraft.world.level.levelgen.blending that return HolderMethods in net.minecraft.world.level.levelgen.blending that return types with arguments of type HolderModifier and TypeMethodDescriptionBlendingData.getBiomeColumn(ChunkAccess pChunk, int pX, int pZ) Methods in net.minecraft.world.level.levelgen.blending with parameters of type Holder -
Uses of Holder in net.minecraft.world.level.levelgen.carver
Fields in net.minecraft.world.level.levelgen.carver with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<ConfiguredWorldCarver<?>>> ConfiguredWorldCarver.CODECMethod parameters in net.minecraft.world.level.levelgen.carver with type arguments of type HolderModifier and TypeMethodDescriptionbooleanCanyonWorldCarver.carve(CarvingContext p_224813_, CanyonCarverConfiguration p_224814_, ChunkAccess p_224815_, Function<BlockPos, Holder<Biome>> p_224816_, RandomSource p_224817_, Aquifer p_224818_, ChunkPos p_224819_, CarvingMask p_224820_) booleanCaveWorldCarver.carve(CarvingContext p_224885_, CaveCarverConfiguration p_224886_, ChunkAccess p_224887_, Function<BlockPos, Holder<Biome>> p_224888_, RandomSource p_224889_, Aquifer p_224890_, ChunkPos p_224891_, CarvingMask p_224892_) booleanConfiguredWorldCarver.carve(CarvingContext pContext, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) abstract booleanWorldCarver.carve(CarvingContext pContext, C pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) Carves the given chunk with caves that originate from the givenchunkPos.protected booleanNetherWorldCarver.carveBlock(CarvingContext p_190731_, CaveCarverConfiguration p_190732_, ChunkAccess p_190733_, Function<BlockPos, Holder<Biome>> p_190734_, CarvingMask p_190735_, BlockPos.MutableBlockPos p_190736_, BlockPos.MutableBlockPos p_190737_, Aquifer p_190738_, org.apache.commons.lang3.mutable.MutableBoolean p_190739_) protected booleanWorldCarver.carveBlock(CarvingContext pContext, C pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeGetter, CarvingMask pCarvingMask, BlockPos.MutableBlockPos pPos, BlockPos.MutableBlockPos pCheckPos, Aquifer pAquifer, org.apache.commons.lang3.mutable.MutableBoolean pReachedSurface) Carves a single block, replacing it with the appropriate state if possible, and handles replacing exposed dirt with grass.protected booleanWorldCarver.carveEllipsoid(CarvingContext pContext, C pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, Aquifer pAquifer, double pX, double pY, double pZ, double pHorizontalRadius, double pVerticalRadius, CarvingMask pCarvingMask, WorldCarver.CarveSkipChecker pSkipChecker) Carves blocks in an ellipsoid (more accurately a spheroid), defined by a center (x, y, z) position, with a horizontal and vertical radius (the semi-axes)protected voidCaveWorldCarver.createRoom(CarvingContext pContext, CaveCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, Aquifer pAquifer, double pX, double pY, double pZ, float pRadius, double pHorizontalVerticalRatio, CarvingMask pCarvingMask, WorldCarver.CarveSkipChecker pSkipChecker) protected voidCaveWorldCarver.createTunnel(CarvingContext pContext, CaveCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, long pSeed, Aquifer pAquifer, double pX, double pY, double pZ, double pHorizontalRadiusMultiplier, double pVerticalRadiusMultiplier, float pThickness, float pYaw, float pPitch, int pBranchIndex, int pBranchCount, double pHorizontalVerticalRatio, CarvingMask pCarvingMask, WorldCarver.CarveSkipChecker pSkipChecker) private voidCanyonWorldCarver.doCarve(CarvingContext pContext, CanyonCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, long pSeed, Aquifer pAquifer, double pX, double pY, double pZ, float pThickness, float pYaw, float pPitch, int pBranchIndex, int pBranchCount, double pHorizontalVerticalRatio, CarvingMask pCarvingMask) CarvingContext.topMaterial(Function<BlockPos, Holder<Biome>> pBiomeMapper, ChunkAccess pAccess, BlockPos pPos, boolean pHasFluid) Deprecated. -
Uses of Holder in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as HolderModifier and TypeFieldDescriptionfinal Holder<PlacedFeature> WeightedPlacedFeature.featurefinal Holder<StructureProcessorList> FossilFeatureConfiguration.fossilProcessorsfinal Holder<StructureProcessorList> FossilFeatureConfiguration.overlayProcessorsFields in net.minecraft.world.level.levelgen.feature with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<ConfiguredFeature<?, ?>>> ConfiguredFeature.CODECConstructors in net.minecraft.world.level.levelgen.feature with parameters of type HolderModifierConstructorDescriptionFossilFeatureConfiguration(List<ResourceLocation> pFossilStructures, List<ResourceLocation> pOverlayStructures, Holder<StructureProcessorList> pFossilProcessors, Holder<StructureProcessorList> pOverlayProcessors, int pMaxEmptyCornersAllowed) WeightedPlacedFeature(Holder<PlacedFeature> pFeature, float pChance) -
Uses of Holder in net.minecraft.world.level.levelgen.feature.configurations
Fields in net.minecraft.world.level.levelgen.feature.configurations declared as HolderModifier and TypeFieldDescriptionfinal Holder<PlacedFeature> RandomFeatureConfiguration.defaultFeatureprivate final Holder<PlacedFeature> RandomPatchConfiguration.featureThe field for thefeaturerecord component.final Holder<PlacedFeature> RandomBooleanFeatureConfiguration.featureFalsefinal Holder<PlacedFeature> RandomBooleanFeatureConfiguration.featureTruefinal Holder<PlacedFeature> RootSystemConfiguration.treeFeaturefinal Holder<PlacedFeature> VegetationPatchConfiguration.vegetationFeatureMethods in net.minecraft.world.level.levelgen.feature.configurations that return HolderModifier and TypeMethodDescriptionRandomPatchConfiguration.feature()Returns the value of thefeaturerecord component.Constructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type HolderModifierConstructorDescriptionRandomBooleanFeatureConfiguration(Holder<PlacedFeature> pFeatureTrue, Holder<PlacedFeature> pFeatureFalse) RandomFeatureConfiguration(List<WeightedPlacedFeature> pFeatures, Holder<PlacedFeature> pDefaultFeature) RandomPatchConfiguration(int tries, int xzSpread, int ySpread, Holder<PlacedFeature> feature) Creates an instance of aRandomPatchConfigurationrecord class.RootSystemConfiguration(Holder<PlacedFeature> pTreeFeature, int pRequiredVerticalSpaceForTree, int pRootRadius, TagKey<Block> pRootReplaceable, BlockStateProvider pRootStateProvider, int pRootPlacementAttempts, int pRootColumnMaxHeight, int pHangingRootRadius, int pHangingRootsVerticalSpawn, BlockStateProvider pHangingRootStateProvider, int pHangingRootPlacementAttempts, int pAllowedVerticalWaterForTree, BlockPredicate pAllowedTreePosition) VegetationPatchConfiguration(TagKey<Block> pReplaceable, BlockStateProvider pGroundState, Holder<PlacedFeature> pVegetationFeature, CaveSurface pSurface, IntProvider pDepth, float pExtraBottomBlockChance, int pVerticalRange, float pVegetationChance, IntProvider pXzRadius, float pExtraEdgeColumnChance) -
Uses of Holder in net.minecraft.world.level.levelgen.flat
Fields in net.minecraft.world.level.levelgen.flat declared as HolderModifier and TypeFieldDescriptionFlatLevelGeneratorSettings.biomeFlatLevelGeneratorPreset.displayItemThe field for thedisplayItemrecord component.Fields in net.minecraft.world.level.levelgen.flat with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<FlatLevelGeneratorPreset>> FlatLevelGeneratorPreset.CODECprivate final List<Holder<PlacedFeature>> FlatLevelGeneratorSettings.lakesMethods in net.minecraft.world.level.levelgen.flat that return HolderModifier and TypeMethodDescriptionFlatLevelGeneratorPreset.displayItem()Returns the value of thedisplayItemrecord component.FlatLevelGeneratorSettings.getBiome()FlatLevelGeneratorSettings.getBiome(Optional<? extends Holder<Biome>> pBiome, Holder<Biome> pDefaultBiome) FlatLevelGeneratorSettings.getDefaultBiome(HolderGetter<Biome> pBiomes) Methods in net.minecraft.world.level.levelgen.flat that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic List<Holder<PlacedFeature>> FlatLevelGeneratorSettings.createLakesList(HolderGetter<PlacedFeature> pPlacedFeatureGetter) Methods in net.minecraft.world.level.levelgen.flat with parameters of type HolderModifier and TypeMethodDescriptionFlatLevelGeneratorSettings.adjustGenerationSettings(Holder<Biome> pBiome) FlatLevelGeneratorSettings.getBiome(Optional<? extends Holder<Biome>> pBiome, Holder<Biome> pDefaultBiome) FlatLevelGeneratorSettings.withBiomeAndLayers(List<FlatLayerInfo> pLayerInfos, Optional<HolderSet<StructureSet>> pStructureSets, Holder<Biome> pBiome) Method parameters in net.minecraft.world.level.levelgen.flat with type arguments of type HolderModifier and TypeMethodDescriptionFlatLevelGeneratorSettings.getBiome(Optional<? extends Holder<Biome>> pBiome, Holder<Biome> pDefaultBiome) Constructors in net.minecraft.world.level.levelgen.flat with parameters of type HolderModifierConstructorDescriptionFlatLevelGeneratorPreset(Holder<Item> displayItem, FlatLevelGeneratorSettings settings) Creates an instance of aFlatLevelGeneratorPresetrecord class.privateFlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> pStructureOverrides, List<FlatLayerInfo> pLayersInfo, boolean pAddLakes, boolean pDecoration, Optional<Holder<Biome>> pBiome, Holder.Reference<Biome> pDefaultBiome, Holder<PlacedFeature> pLavaUnderground, Holder<PlacedFeature> pLavaSurface) FlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> pStructureOverrides, Holder<Biome> pBiome, List<Holder<PlacedFeature>> pLakes) Constructor parameters in net.minecraft.world.level.levelgen.flat with type arguments of type HolderModifierConstructorDescriptionFlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> pStructureOverrides, Holder<Biome> pBiome, List<Holder<PlacedFeature>> pLakes) -
Uses of Holder in net.minecraft.world.level.levelgen.placement
Fields in net.minecraft.world.level.levelgen.placement declared as HolderModifier and TypeFieldDescriptionprivate final Holder<ConfiguredFeature<?, ?>> PlacedFeature.featureThe field for thefeaturerecord component.Fields in net.minecraft.world.level.levelgen.placement with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<PlacedFeature>> PlacedFeature.CODECMethods in net.minecraft.world.level.levelgen.placement that return HolderModifier and TypeMethodDescriptionHolder<ConfiguredFeature<?, ?>> PlacedFeature.feature()Returns the value of thefeaturerecord component.Constructors in net.minecraft.world.level.levelgen.placement with parameters of type HolderModifierConstructorDescriptionPlacedFeature(Holder<ConfiguredFeature<?, ?>> feature, List<PlacementModifier> placement) Creates an instance of aPlacedFeaturerecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.presets
Fields in net.minecraft.world.level.levelgen.presets declared as HolderModifier and TypeFieldDescriptionprivate final Holder<DimensionType> WorldPresets.Bootstrap.overworldDimensionTypeFields in net.minecraft.world.level.levelgen.presets with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<WorldPreset>> WorldPreset.CODECMethods in net.minecraft.world.level.levelgen.presets with parameters of type HolderModifier and TypeMethodDescriptionprivate LevelStemWorldPresets.Bootstrap.makeNoiseBasedOverworld(BiomeSource pBiomeSource, Holder<NoiseGeneratorSettings> pSettings) -
Uses of Holder in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as HolderModifier and TypeFieldDescriptionStructureSet.StructureSelectionEntry.structureThe field for thestructurerecord component.Fields in net.minecraft.world.level.levelgen.structure with type parameters of type HolderModifier and TypeFieldDescriptionStructure.CODECstatic final com.mojang.serialization.Codec<Holder<StructureSet>> StructureSet.CODECStructure.GenerationContext.validBiomeThe field for thevalidBiomerecord component.Methods in net.minecraft.world.level.levelgen.structure that return HolderModifier and TypeMethodDescriptionStructureSet.StructureSelectionEntry.structure()Returns the value of thestructurerecord component.Methods in net.minecraft.world.level.levelgen.structure that return types with arguments of type HolderModifier and TypeMethodDescriptionStructure.GenerationContext.validBiome()Returns the value of thevalidBiomerecord component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type HolderModifier and TypeMethodDescriptionStructure.generate(Holder<Structure> pStructure, ResourceKey<Level> pLevel, RegistryAccess pRegistryAccess, ChunkGenerator pChunkGenerator, BiomeSource pBiomeSource, RandomState pRandomState, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkPos pChunkPos, int pReferences, LevelHeightAccessor pHeightAccessor, Predicate<Holder<Biome>> pValidBiome) Method parameters in net.minecraft.world.level.levelgen.structure with type arguments of type HolderModifier and TypeMethodDescriptionStructure.generate(Holder<Structure> pStructure, ResourceKey<Level> pLevel, RegistryAccess pRegistryAccess, ChunkGenerator pChunkGenerator, BiomeSource pBiomeSource, RandomState pRandomState, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkPos pChunkPos, int pReferences, LevelHeightAccessor pHeightAccessor, Predicate<Holder<Biome>> pValidBiome) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type HolderModifierConstructorDescriptionStructureSelectionEntry(Holder<Structure> structure, int weight) Creates an instance of aStructureSelectionEntryrecord class.StructureSet(Holder<Structure> p_210007_, StructurePlacement p_210008_) Constructor parameters in net.minecraft.world.level.levelgen.structure with type arguments of type HolderModifierConstructorDescriptionGenerationContext(RegistryAccess p_226632_, ChunkGenerator p_226633_, BiomeSource p_226634_, RandomState p_226635_, StructureTemplateManager p_226636_, long p_226637_, ChunkPos p_226638_, LevelHeightAccessor p_226639_, Predicate<Holder<Biome>> p_226640_) GenerationContext(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, WorldgenRandom random, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Creates an instance of aGenerationContextrecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.structure.pieces
Fields in net.minecraft.world.level.levelgen.structure.pieces with type parameters of type HolderModifier and TypeFieldDescriptionPieceGeneratorSupplier.Context.validBiomeThe field for thevalidBiomerecord component.Methods in net.minecraft.world.level.levelgen.structure.pieces that return types with arguments of type HolderModifier and TypeMethodDescriptionPieceGeneratorSupplier.Context.validBiome()Returns the value of thevalidBiomerecord component.Constructor parameters in net.minecraft.world.level.levelgen.structure.pieces with type arguments of type HolderModifierConstructorDescriptionContext(ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, long seed, ChunkPos chunkPos, C config, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome, StructureTemplateManager structureTemplateManager, RegistryAccess registryAccess) Creates an instance of aContextrecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.structure.placement
Fields in net.minecraft.world.level.levelgen.structure.placement declared as HolderModifier and TypeFieldDescriptionprivate final Holder<StructureSet> StructurePlacement.ExclusionZone.otherSetDeprecated.The field for theotherSetrecord component.Methods in net.minecraft.world.level.levelgen.structure.placement that return HolderModifier and TypeMethodDescriptionStructurePlacement.ExclusionZone.otherSet()Deprecated.Returns the value of theotherSetrecord component.Constructors in net.minecraft.world.level.levelgen.structure.placement with parameters of type HolderModifierConstructorDescriptionExclusionZone(Holder<StructureSet> otherSet, int chunkCount) Deprecated.Creates an instance of aExclusionZonerecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools declared as HolderModifier and TypeFieldDescriptionprivate static final Holder<StructureProcessorList> StructurePoolElement.EMPTYprivate final Holder<StructureTemplatePool> StructureTemplatePool.fallbackprivate final Holder<PlacedFeature> FeaturePoolElement.featureprotected final Holder<StructureProcessorList> SinglePoolElement.processorsFields in net.minecraft.world.level.levelgen.structure.pools with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<StructureTemplatePool>> StructureTemplatePool.CODECprivate static final org.apache.commons.lang3.mutable.MutableObject<com.mojang.serialization.Codec<Holder<StructureTemplatePool>>> StructureTemplatePool.CODEC_REFERENCEMethods in net.minecraft.world.level.levelgen.structure.pools that return HolderMethods in net.minecraft.world.level.levelgen.structure.pools that return types with arguments of type HolderModifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E, Holder<StructureProcessorList>> SinglePoolElement.processorsCodec()Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type HolderModifier and TypeMethodDescriptionstatic Optional<Structure.GenerationStub> JigsawPlacement.addPieces(Structure.GenerationContext pContext, Holder<StructureTemplatePool> pStartPool, Optional<ResourceLocation> pStartJigsawName, int pMaxDepth, BlockPos pPos, boolean pUseExpansionHack, Optional<Heightmap.Types> pProjectStartToHeightmap, int pMaxDistanceFromCenter, PoolAliasLookup pAliasLookup, DimensionPadding pDimensionPadding, LiquidSettings pLiquidSettings) StructurePoolElement.feature(Holder<PlacedFeature> pFeature) static booleanJigsawPlacement.generateJigsaw(ServerLevel pLevel, Holder<StructureTemplatePool> pStartPool, ResourceLocation pStartJigsawName, int pMaxDepth, BlockPos pPos, boolean pKeepJigsaws) StructurePoolElement.legacy(String pId, Holder<StructureProcessorList> pProcessors) StructurePoolElement.single(String pId, Holder<StructureProcessorList> pProcessors) StructurePoolElement.single(String pId, Holder<StructureProcessorList> pProcessors, LiquidSettings pLiquidSettings) Constructors in net.minecraft.world.level.levelgen.structure.pools with parameters of type HolderModifierConstructorDescriptionprotectedFeaturePoolElement(Holder<PlacedFeature> pFeature, StructureTemplatePool.Projection pProjection) protectedLegacySinglePoolElement(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210348_, Holder<StructureProcessorList> p_210349_, StructureTemplatePool.Projection p_210350_, Optional<LiquidSettings> p_352209_) protectedSinglePoolElement(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> pTemplate, Holder<StructureProcessorList> pProcessors, StructureTemplatePool.Projection pProjection, Optional<LiquidSettings> pOverrideLiquidSettings) StructureTemplatePool(Holder<StructureTemplatePool> pFallback, List<com.mojang.datafixers.util.Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>> pRawTemplateFactories, StructureTemplatePool.Projection pProjection) StructureTemplatePool(Holder<StructureTemplatePool> pFallback, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> pRawTemplates) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.pools.alias
Methods in net.minecraft.world.level.levelgen.structure.pools.alias with parameters of type HolderModifier and TypeMethodDescriptionstatic voidPoolAliasBindings.registerTargetsAsPools(BootstrapContext<StructureTemplatePool> pContext, Holder<StructureTemplatePool> pPool, List<PoolAliasBinding> pPoolAliasBindings) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures declared as HolderModifier and TypeFieldDescriptionprivate final Holder<StructureTemplatePool> JigsawStructure.startPoolMethods in net.minecraft.world.level.levelgen.structure.structures that return HolderMethods in net.minecraft.world.level.levelgen.structure.structures with parameters of type HolderModifier and TypeMethodDescriptionprivate static booleanConstructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type HolderModifierConstructorDescriptionJigsawStructure(Structure.StructureSettings pSettings, Holder<StructureTemplatePool> pStartPool, int pMaxDepth, HeightProvider pStartHeight, boolean pUseExpansionHack) JigsawStructure(Structure.StructureSettings pSettings, Holder<StructureTemplatePool> pStartPool, int pMaxDepth, HeightProvider pStartHeight, boolean pUseExpansionHack, Heightmap.Types pProjectStartToHeightmap) JigsawStructure(Structure.StructureSettings pSettings, Holder<StructureTemplatePool> pStartPool, Optional<ResourceLocation> pStartJigsawName, int pMaxDepth, HeightProvider pStartHeight, boolean pUseExpansionHack, Optional<Heightmap.Types> pProjectStartToHeightmap, int pMaxDistanceFromCenter, List<PoolAliasBinding> pPoolAliases, DimensionPadding pDimensionPadding, LiquidSettings pLiquidSettings) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<StructureProcessorList>> StructureProcessorType.LIST_CODEC -
Uses of Holder in net.minecraft.world.level.levelgen.synth
Fields in net.minecraft.world.level.levelgen.synth with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<NormalNoise.NoiseParameters>> NormalNoise.NoiseParameters.CODEC -
Uses of Holder in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material that return Holder -
Uses of Holder in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as HolderModifier and TypeFieldDescriptionstatic final Holder<MapDecorationType> MapDecorationTypes.BLACK_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.BLUE_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.BLUE_MARKERstatic final Holder<MapDecorationType> MapDecorationTypes.BROWN_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.CYAN_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.DESERT_VILLAGEstatic final Holder<MapDecorationType> MapDecorationTypes.FRAMEstatic final Holder<MapDecorationType> MapDecorationTypes.GRAY_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.GREEN_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.JUNGLE_TEMPLEstatic final Holder<MapDecorationType> MapDecorationTypes.LIGHT_BLUE_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.LIGHT_GRAY_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.LIME_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.MAGENTA_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.OCEAN_MONUMENTstatic final Holder<MapDecorationType> MapDecorationTypes.ORANGE_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.PINK_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.PLAINS_VILLAGEstatic final Holder<MapDecorationType> MapDecorationTypes.PLAYERstatic final Holder<MapDecorationType> MapDecorationTypes.PLAYER_OFF_LIMITSstatic final Holder<MapDecorationType> MapDecorationTypes.PLAYER_OFF_MAPstatic final Holder<MapDecorationType> MapDecorationTypes.PURPLE_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.RED_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.RED_MARKERstatic final Holder<MapDecorationType> MapDecorationTypes.RED_Xstatic final Holder<MapDecorationType> MapDecorationTypes.SAVANNA_VILLAGEstatic final Holder<MapDecorationType> MapDecorationTypes.SNOWY_VILLAGEstatic final Holder<MapDecorationType> MapDecorationTypes.SWAMP_HUTstatic final Holder<MapDecorationType> MapDecorationTypes.TAIGA_VILLAGEstatic final Holder<MapDecorationType> MapDecorationTypes.TARGET_POINTstatic final Holder<MapDecorationType> MapDecorationTypes.TARGET_Xstatic final Holder<MapDecorationType> MapDecorationTypes.TRIAL_CHAMBERSprivate final Holder<MapDecorationType> MapDecoration.typeThe field for thetyperecord component.private final Holder<MapDecorationType> MapItemSavedData.MapDecorationLocation.typeThe field for thetyperecord component.static final Holder<MapDecorationType> MapDecorationTypes.WHITE_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.WOODLAND_MANSIONstatic final Holder<MapDecorationType> MapDecorationTypes.YELLOW_BANNERFields in net.minecraft.world.level.saveddata.maps with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<MapDecorationType>> MapDecorationType.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<MapDecorationType>> MapDecorationType.STREAM_CODECMethods in net.minecraft.world.level.saveddata.maps that return HolderModifier and TypeMethodDescriptionstatic Holder<MapDecorationType> MapDecorationTypes.bootstrap(Registry<MapDecorationType> pRegistry) private Holder<MapDecorationType> MapItemSavedData.decorationTypeForPlayerOutsideMap(float pX, float pZ) MapBanner.getDecoration()private static Holder<MapDecorationType> MapDecorationTypes.register(String pName, String pAssetId, boolean pShowOnItemFrame, boolean pTrackCount) private static Holder<MapDecorationType> MapDecorationTypes.register(String pName, String pAssetId, boolean pShowOnItemFrame, int pMapColor, boolean pExplorationMapElement, boolean pTrackCount) MapDecoration.type()Returns the value of thetyperecord component.MapItemSavedData.MapDecorationLocation.type()Returns the value of thetyperecord component.Methods in net.minecraft.world.level.saveddata.maps that return types with arguments of type HolderModifier and TypeMethodDescriptionprivate com.mojang.datafixers.util.Pair<Holder<MapDecorationType>, Byte> MapItemSavedData.playerDecorationTypeAndRotation(Holder<MapDecorationType> pDecorationType, LevelAccessor pLevel, double pYRot, float pX, float pZ) Methods in net.minecraft.world.level.saveddata.maps with parameters of type HolderModifier and TypeMethodDescriptionvoidMapItemSavedData.addDecoration(Holder<MapDecorationType> pDecorationType, LevelAccessor pLevel, String pId, double pX, double pZ, double pYRot, Component pDisplayName) static voidMapItemSavedData.addTargetDecoration(ItemStack pStack, BlockPos pPos, String pType, Holder<MapDecorationType> pMapDecorationType) MapItemSavedData.calculateDecorationLocationAndType(Holder<MapDecorationType> pDecorationType, LevelAccessor pLevel, double pYRot, float pX, float pZ) private com.mojang.datafixers.util.Pair<Holder<MapDecorationType>, Byte> MapItemSavedData.playerDecorationTypeAndRotation(Holder<MapDecorationType> pDecorationType, LevelAccessor pLevel, double pYRot, float pX, float pZ) Constructors in net.minecraft.world.level.saveddata.maps with parameters of type HolderModifierConstructorDescriptionMapDecoration(Holder<MapDecorationType> type, byte x, byte y, byte rot, Optional<Component> name) Creates an instance of aMapDecorationrecord class.(package private)MapDecorationLocation(Holder<MapDecorationType> type, byte x, byte y, byte rot) Creates an instance of aMapDecorationLocationrecord class. -
Uses of Holder in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot with type parameters of type Holder -
Uses of Holder in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries declared as HolderConstructors in net.minecraft.world.level.storage.loot.entries with parameters of type HolderModifierConstructorDescriptionprivateLootItem(Holder<Item> pItem, int pWeight, int pQuality, List<LootItemCondition> pConditions, List<LootItemFunction> pFunctions) -
Uses of Holder in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as HolderModifier and TypeFieldDescriptionSetAttributesFunction.Modifier.attributeThe field for theattributerecord component.SetAttributesFunction.ModifierBuilder.attributeCopyBlockState.blockCopyBlockState.Builder.blockstatic final Holder<MapDecorationType> ExplorationMapFunction.DEFAULT_DECORATIONSetStewEffectFunction.EffectEntry.effectThe field for theeffectrecord component.private final Holder<Enchantment> ApplyBonusCount.enchantmentprivate final Holder<Enchantment> EnchantedCountIncreaseFunction.Builder.enchantmentprivate final Holder<Enchantment> EnchantedCountIncreaseFunction.enchantmentSetItemFunction.itemprivate Holder<MapDecorationType> ExplorationMapFunction.Builder.mapDecorationprivate final Holder<MapDecorationType> ExplorationMapFunction.mapDecorationSetPotionFunction.potionprivate final Holder<BlockEntityType<?>> SetContainerLootTable.typeFields in net.minecraft.world.level.storage.loot.functions with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<LootItemFunction>> LootItemFunctions.CODECprivate final ImmutableMap.Builder<Holder<Enchantment>, NumberProvider> SetEnchantmentsFunction.Builder.enchantmentsprivate final Map<Holder<Enchantment>, NumberProvider> SetEnchantmentsFunction.enchantmentsMethods in net.minecraft.world.level.storage.loot.functions that return HolderModifier and TypeMethodDescriptionSetAttributesFunction.Modifier.attribute()Returns the value of theattributerecord component.SetStewEffectFunction.EffectEntry.effect()Returns the value of theeffectrecord component.Methods in net.minecraft.world.level.storage.loot.functions with parameters of type HolderModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> ApplyBonusCount.addBonusBinomialDistributionCount(Holder<Enchantment> pEnchantment, float pProbability, int pExtraRounds) static LootItemConditionalFunction.Builder<?> ApplyBonusCount.addOreBonusCount(Holder<Enchantment> pEnchantment) SetBannerPatternFunction.Builder.addPattern(Holder<BannerPattern> pPattern, DyeColor pColor) static LootItemConditionalFunction.Builder<?> ApplyBonusCount.addUniformBonusCount(Holder<Enchantment> pEnchantment) static LootItemConditionalFunction.Builder<?> ApplyBonusCount.addUniformBonusCount(Holder<Enchantment> pEnchantment, int pBonusMultiplier) private static ItemStackEnchantRandomlyFunction.enchantItem(ItemStack pStack, Holder<Enchantment> pEnchantment, RandomSource pRandom) SetAttributesFunction.modifier(ResourceLocation pId, Holder<Attribute> pAttribute, AttributeModifier.Operation pOperation, NumberProvider pAmount) ExplorationMapFunction.Builder.setMapDecoration(Holder<MapDecorationType> pMapDecoration) static LootItemConditionalFunction.Builder<?> SetStewEffectFunction.Builder.withEffect(Holder<MobEffect> pEffect, NumberProvider pAmplifier) EnchantRandomlyFunction.Builder.withEnchantment(Holder<Enchantment> pEnchantment) SetEnchantmentsFunction.Builder.withEnchantment(Holder<Enchantment> pEnchantment, NumberProvider pLevel) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type HolderModifierConstructorDescriptionprivateApplyBonusCount(List<LootItemCondition> pPredicates, Holder<Enchantment> pEnchantment, ApplyBonusCount.Formula pFormula) Builder(Holder<Enchantment> pEnchantment, NumberProvider pCount) privateCopyBlockState(List<LootItemCondition> pConditions, Holder<Block> pBlock, List<String> pProperties) (package private)CopyBlockState(List<LootItemCondition> pConditions, Holder<Block> pBlock, Set<Property<?>> pProperties) (package private)EffectEntry(Holder<MobEffect> effect, NumberProvider duration) Creates an instance of aEffectEntryrecord class.(package private)EnchantedCountIncreaseFunction(List<LootItemCondition> pConditions, Holder<Enchantment> pEnchantment, NumberProvider pValue, int pLimit) (package private)ExplorationMapFunction(List<LootItemCondition> pConditons, TagKey<Structure> pDestination, Holder<MapDecorationType> pMapDecoration, byte pZoom, int pSearchRadius, boolean pSkipKnownStructures) (package private)Modifier(ResourceLocation id, Holder<Attribute> attribute, AttributeModifier.Operation operation, NumberProvider amount, List<EquipmentSlotGroup> slots) Creates an instance of aModifierrecord class.ModifierBuilder(ResourceLocation pId, Holder<Attribute> pAttribute, AttributeModifier.Operation pOperation, NumberProvider pAmount) privateSetContainerLootTable(List<LootItemCondition> pConditions, ResourceKey<LootTable> pName, long pSeed, Holder<BlockEntityType<?>> pType) SetItemFunction(List<LootItemCondition> pConditions, Holder<Item> pItem) privateSetPotionFunction(List<LootItemCondition> pConditions, Holder<Potion> pPotion) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type HolderModifierConstructorDescription(package private)SetEnchantmentsFunction(List<LootItemCondition> pConditions, Map<Holder<Enchantment>, NumberProvider> pEnchantments, boolean pAdd) -
Uses of Holder in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates declared as HolderModifier and TypeFieldDescriptionLootItemBlockStatePropertyCondition.blockThe field for theblockrecord component.LootItemBlockStatePropertyCondition.Builder.blockprivate final Holder<Enchantment> BonusLevelTableCondition.enchantmentThe field for theenchantmentrecord component.private final Holder<Enchantment> LootItemRandomChanceWithEnchantedBonusCondition.enchantmentThe field for theenchantmentrecord component.Fields in net.minecraft.world.level.storage.loot.predicates with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<LootItemCondition>> LootItemCondition.CODECMethods in net.minecraft.world.level.storage.loot.predicates that return HolderModifier and TypeMethodDescriptionLootItemBlockStatePropertyCondition.block()Returns the value of theblockrecord component.BonusLevelTableCondition.enchantment()Returns the value of theenchantmentrecord component.LootItemRandomChanceWithEnchantedBonusCondition.enchantment()Returns the value of theenchantmentrecord component.Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type HolderModifier and TypeMethodDescriptionstatic LootItemCondition.BuilderBonusLevelTableCondition.bonusLevelFlatChance(Holder<Enchantment> pEnchantment, float... pValues) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type HolderModifierConstructorDescriptionBonusLevelTableCondition(Holder<Enchantment> enchantment, List<Float> values) Creates an instance of aBonusLevelTableConditionrecord class.LootItemBlockStatePropertyCondition(Holder<Block> block, Optional<StatePropertiesPredicate> properties) Creates an instance of aLootItemBlockStatePropertyConditionrecord class.LootItemRandomChanceWithEnchantedBonusCondition(float unenchantedChance, LevelBasedValue enchantedChance, Holder<Enchantment> enchantment) Creates an instance of aLootItemRandomChanceWithEnchantedBonusConditionrecord class. -
Uses of Holder in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type HolderModifier and TypeMethodDescriptionfinal voidRegisterClientExtensionsEvent.registerBlock(IClientBlockExtensions extensions, Holder<Block>... blocks) Register the givenIClientBlockExtensionsfor the givenBlocksfinal voidRegisterClientExtensionsEvent.registerFluidType(IClientFluidTypeExtensions extensions, Holder<FluidType>... fluidTypes) Register the givenIClientFluidTypeExtensionsfor the givenFluidTypesfinal voidRegisterClientExtensionsEvent.registerItem(IClientItemExtensions extensions, Holder<Item>... items) Register the givenIClientItemExtensionsfor the givenItemsfinal voidRegisterClientExtensionsEvent.registerMobEffect(IClientMobEffectExtensions extensions, Holder<MobEffect>... mobEffects) Register the givenIClientMobEffectExtensionsfor the givenMobEffects -
Uses of Holder in net.neoforged.neoforge.client.renderstate
Methods in net.neoforged.neoforge.client.renderstate with parameters of type HolderModifier and TypeMethodDescriptionRenderStateExtensions.onUpdateMapDecorationRenderState(Holder<MapDecorationType> mapDecorationTypeHolder, MapItemSavedData mapItemSavedData, MapRenderState mapRenderState, MapRenderState.MapDecorationRenderState mapDecorationRenderState) -
Uses of Holder in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as HolderModifier and TypeFieldDescriptionstatic final Holder<HolderSetType> NeoForgeMod.AND_HOLDER_SETStock holder set type that represents an intersection of other holdersets.static final Holder<HolderSetType> NeoForgeMod.ANY_HOLDER_SETStock holder set type that represents any/all values in a registry.static final Holder<TicketType> NeoForgeMod.BLOCK_TICKETstatic final Holder<TicketType> NeoForgeMod.BLOCK_WITH_NATURAL_SPAWNING_TICKETNeoForgeMod.CREATIVE_FLIGHTThis attribute controls if the player may use creative flight when not in creative mode.NeoForgeMod.EMPTY_TYPEstatic final Holder<TicketType> NeoForgeMod.ENTITY_TICKETstatic final Holder<TicketType> NeoForgeMod.ENTITY_WITH_NATURAL_SPAWNING_TICKETprivate static final Holder<ArgumentTypeInfo<?, ?>> NeoForgeMod.ENUM_COMMAND_ARGUMENT_TYPEstatic final Holder<TicketType> NeoForgeMod.GENERATE_FORCED_TICKETNeoForgeMod.LAVA_TYPENeoForgeMod.NAMETAG_DISTANCEstatic final Holder<HolderSetType> NeoForgeMod.NOT_HOLDER_SETStock holder set type that represents all values in a registry except those in another given set.static final Holder<HolderSetType> NeoForgeMod.OR_HOLDER_SETStock holder set type that represents a union of other holdersets.NeoForgeMod.SWIM_SPEEDNeoForgeMod.WATER_TYPEMethods in net.neoforged.neoforge.common with parameters of type HolderModifier and TypeMethodDescriptionstatic booleanCommonHooks.onVanillaGameEvent(Level level, Holder<GameEvent> vanillaEvent, Vec3 pos, GameEvent.Context context) -
Uses of Holder in net.neoforged.neoforge.common.crafting
Methods in net.neoforged.neoforge.common.crafting that return types with arguments of type HolderModifier and TypeMethodDescriptionBlockTagIngredient.items()CompoundIngredient.items()CustomDisplayIngredient.items()DataComponentIngredient.items()DifferenceIngredient.items()ICustomIngredient.items()Returns the list of items that this ingredient accepts.IntersectionIngredient.items()Methods in net.neoforged.neoforge.common.crafting with parameters of type HolderModifier and TypeMethodDescriptionstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentExactPredicate predicate, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentMap map, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given components -
Uses of Holder in net.neoforged.neoforge.common.data
Methods in net.neoforged.neoforge.common.data with parameters of type HolderModifier and TypeMethodDescriptionDataMapProvider.Builder.add(Holder<R> object, T value, boolean replace, ICondition... conditions) -
Uses of Holder in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return HolderModifier and TypeMethodDescriptionIHolderExtension.getDelegate()Returns the holder that this holder wraps.default <T> Holder<T> IHolderLookupProviderExtension.holderOrThrow(ResourceKey<T> key) Shortcut method to get a holder from a ResourceKey.default <T> Holder<T> ILevelReaderExtension.holderOrThrow(ResourceKey<T> key) Shortcut method to get a holder from a ResourceKey.Methods in net.neoforged.neoforge.common.extensions with parameters of type HolderModifier and TypeMethodDescriptiondefault intIItemExtension.getEnchantmentLevel(ItemStack stack, Holder<Enchantment> enchantment) Gets the level of the enchantment currently present on the stack.default intIItemStackExtension.getEnchantmentLevel(Holder<Enchantment> enchantment) Gets the gameplay level of the target enchantment on this stack.default booleanIItemExtension.isPrimaryItemFor(ItemStack stack, Holder<Enchantment> enchantment) Checks if an item should be treated as a primary item for a given enchantment.default booleanIItemStackExtension.isPrimaryItemFor(Holder<Enchantment> enchantment) default booleanIItemExtension.supportsEnchantment(ItemStack stack, Holder<Enchantment> enchantment) Checks if the provided enchantment is applicable to the passed item stack.default booleanIItemStackExtension.supportsEnchantment(Holder<Enchantment> enchantment) -
Uses of Holder in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic Multimap<Holder<Attribute>, AttributeModifier> AttributeUtil.getSortedModifiers(ItemStack stack, EquipmentSlotGroup slot) Returns a sorted, mutableMultimapcontaining all the attribute modifiers on an item stack for the given group.static Multimap<Holder<Attribute>, AttributeModifier> AttributeUtil.sortedMap()Creates a sortedTreeMultimapused to ensure a stable iteration order of item attribute modifiers.Method parameters in net.neoforged.neoforge.common.util with type arguments of type HolderModifier and TypeMethodDescriptionstatic voidAttributeUtil.addPotionTooltip(List<com.mojang.datafixers.util.Pair<Holder<Attribute>, AttributeModifier>> list, Consumer<Component> tooltips) Adds tooltip lines for the attribute modifiers contained in aPotionContents.static voidAttributeUtil.applyTextFor(ItemStack stack, Consumer<Component> tooltip, Multimap<Holder<Attribute>, AttributeModifier> modifierMap, AttributeTooltipContext ctx) Applies the text for the provided attribute modifiers to the tooltip for a given item stack. -
Uses of Holder in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<BiomeModifier>> BiomeModifier.REFERENCE_CODECCodec for referring to biome modifiers by id in other datapack registry files.static final com.mojang.serialization.Codec<Holder<StructureModifier>> StructureModifier.REFERENCE_CODECCodec for referring to structure modifiers by id in other datapack registry files.Methods in net.neoforged.neoforge.common.world that return types with arguments of type HolderModifier and TypeMethodDescriptionBiomeSpecialEffectsBuilder.getAmbientLoopSound()BiomeGenerationSettingsBuilder.getCarvers()BiomeGenerationSettingsBuilder.getFeatures(GenerationStep.Decoration stage) Methods in net.neoforged.neoforge.common.world with parameters of type HolderModifier and TypeMethodDescriptionbooleanModifiableBiomeInfo.applyBiomeModifiers(Holder<Biome> biome, List<BiomeModifier> biomeModifiers, RegistryAccess registryAccess) Internal NeoForge method.voidModifiableStructureInfo.applyStructureModifiers(Holder<Structure> structure, List<StructureModifier> structureModifiers) Internal NeoForge method.voidBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) Modifies the information via the provided biome builder.voidBiomeModifiers.AddCarversBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.AddFeaturesBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.AddSpawnCostsBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.AddSpawnsBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.RemoveCarversBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.RemoveFeaturesBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.RemoveSpawnCostsBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.RemoveSpawnsBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidNoneBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidNoneStructureModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) voidStructureModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) Modifies the information via the provided structure builder.voidStructureModifiers.AddSpawnsStructureModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) voidStructureModifiers.ClearSpawnsStructureModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) voidStructureModifiers.RemoveSpawnsStructureModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) -
Uses of Holder in net.neoforged.neoforge.common.world.chunk
Fields in net.neoforged.neoforge.common.world.chunk declared as HolderModifier and TypeFieldDescriptionprivate final Holder<TicketType> ForcedChunkManager.TicketTracker.naturalSpawningTicketTypeprivate final Holder<TicketType> ForcedChunkManager.TicketTracker.ticketTypeMethods in net.neoforged.neoforge.common.world.chunk with parameters of type HolderModifier and TypeMethodDescriptionprivate voidForcedChunkManager.TicketTracker.inheritSources(@Nullable Holder<TicketType> ticketType, it.unimi.dsi.fastutil.longs.Long2ObjectMap<Set<ForcedChunkManager.TicketOwner<T>>> fromSource, it.unimi.dsi.fastutil.longs.Long2ObjectMap<Set<ForcedChunkManager.TicketOwner<T>>> toSource) Constructors in net.neoforged.neoforge.common.world.chunk with parameters of type HolderModifierConstructorDescriptionTicketTracker(TicketStorage ticketStorage, Holder<TicketType> ticketType, Holder<TicketType> naturalSpawningTicketType) -
Uses of Holder in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as HolderModifier and TypeFieldDescriptionItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.attrThe field for theattrrecord component.private Holder<SoundEvent> PlayLevelSoundEvent.soundVanillaGameEvent.vanillaEventMethods in net.neoforged.neoforge.event that return HolderModifier and TypeMethodDescriptionItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.attr()Returns the value of theattrrecord component.@Nullable Holder<SoundEvent> PlayLevelSoundEvent.getSound()Returns the sound event to be played.VanillaGameEvent.getVanillaEvent()RegisterGameTestsEvent.registerEnvironment(ResourceLocation name, TestEnvironmentDefinition definition) RegisterGameTestsEvent.registerEnvironment(ResourceLocation name, TestEnvironmentDefinition... definitions) Methods in net.neoforged.neoforge.event with parameters of type HolderModifier and TypeMethodDescriptionbooleanItemAttributeModifierEvent.addModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Adds a new attribute modifier to the given stack.(package private) booleanItemAttributeModifierEvent.ItemAttributeModifiersBuilder.addModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Attempts to add a new modifier, refusing if one is already present with the same id.static BlockGrowFeatureEventEventHooks.fireBlockGrowFeature(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) Fires theBlockGrowFeatureEventand returns the event object.static intEventHooks.getEnchantmentLevelSpecific(int level, ItemStack stack, Holder<Enchantment> ench) FiresGetEnchantmentLevelEventand for a single enchantment, returning the (possibly event-modified) level.static booleanEventHooks.onEffectRemoved(LivingEntity entity, Holder<MobEffect> effect) static PlayLevelSoundEvent.AtEntityEventHooks.onPlaySoundAtEntity(Entity entity, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) EventHooks.onPlaySoundAtPosition(Level level, double x, double y, double z, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) booleanItemAttributeModifierEvent.removeAllModifiersFor(Holder<Attribute> attribute) Removes all modifiers for the given attribute.(package private) booleanItemAttributeModifierEvent.ItemAttributeModifiersBuilder.removeModifier(Holder<Attribute> attribute, ResourceLocation id) Removes a modifier for the target attribute with the given id.booleanItemAttributeModifierEvent.removeModifier(Holder<Attribute> attribute, ResourceLocation id) Removes an attribute modifier for the target attribute by id(package private) ItemAttributeModifiers.EntryItemAttributeModifierEvent.ItemAttributeModifiersBuilder.replaceModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Adds a modifier to the list, replacing any existing modifiers with the same id.voidItemAttributeModifierEvent.replaceModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Adds a new attribute modifier to the given stack, optionally replacing any existing modifiers with the same id.voidPlayLevelSoundEvent.setSound(@Nullable Holder<SoundEvent> sound) Sets the sound event to be played.Method parameters in net.neoforged.neoforge.event with type arguments of type HolderModifier and TypeMethodDescriptionvoidRegisterGameTestsEvent.registerTest(ResourceLocation name, Function<TestData<Holder<TestEnvironmentDefinition>>, GameTestInstance> factory, TestData<Holder<TestEnvironmentDefinition>> testData) voidRegisterGameTestsEvent.registerTest(ResourceLocation name, Function<TestData<Holder<TestEnvironmentDefinition>>, GameTestInstance> factory, TestData<Holder<TestEnvironmentDefinition>> testData) Constructors in net.neoforged.neoforge.event with parameters of type HolderModifierConstructorDescriptionAtEntity(Entity entity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) AtPosition(Level level, Vec3 position, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) privateKey(Holder<Attribute> attr, ResourceLocation id) Creates an instance of aKeyrecord class.PlayLevelSoundEvent(Level level, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) VanillaGameEvent(Level level, Holder<GameEvent> vanillaEvent, Vec3 position, GameEvent.Context context) -
Uses of Holder in net.neoforged.neoforge.event.enchanting
Fields in net.neoforged.neoforge.event.enchanting declared as HolderModifier and TypeFieldDescriptionprotected final @Nullable Holder<Enchantment> GetEnchantmentLevelEvent.targetEnchantMethods in net.neoforged.neoforge.event.enchanting that return HolderModifier and TypeMethodDescription@Nullable Holder<Enchantment> GetEnchantmentLevelEvent.getTargetEnchant()This method returns the specific enchantment being queried from.invalid reference
IItemStackExtension#getEnchantmentLevel(Enchantment)Methods in net.neoforged.neoforge.event.enchanting with parameters of type HolderModifier and TypeMethodDescriptionbooleanGetEnchantmentLevelEvent.isTargetting(Holder<Enchantment> ench) Helper method aroundGetEnchantmentLevelEvent.getTargetEnchant()that checks if the target is the specified enchantment, or if the target is null.Constructors in net.neoforged.neoforge.event.enchanting with parameters of type HolderModifierConstructorDescriptionGetEnchantmentLevelEvent(ItemStack stack, ItemEnchantments.Mutable enchantments, @Nullable Holder<Enchantment> targetEnchant, HolderLookup.RegistryLookup<Enchantment> lookup) -
Uses of Holder in net.neoforged.neoforge.event.entity
Methods in net.neoforged.neoforge.event.entity with parameters of type HolderModifier and TypeMethodDescriptionvoidEntityAttributeModificationEvent.add(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute) voidEntityAttributeModificationEvent.add(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute, double value) booleanEntityAttributeModificationEvent.has(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute) -
Uses of Holder in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as HolderMethods in net.neoforged.neoforge.event.entity.living that return HolderConstructors in net.neoforged.neoforge.event.entity.living with parameters of type Holder -
Uses of Holder in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as HolderModifier and TypeFieldDescriptionprivate @Nullable Holder<ConfiguredFeature<?, ?>> BlockGrowFeatureEvent.featureMethods in net.neoforged.neoforge.event.level that return HolderModifier and TypeMethodDescription@Nullable Holder<ConfiguredFeature<?, ?>> BlockGrowFeatureEvent.getFeature()Returns the holder of the feature which will be placed, possibly null.Methods in net.neoforged.neoforge.event.level with parameters of type HolderModifier and TypeMethodDescriptionvoidBlockGrowFeatureEvent.setFeature(@Nullable Holder<ConfiguredFeature<?, ?>> feature) Changes the feature that will be grown.Constructors in net.neoforged.neoforge.event.level with parameters of type HolderModifierConstructorDescriptionBlockGrowFeatureEvent(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> feature) -
Uses of Holder in net.neoforged.neoforge.fluids
Fields in net.neoforged.neoforge.fluids with type parameters of type HolderMethods in net.neoforged.neoforge.fluids that return HolderModifier and TypeMethodDescriptionFluidStack.getFluidHolder()SimpleFluidContent.getFluidHolder()Methods in net.neoforged.neoforge.fluids with parameters of type HolderModifier and TypeMethodDescriptionbooleanbooleanMethod parameters in net.neoforged.neoforge.fluids with type arguments of type HolderModifier and TypeMethodDescriptionbooleanbooleanConstructors in net.neoforged.neoforge.fluids with parameters of type HolderModifierConstructorDescriptionFluidStack(Holder<Fluid> fluid, int amount) FluidStack(Holder<Fluid> fluid, int amount, DataComponentPatch patch) -
Uses of Holder in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting with type parameters of type HolderMethods in net.neoforged.neoforge.fluids.crafting that return types with arguments of type HolderModifier and TypeMethodDescriptionFluidIngredient.fluids()Returns a cached list of all Fluid holders that this ingredient accepts.CompoundFluidIngredient.generateFluids()CustomDisplayFluidIngredient.generateFluids()DataComponentFluidIngredient.generateFluids()DifferenceFluidIngredient.generateFluids()FluidIngredient.generateFluids()Returns a stream of fluids accepted by this ingredient.IntersectionFluidIngredient.generateFluids()SimpleFluidIngredient.generateFluids()Methods in net.neoforged.neoforge.fluids.crafting with parameters of type HolderModifier and TypeMethodDescriptionstatic SlotDisplayFluidIngredient.displayForSingleFluid(Holder<Fluid> holder) static FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate predicate, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given components -
Uses of Holder in net.neoforged.neoforge.fluids.crafting.display
Fields in net.neoforged.neoforge.fluids.crafting.display declared as HolderModifier and TypeFieldDescriptionFluidSlotDisplay.fluidThe field for thefluidrecord component.Methods in net.neoforged.neoforge.fluids.crafting.display that return HolderModifier and TypeMethodDescriptionFluidSlotDisplay.fluid()Returns the value of thefluidrecord component.Methods in net.neoforged.neoforge.fluids.crafting.display with parameters of type HolderConstructors in net.neoforged.neoforge.fluids.crafting.display with parameters of type HolderModifierConstructorDescriptionFluidSlotDisplay(Holder<Fluid> fluid) Creates an instance of aFluidSlotDisplayrecord class. -
Uses of Holder in net.neoforged.neoforge.registries
Classes in net.neoforged.neoforge.registries that implement HolderModifier and TypeClassDescriptionclassDeferredBlock<T extends Block>classDeferredHolder<R,T extends R> A Deferred Holder is aHolderthat is constructed with only a ResourceKey.classDeferredItem<T extends Item>Fields in net.neoforged.neoforge.registries declared as HolderFields in net.neoforged.neoforge.registries with type parameters of type HolderModifier and TypeFieldDescription(package private) static final Map<BlockState, Holder<PoiType>> NeoForgeRegistryCallbacks.PoiTypeCallbacks.BLOCKSTATE_TO_POI_TYPE_MAPMethods in net.neoforged.neoforge.registries that return HolderMethods in net.neoforged.neoforge.registries that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic Map<BlockState, Holder<PoiType>> GameData.getBlockStatePointOfInterestTypeMap()Methods in net.neoforged.neoforge.registries with parameters of type HolderModifier and TypeMethodDescriptionbooleanDeprecated.DeferredRegister.Items.registerSimpleBlockItem(Holder<Block> block) Adds a new simpleBlockItemfor the givenBlockto the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.DeferredRegister.Items.registerSimpleBlockItem(Holder<Block> block, Item.Properties properties) Adds a new simpleBlockItemfor the givenBlockto the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.Method parameters in net.neoforged.neoforge.registries with type arguments of type Holder -
Uses of Holder in net.neoforged.neoforge.registries.holdersets
Fields in net.neoforged.neoforge.registries.holdersets with type parameters of type HolderModifier and TypeFieldDescriptionCompositeHolderSet.listNotHolderSet.listCompositeHolderSet.setMethods in net.neoforged.neoforge.registries.holdersets that return HolderModifier and TypeMethodDescriptionAnyHolderSet.get(int i) CompositeHolderSet.get(int i) NotHolderSet.get(int i) Methods in net.neoforged.neoforge.registries.holdersets that return types with arguments of type HolderModifier and TypeMethodDescriptionAndHolderSet.createSet()CompositeHolderSet.createSet()Returns immutable Set of Holders given this composite holderset's component holdersets.OrHolderSet.createSet()CompositeHolderSet.getList()NotHolderSet.getList()AnyHolderSet.getRandomElement(RandomSource random) CompositeHolderSet.getRandomElement(RandomSource rand) NotHolderSet.getRandomElement(RandomSource random) CompositeHolderSet.getSet()AnyHolderSet.iterator()CompositeHolderSet.iterator()NotHolderSet.iterator()AnyHolderSet.stream()CompositeHolderSet.stream()NotHolderSet.stream()AnyHolderSet.unwrap()CompositeHolderSet.unwrap()NotHolderSet.unwrap()Methods in net.neoforged.neoforge.registries.holdersets with parameters of type HolderModifier and TypeMethodDescriptionbooleanbooleanbooleanMethod parameters in net.neoforged.neoforge.registries.holdersets with type arguments of type HolderModifier and TypeMethodDescription<T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AndHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AnyHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> HolderSetType.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> NotHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> OrHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList)
EnchantmentHelper.getTagEnchantmentLevel(Holder, ItemStack)for NBT enchantments, orIItemStackExtension.getEnchantmentLevel(Holder)for gameplay.