Uses of Interface
net.minecraft.core.Holder
Package
Description
-
Uses of Holder in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final EntityVariantPredicate<Holder<PaintingVariant>>
EntitySubPredicate.Types.PAINTING
-
Uses of Holder in net.minecraft.client.gui.components
Modifier and TypeMethodDescriptionprivate static String
DebugScreenOverlay.printBiome
(Holder<Biome> p_205375_) -
Uses of Holder in net.minecraft.client.gui.screens
ModifierConstructorDescriptionCreateBuffetWorldScreen
(Screen p_232732_, WorldCreationContext p_232733_, Consumer<Holder<Biome>> p_232734_) -
Uses of Holder in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionprivate List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,
DyeColor>> LoomScreen.resultBannerPatterns
Modifier and TypeMethodDescriptionprivate void
LoomScreen.renderPattern
(Holder<BannerPattern> p_232825_, int p_232826_, int p_232827_) -
Uses of Holder in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate Optional<Holder<WorldPreset>>
WorldGenSettingsComponent.preset
private CycleButton<Holder<WorldPreset>>
WorldGenSettingsComponent.typeButton
Modifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>>
WorldGenSettingsComponent.findPreset
(WorldCreationContext p_233048_, Optional<ResourceKey<WorldPreset>> p_233049_) private static Optional<List<Holder<WorldPreset>>>
WorldGenSettingsComponent.getNonEmptyList
(Registry<WorldPreset> p_233060_, TagKey<WorldPreset> p_233061_) Modifier and TypeMethodDescriptionprivate static Component
WorldGenSettingsComponent.describePreset
(Holder<WorldPreset> p_233086_) private static WorldCreationContext.DimensionsUpdater
PresetEditor.fixedBiomeConfigurator
(Holder<Biome> p_248835_) private static boolean
WorldGenSettingsComponent.isAmplified
(Holder<WorldPreset> p_233051_) -
Uses of Holder in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionClientLevel.getUncachedNoiseBiome
(int p_205516_, int p_205517_, int p_205518_) Modifier and TypeMethodDescriptionvoid
ClientLevel.playSeededSound
(Player p_263381_, 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_) void
ClientLevel.playSeededSound
(Player p_263514_, Entity p_263536_, Holder<SoundEvent> p_263518_, SoundSource p_263487_, float p_263538_, float p_263524_, long p_263509_) ModifierConstructorDescriptionClientLevel
(ClientPacketListener p_205505_, ClientLevel.ClientLevelData p_205506_, ResourceKey<Level> p_205507_, Holder<DimensionType> p_205508_, int p_205509_, int p_205510_, Supplier<ProfilerFiller> p_205511_, LevelRenderer p_205512_, boolean p_205513_, long p_205514_) -
Uses of Holder in net.minecraft.client.renderer.blockentity
Modifier and TypeMethodDescriptionstatic void
BannerRenderer.renderPatterns
(PoseStack p_112066_, MultiBufferSource p_112067_, int p_112068_, int p_112069_, ModelPart p_112070_, Material p_112071_, boolean p_112072_, List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>> p_112073_) static void
BannerRenderer.renderPatterns
(PoseStack p_112075_, MultiBufferSource p_112076_, int p_112077_, int p_112078_, ModelPart p_112079_, Material p_112080_, boolean p_112081_, List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>> p_112082_, boolean p_112083_) -
Uses of Holder in net.minecraft.client.resources.sounds
Modifier and TypeMethodDescriptionstatic SimpleSoundInstance
SimpleSoundInstance.forUI
(Holder<SoundEvent> p_263418_, float p_263405_) -
Uses of Holder in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
-
Uses of Holder in net.minecraft.commands.arguments.item
Modifier and TypeFieldDescriptionItemInput.item
ItemParser.ItemResult.item
The field for theitem
record component.Modifier and TypeMethodDescriptionItemParser.ItemResult.item()
Returns the value of theitem
record component.Modifier and TypeMethodDescriptionprivate static ItemPredicateArgument.Result
ItemPredicateArgument.createResult
(Predicate<Holder<Item>> p_235366_, CompoundTag p_235367_) ModifierConstructorDescriptionItemInput
(Holder<Item> p_235282_, CompoundTag p_235283_) ItemResult
(Holder<Item> item, CompoundTag nbt) Creates an instance of aItemResult
record class. -
Uses of Holder in net.minecraft.core
Modifier and TypeClassDescriptionstatic final record
static class
Modifier and TypeFieldDescriptionHolderSet.Direct.contents
HolderSet.Named.contents
HolderSet.Direct.contentsSet
Modifier and TypeMethodDescriptionstatic <T> Holder<T>
Holder.direct
(T p_205710_) HolderSet.get
(int p_205798_) HolderSet.ListBacked.get
(int p_205823_) WritableRegistry.registerMapping
(int p_206368_, ResourceKey<T> p_206369_, T p_206370_, com.mojang.serialization.Lifecycle p_206371_) MappedRegistry.wrapAsHolder
(T p_263356_) Registry.wrapAsHolder
(T p_263382_) Modifier and TypeMethodDescriptionRegistry.asHolderIdMap()
HolderSet.Direct.contents()
HolderSet.ListBacked.contents()
HolderSet.Named.contents()
HolderSet.getRandomElement
(RandomSource p_235712_) HolderSet.ListBacked.getRandomElement
(RandomSource p_235714_) Registry.getTagOrEmpty
(TagKey<T> p_206059_) Registry.holderByNameCodec()
HolderSet.ListBacked.iterator()
HolderSet.ListBacked.spliterator()
HolderSet.ListBacked.stream()
HolderSet.stream()
HolderSet.Direct.unwrap()
HolderSet.Named.unwrap()
HolderSet.unwrap()
Modifier and TypeMethodDescriptionvoid
void
void
static <E,
T> HolderSet.Direct<T> static <E,
T> HolderSet.Direct<T> static <T> HolderSet.Direct<T>
-
Uses of Holder in net.minecraft.data.worldgen.features
Modifier and TypeMethodDescriptionprivate static Holder<PlacedFeature>
CaveFeatures.makeDripleaf
(Direction p_206468_) private static Holder<PlacedFeature>
CaveFeatures.makeSmallDripleaf()
Modifier and TypeMethodDescriptionstatic RandomPatchConfiguration
FeatureUtils.simpleRandomPatchConfiguration
(int p_206471_, Holder<PlacedFeature> p_206472_) -
Uses of Holder in net.minecraft.data.worldgen.placement
Modifier and TypeMethodDescriptionstatic <FC extends FeatureConfiguration,
F extends Feature<FC>>
Holder<PlacedFeature>PlacementUtils.filtered
(F p_206499_, FC p_206500_, BlockPredicate p_206501_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
Holder<PlacedFeature>PlacementUtils.inlinePlaced
(F p_206503_, FC p_206504_, PlacementModifier... p_206505_) static Holder<PlacedFeature>
PlacementUtils.inlinePlaced
(Holder<ConfiguredFeature<?, ?>> p_206507_, PlacementModifier... p_206508_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
Holder<PlacedFeature>PlacementUtils.onlyWhenEmpty
(F p_206496_, FC p_206497_) Modifier and TypeMethodDescriptionstatic Holder<PlacedFeature>
PlacementUtils.inlinePlaced
(Holder<ConfiguredFeature<?, ?>> p_206507_, PlacementModifier... p_206508_) static void
PlacementUtils.register
(BootstapContext<PlacedFeature> p_255872_, ResourceKey<PlacedFeature> p_255820_, Holder<ConfiguredFeature<?, ?>> p_255813_, List<PlacementModifier> p_256042_) static void
PlacementUtils.register
(BootstapContext<PlacedFeature> p_256241_, ResourceKey<PlacedFeature> p_256614_, Holder<ConfiguredFeature<?, ?>> p_255855_, PlacementModifier... p_256413_) -
Uses of Holder in net.minecraft.network
Modifier and TypeMethodDescription<T> Holder<T>
FriendlyByteBuf.readById
(IdMap<Holder<T>> p_263401_, FriendlyByteBuf.Reader<T> p_263374_) Modifier and TypeMethodDescription<T> void
FriendlyByteBuf.writeId
(IdMap<Holder<T>> p_263337_, Holder<T> p_263384_, FriendlyByteBuf.Writer<T> p_263358_) Modifier and TypeMethodDescription<T> Holder<T>
FriendlyByteBuf.readById
(IdMap<Holder<T>> p_263401_, FriendlyByteBuf.Reader<T> p_263374_) <T> void
FriendlyByteBuf.writeId
(IdMap<Holder<T>> p_263337_, Holder<T> p_263384_, FriendlyByteBuf.Writer<T> p_263358_) -
Uses of Holder in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final Holder<SoundEvent>
ClientboundSoundEntityPacket.sound
private final Holder<SoundEvent>
ClientboundSoundPacket.sound
Modifier and TypeMethodDescriptionClientboundSoundEntityPacket.getSound()
ClientboundSoundPacket.getSound()
ModifierConstructorDescriptionClientboundSoundEntityPacket
(Holder<SoundEvent> p_263513_, SoundSource p_263511_, Entity p_263496_, float p_263519_, float p_263523_, long p_263532_) ClientboundSoundPacket
(Holder<SoundEvent> p_263366_, SoundSource p_263375_, double p_263378_, double p_263367_, double p_263394_, float p_263415_, float p_263399_, long p_263409_) -
Uses of Holder in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer<Holder<PaintingVariant>>
EntityDataSerializers.PAINTING_VARIANT
-
Uses of Holder in net.minecraft.resources
Modifier 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.combinedCodec
HolderSetCodec.elementCodec
HolderSetCodec.homogenousListCodec
private final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<E>,
List<Holder<E>>>> HolderSetCodec.registryAwareCodec
Modifier and TypeMethodDescriptionRegistryFileCodec.decode
(com.mojang.serialization.DynamicOps<T> p_135608_, T p_135609_) RegistryFixedCodec.decode
(com.mojang.serialization.DynamicOps<T> p_206743_, T p_206744_) HolderSetCodec.homogenousList
(com.mojang.serialization.Codec<Holder<E>> p_206668_, boolean p_206669_) Modifier and TypeMethodDescription<T> com.mojang.serialization.DataResult<T>
RegistryFileCodec.encode
(Holder<E> p_206716_, com.mojang.serialization.DynamicOps<T> p_206717_, T p_206718_) <T> com.mojang.serialization.DataResult<T>
RegistryFixedCodec.encode
(Holder<E> p_206729_, com.mojang.serialization.DynamicOps<T> p_206730_, T p_206731_) Modifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<HolderSet<E>>
HolderSetCodec.create
(ResourceKey<? extends Registry<E>> p_206686_, com.mojang.serialization.Codec<Holder<E>> p_206687_, boolean p_206688_) HolderSetCodec.homogenousList
(com.mojang.serialization.Codec<Holder<E>> p_206668_, boolean p_206669_) ModifierConstructorDescriptionprivate
HolderSetCodec
(ResourceKey<? extends Registry<E>> p_206660_, com.mojang.serialization.Codec<Holder<E>> p_206661_, boolean p_206662_) -
Uses of Holder in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
AttributeCommand.addModifier
(CommandSourceStack p_136470_, Entity p_136471_, Holder<Attribute> p_251636_, UUID p_136473_, String p_136474_, double p_136475_, AttributeModifier.Operation p_136476_) private static int
EffectCommands.clearEffect
(CommandSourceStack p_250069_, Collection<? extends Entity> p_248561_, Holder<MobEffect> p_249198_) private static int
EnchantCommand.enchant
(CommandSourceStack p_249815_, Collection<? extends Entity> p_248848_, Holder<Enchantment> p_251252_, int p_249941_) private static int
AttributeCommand.getAttributeBase
(CommandSourceStack p_248780_, Entity p_251083_, Holder<Attribute> p_250388_, double p_250194_) private static Component
AttributeCommand.getAttributeDescription
(Holder<Attribute> p_250602_) private static AttributeInstance
AttributeCommand.getAttributeInstance
(Entity p_252177_, Holder<Attribute> p_249942_) private static int
AttributeCommand.getAttributeModifier
(CommandSourceStack p_136464_, Entity p_136465_, Holder<Attribute> p_250680_, UUID p_136467_, double p_136468_) private static int
AttributeCommand.getAttributeValue
(CommandSourceStack p_251776_, Entity p_249647_, Holder<Attribute> p_250986_, double p_251395_) private static LivingEntity
AttributeCommand.getEntityWithAttribute
(Entity p_252105_, Holder<Attribute> p_248921_) private static int
EffectCommands.giveEffect
(CommandSourceStack p_250553_, Collection<? extends Entity> p_250411_, Holder<MobEffect> p_249495_, Integer p_249652_, int p_251498_, boolean p_249944_) private static BiomeResolver
FillBiomeCommand.makeResolver
(org.apache.commons.lang3.mutable.MutableInt p_262615_, ChunkAccess p_262698_, BoundingBox p_262622_, Holder<Biome> p_262705_, Predicate<Holder<Biome>> p_262695_) static int
PlaceCommand.placeJigsaw
(CommandSourceStack p_214570_, Holder<StructureTemplatePool> p_214571_, ResourceLocation p_214572_, int p_214573_, BlockPos p_214574_) private static int
AttributeCommand.removeModifier
(CommandSourceStack p_136459_, Entity p_136460_, Holder<Attribute> p_250830_, UUID p_136462_) private static int
AttributeCommand.setAttributeBase
(CommandSourceStack p_248556_, Entity p_248620_, Holder<Attribute> p_249456_, double p_252212_) Modifier and TypeMethodDescriptionprivate static int
FillBiomeCommand.fill
(CommandSourceStack p_262664_, BlockPos p_262651_, BlockPos p_262678_, Holder.Reference<Biome> p_262612_, Predicate<Holder<Biome>> p_262697_) private static String
LocateCommand.getElementName
(com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_249526_) private static BiomeResolver
FillBiomeCommand.makeResolver
(org.apache.commons.lang3.mutable.MutableInt p_262615_, ChunkAccess p_262698_, BoundingBox p_262622_, Holder<Biome> p_262705_, Predicate<Holder<Biome>> p_262695_) static int
LocateCommand.showLocateResult
(CommandSourceStack p_263098_, ResourceOrTagArgument.Result<?> p_262956_, BlockPos p_262917_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_263074_, String p_262937_, boolean p_263051_, Duration p_263028_) static int
LocateCommand.showLocateResult
(CommandSourceStack p_263019_, ResourceOrTagKeyArgument.Result<?> p_263031_, BlockPos p_262989_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_262959_, String p_263045_, boolean p_262934_, Duration p_262960_) private static int
LocateCommand.showLocateResult
(CommandSourceStack p_262983_, BlockPos p_263016_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_262941_, String p_263083_, boolean p_263010_, String p_263048_, Duration p_263040_) -
Uses of Holder in net.minecraft.server.level
Modifier and TypeMethodDescriptionServerLevel.getUncachedNoiseBiome
(int p_203775_, int p_203776_, int p_203777_) WorldGenRegion.getUncachedNoiseBiome
(int p_203787_, int p_203788_, int p_203789_) Modifier and TypeMethodDescriptionServerLevel.findClosestBiome3d
(Predicate<Holder<Biome>> p_215070_, BlockPos p_215071_, int p_215072_, int p_215073_, int p_215074_) Modifier and TypeMethodDescriptionvoid
ServerLevel.playSeededSound
(Player p_263330_, 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_) void
ServerLevel.playSeededSound
(Player p_263545_, Entity p_263544_, Holder<SoundEvent> p_263491_, SoundSource p_263542_, float p_263530_, float p_263520_, long p_263490_) -
Uses of Holder in net.minecraft.sounds
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<SoundEvent>>
SoundEvent.CODEC
Modifier and TypeMethodDescriptionMusic.getEvent()
private static Holder<SoundEvent>
SoundEvents.register
(ResourceLocation p_263323_, ResourceLocation p_263411_, float p_263385_) Modifier and TypeMethodDescriptionstatic Music
Musics.createGameMusic
(Holder<SoundEvent> p_263395_) ModifierConstructorDescriptionMusic
(Holder<SoundEvent> p_263426_, int p_263377_, int p_263383_, boolean p_263387_) -
Uses of Holder in net.minecraft.tags
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Collection<Holder<T>>> TagManager.LoadResult.tags
The field for thetags
record component.Modifier and TypeMethodDescriptionTagManager.LoadResult.tags()
Returns the value of thetags
record component.Modifier and TypeMethodDescriptionvoid
ModifierConstructorDescriptionLoadResult
(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Collection<Holder<T>>> tags) Creates an instance of aLoadResult
record class. -
Uses of Holder in net.minecraft.world.entity
Modifier and TypeMethodDescriptiondouble
LivingEntity.getAttributeBaseValue
(Holder<Attribute> p_248605_) double
LivingEntity.getAttributeValue
(Holder<Attribute> p_251296_) -
Uses of Holder in net.minecraft.world.entity.ai.attributes
Modifier and TypeMethodDescriptionAttributeMap.getInstance
(Holder<Attribute> p_250010_) double
AttributeMap.getModifierValue
(Holder<Attribute> p_251534_, UUID p_250438_) boolean
AttributeMap.hasAttribute
(Holder<Attribute> p_248893_) boolean
AttributeMap.hasModifier
(Holder<Attribute> p_250299_, UUID p_250415_) -
Uses of Holder in net.minecraft.world.entity.ai.behavior
Modifier and TypeMethodDescriptionprivate boolean
private static boolean
PoiCompetitorScan.competesForSameJobsite
(GlobalPos p_217330_, Holder<PoiType> p_217331_, Villager p_217332_) private static boolean
PoiCompetitorScan.hasMatchingProfession
(Holder<PoiType> p_217334_, VillagerProfession p_217335_) private static boolean
YieldJobSite.nearbyWantsJobsite
(Holder<PoiType> p_217511_, Villager p_217512_, BlockPos p_217513_) Modifier and TypeMethodDescriptionstatic BehaviorControl<PathfinderMob>
AcquirePoi.create
(Predicate<Holder<PoiType>> p_259994_, MemoryModuleType<GlobalPos> p_259167_, boolean p_259077_, Optional<Byte> p_259824_) static BehaviorControl<PathfinderMob>
AcquirePoi.create
(Predicate<Holder<PoiType>> p_260007_, MemoryModuleType<GlobalPos> p_259129_, MemoryModuleType<GlobalPos> p_260194_, boolean p_259108_, Optional<Byte> p_260129_) static BehaviorControl<LivingEntity>
ValidateNearbyPoi.create
(Predicate<Holder<PoiType>> p_259460_, MemoryModuleType<GlobalPos> p_259635_) static Path
AcquirePoi.findPathToPois
(Mob p_217098_, Set<com.mojang.datafixers.util.Pair<Holder<PoiType>, BlockPos>> p_217099_) -
Uses of Holder in net.minecraft.world.entity.ai.village.poi
Modifier and TypeMethodDescriptionPoiManager.findAllClosestFirstWithType
(Predicate<Holder<PoiType>> p_217995_, Predicate<BlockPos> p_217996_, BlockPos p_217997_, int p_217998_, PoiManager.Occupancy p_217999_) PoiManager.findAllWithType
(Predicate<Holder<PoiType>> p_217984_, Predicate<BlockPos> p_217985_, BlockPos p_217986_, int p_217987_, PoiManager.Occupancy p_217988_) PoiManager.findClosestWithType
(Predicate<Holder<PoiType>> p_218003_, BlockPos p_218004_, int p_218005_, PoiManager.Occupancy p_218006_) PoiTypes.forState
(BlockState p_218076_) Modifier and TypeMethodDescriptionvoid
void
private static void
PoiTypes.registerBlockStates
(Holder<PoiType> p_250815_, Set<BlockState> p_250679_) Modifier and TypeMethodDescriptionboolean
boolean
PoiManager.find
(Predicate<Holder<PoiType>> p_27187_, Predicate<BlockPos> p_27188_, BlockPos p_27189_, int p_27190_, PoiManager.Occupancy p_27191_) PoiManager.findAll
(Predicate<Holder<PoiType>> p_27139_, Predicate<BlockPos> p_27140_, BlockPos p_27141_, int p_27142_, PoiManager.Occupancy p_27143_) PoiManager.findAllClosestFirstWithType
(Predicate<Holder<PoiType>> p_217995_, Predicate<BlockPos> p_217996_, BlockPos p_217997_, int p_217998_, PoiManager.Occupancy p_217999_) PoiManager.findAllWithType
(Predicate<Holder<PoiType>> p_217984_, Predicate<BlockPos> p_217985_, BlockPos p_217986_, int p_217987_, PoiManager.Occupancy p_217988_) PoiManager.findClosest
(Predicate<Holder<PoiType>> p_148659_, Predicate<BlockPos> p_148660_, BlockPos p_148661_, int p_148662_, PoiManager.Occupancy p_148663_) PoiManager.findClosest
(Predicate<Holder<PoiType>> p_27193_, BlockPos p_27194_, int p_27195_, PoiManager.Occupancy p_27196_) PoiManager.findClosestWithType
(Predicate<Holder<PoiType>> p_218003_, BlockPos p_218004_, int p_218005_, PoiManager.Occupancy p_218006_) long
PoiManager.getCountInRange
(Predicate<Holder<PoiType>> p_27122_, BlockPos p_27123_, int p_27124_, PoiManager.Occupancy p_27125_) PoiManager.getInChunk
(Predicate<Holder<PoiType>> p_27118_, ChunkPos p_27119_, PoiManager.Occupancy p_27120_) PoiManager.getInRange
(Predicate<Holder<PoiType>> p_27182_, BlockPos p_27183_, int p_27184_, PoiManager.Occupancy p_27185_) PoiManager.getInSquare
(Predicate<Holder<PoiType>> p_27167_, BlockPos p_27168_, int p_27169_, PoiManager.Occupancy p_27170_) PoiManager.getRandom
(Predicate<Holder<PoiType>> p_217952_, Predicate<BlockPos> p_217953_, PoiManager.Occupancy p_217954_, BlockPos p_217955_, int p_217956_, RandomSource p_217957_) PoiSection.getRecords
(Predicate<Holder<PoiType>> p_27305_, PoiManager.Occupancy p_27306_) void
PoiManager.take
(Predicate<Holder<PoiType>> p_217947_, BiPredicate<Holder<PoiType>, BlockPos> p_217948_, BlockPos p_217949_, int p_217950_) PoiManager.take
(Predicate<Holder<PoiType>> p_217947_, BiPredicate<Holder<PoiType>, BlockPos> p_217948_, BlockPos p_217949_, int p_217950_) private void
PoiManager.updateFromSection
(LevelChunkSection p_27070_, SectionPos p_27071_, BiConsumer<BlockPos, Holder<PoiType>> p_27072_) -
Uses of Holder in net.minecraft.world.entity.animal
-
Uses of Holder in net.minecraft.world.entity.decoration
Modifier and TypeFieldDescriptionprivate static final EntityDataAccessor<Holder<PaintingVariant>>
Painting.DATA_PAINTING_VARIANT_ID
Modifier and TypeMethodDescriptionprivate static Holder<PaintingVariant>
Painting.getDefaultVariant()
Painting.getVariant()
Modifier and TypeMethodDescriptionvoid
Painting.setVariant
(Holder<PaintingVariant> p_218892_) private static int
Painting.variantArea
(Holder<PaintingVariant> p_218899_) -
Uses of Holder in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionVillagerProfession.acquirableJobSite
The field for theacquirableJobSite
record component.VillagerProfession.ALL_ACQUIRABLE_JOBS
VillagerProfession.heldJobSite
The field for theheldJobSite
record component.static final Map<MemoryModuleType<GlobalPos>,
BiPredicate<Villager, Holder<PoiType>>> Villager.POI_MEMORIES
Modifier and TypeMethodDescriptionVillagerProfession.acquirableJobSite()
Returns the value of theacquirableJobSite
record component.VillagerProfession.heldJobSite()
Returns the value of theheldJobSite
record component.Modifier and TypeMethodDescriptionprivate static VillagerProfession
VillagerProfession.register
(String p_219659_, Predicate<Holder<PoiType>> p_219660_, Predicate<Holder<PoiType>> p_219661_, com.google.common.collect.ImmutableSet<Item> p_219662_, com.google.common.collect.ImmutableSet<Block> p_219663_, SoundEvent p_219664_) private static VillagerProfession
VillagerProfession.register
(String p_219654_, Predicate<Holder<PoiType>> p_219655_, Predicate<Holder<PoiType>> p_219656_, SoundEvent p_219657_) ModifierConstructorDescriptionVillagerProfession
(String name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryPoi, SoundEvent workSound) Creates an instance of aVillagerProfession
record class. -
Uses of Holder in net.minecraft.world.entity.raid
-
Uses of Holder in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionLoomMenu.getSelectablePatterns()
private List<Holder<BannerPattern>>
LoomMenu.getSelectablePatterns
(ItemStack p_219994_) Modifier and TypeMethodDescriptionprivate void
LoomMenu.setupResultSlot
(Holder<BannerPattern> p_219992_) -
Uses of Holder in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate final Holder<SoundEvent>
Instrument.soundEvent
The field for thesoundEvent
record component.Modifier and TypeMethodDescriptionItemStack.getItemHolder()
Instrument.soundEvent()
Returns the value of thesoundEvent
record component.Modifier and TypeMethodDescriptionprivate Optional<? extends Holder<Instrument>>
InstrumentItem.getInstrument
(ItemStack p_220135_) Modifier and TypeMethodDescriptionstatic ItemStack
InstrumentItem.create
(Item p_220108_, Holder<Instrument> p_220109_) boolean
private static void
InstrumentItem.setSoundVariantId
(ItemStack p_220120_, Holder<Instrument> p_220121_) ModifierConstructorDescriptionInstrument
(Holder<SoundEvent> soundEvent, int useDuration, float range) Creates an instance of aInstrument
record class. -
Uses of Holder in net.minecraft.world.level
Modifier and TypeMethodDescriptionLevel.dimensionTypeRegistration()
LevelReader.getNoiseBiome
(int p_204163_, int p_204164_, int p_204165_) LevelReader.getUncachedNoiseBiome
(int p_204159_, int p_204160_, int p_204161_) Modifier and TypeMethodDescriptionprivate static WeightedRandomList<MobSpawnSettings.SpawnerData>
NaturalSpawner.mobsAt
(ServerLevel p_220444_, StructureManager p_220445_, ChunkGenerator p_220446_, MobCategory p_220447_, BlockPos p_220448_, Holder<Biome> p_220449_) abstract void
Level.playSeededSound
(Player p_262953_, double p_263004_, double p_263398_, double p_263376_, Holder<SoundEvent> p_263359_, SoundSource p_263020_, float p_263055_, float p_262914_, long p_262991_) abstract void
Level.playSeededSound
(Player p_220372_, Entity p_220373_, Holder<SoundEvent> p_263500_, SoundSource p_220375_, float p_220376_, float p_220377_, long p_220378_) static void
NaturalSpawner.spawnMobsForChunkGeneration
(ServerLevelAccessor p_220451_, Holder<Biome> p_220452_, ChunkPos p_220453_, RandomSource p_220454_) ModifierConstructorDescriptionprotected
Level
(WritableLevelData p_220352_, ResourceKey<Level> p_220353_, Holder<DimensionType> p_220354_, Supplier<ProfilerFiller> p_220355_, boolean p_220356_, boolean p_220357_, long p_220358_, int p_220359_) -
Uses of Holder in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionTheEndBiomeSource.barrens
FixedBiomeSource.biome
TheEndBiomeSource.end
TheEndBiomeSource.highlands
TheEndBiomeSource.islands
TheEndBiomeSource.midlands
private final Holder<SoundEvent>
AmbientAdditionsSettings.soundEvent
private final Holder<SoundEvent>
AmbientMoodSettings.soundEvent
Modifier and TypeFieldDescriptionprivate final Optional<Holder<SoundEvent>>
BiomeSpecialEffects.ambientLoopSoundEvent
protected Optional<Holder<SoundEvent>>
BiomeSpecialEffects.Builder.ambientLoopSoundEvent
protected final Map<GenerationStep.Carving,
List<Holder<ConfiguredWorldCarver<?>>>> BiomeGenerationSettings.PlainBuilder.carvers
Biome.CODEC
protected final List<List<Holder<PlacedFeature>>>
BiomeGenerationSettings.PlainBuilder.features
BiomeSource.lazyPossibleBiomes
private final Climate.ParameterList<Holder<Biome>>
MultiNoiseBiomeSource.parameters
private final Function<HolderGetter<Biome>,
Climate.ParameterList<Holder<Biome>>> MultiNoiseBiomeSource.Preset.parameterSource
Modifier and TypeMethodDescriptionBiomeManager.NoiseBiomeSource.getNoiseBiome
(int p_204218_, int p_204219_, int p_204220_) BiomeResolver.getNoiseBiome
(int p_204221_, int p_204222_, int p_204223_, Climate.Sampler p_204224_) 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 p_204270_) TheEndBiomeSource.getNoiseBiome
(int p_204292_, int p_204293_, int p_204294_, Climate.Sampler p_204295_) BiomeManager.getNoiseBiomeAtPosition
(double p_204207_, double p_204208_, double p_204209_) BiomeManager.getNoiseBiomeAtPosition
(BlockPos p_204217_) BiomeManager.getNoiseBiomeAtQuart
(int p_204211_, int p_204212_, int p_204213_) AmbientAdditionsSettings.getSoundEvent()
AmbientMoodSettings.getSoundEvent()
Modifier and TypeMethodDescriptionBiomeSource.findBiomeHorizontal
(int p_220561_, int p_220562_, int p_220563_, int p_220564_, int p_220565_, Predicate<Holder<Biome>> p_220566_, RandomSource p_220567_, boolean p_220568_, Climate.Sampler p_220569_) BiomeSource.findBiomeHorizontal
(int p_220571_, int p_220572_, int p_220573_, int p_220574_, Predicate<Holder<Biome>> p_220575_, RandomSource p_220576_, Climate.Sampler p_220577_) 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 p_220578_, int p_220579_, int p_220580_, int p_220581_, Predicate<Holder<Biome>> p_220582_, Climate.Sampler p_220583_, LevelReader p_220584_) 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 p_186705_, int p_186706_, int p_186707_, int p_186708_, Climate.Sampler p_186709_) FixedBiomeSource.getBiomesWithin
(int p_187038_, int p_187039_, int p_187040_, int p_187041_, Climate.Sampler p_187042_) BiomeGenerationSettings.getCarvers
(GenerationStep.Carving p_204188_) BiomeSource.possibleBiomes()
Modifier and TypeMethodDescriptionBiomeGenerationSettings.PlainBuilder.addCarver
(GenerationStep.Carving p_256091_, Holder<ConfiguredWorldCarver<?>> p_256082_) BiomeGenerationSettings.PlainBuilder.addFeature
(int p_256305_, Holder<PlacedFeature> p_255636_) BiomeGenerationSettings.PlainBuilder.addFeature
(GenerationStep.Decoration p_256360_, Holder<PlacedFeature> p_256577_) BiomeSpecialEffects.Builder.ambientLoopSound
(Holder<SoundEvent> p_263327_) Modifier and TypeMethodDescriptionBiomeSource.findBiomeHorizontal
(int p_220561_, int p_220562_, int p_220563_, int p_220564_, int p_220565_, Predicate<Holder<Biome>> p_220566_, RandomSource p_220567_, boolean p_220568_, Climate.Sampler p_220569_) BiomeSource.findBiomeHorizontal
(int p_220571_, int p_220572_, int p_220573_, int p_220574_, Predicate<Holder<Biome>> p_220575_, RandomSource p_220576_, Climate.Sampler p_220577_) 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 p_220578_, int p_220579_, int p_220580_, int p_220581_, Predicate<Holder<Biome>> p_220582_, Climate.Sampler p_220583_, LevelReader p_220584_) 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_) ModifierConstructorDescriptionAmbientAdditionsSettings
(Holder<SoundEvent> p_263329_, double p_263326_) AmbientMoodSettings
(Holder<SoundEvent> p_263350_, int p_263364_, int p_263333_, double p_263345_) FixedBiomeSource
(Holder<Biome> p_204257_) private
TheEndBiomeSource
(Holder<Biome> p_220678_, Holder<Biome> p_220679_, Holder<Biome> p_220680_, Holder<Biome> p_220681_, Holder<Biome> p_220682_) ModifierConstructorDescriptionprotected
BiomeSource
(Supplier<List<Holder<Biome>>> biomes) protected
BiomeSource
(List<Holder<Biome>> p_47894_) protected
BiomeSource
(Stream<Holder<Biome>> p_47896_) private
MultiNoiseBiomeSource
(Climate.ParameterList<Holder<Biome>> p_187057_) (package private)
MultiNoiseBiomeSource
(Climate.ParameterList<Holder<Biome>> p_187059_, Optional<MultiNoiseBiomeSource.PresetInstance> p_187060_) Preset
(ResourceLocation p_187090_, Function<HolderGetter<Biome>, Climate.ParameterList<Holder<Biome>>> p_187091_) -
Uses of Holder in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionprivate Optional<? extends Holder<ConfiguredFeature<?,
?>>> FungusBlock.getFeature
(LevelReader p_256589_) -
Uses of Holder in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprivate List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,
DyeColor>> BannerBlockEntity.patterns
private final List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,
DyeColor>> BannerPattern.Builder.patterns
Modifier and TypeMethodDescriptionstatic List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,
DyeColor>> BannerBlockEntity.createPatterns
(DyeColor p_58485_, ListTag p_58486_) List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,
DyeColor>> BannerBlockEntity.getPatterns()
Modifier and TypeMethodDescriptionBannerPattern.Builder.addPattern
(Holder<BannerPattern> p_222709_, DyeColor p_222710_) Modifier and TypeMethodDescriptionBannerPattern.Builder.addPattern
(com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor> p_155049_) -
Uses of Holder in net.minecraft.world.level.block.state
-
Uses of Holder in net.minecraft.world.level.block.state.properties
ModifierConstructorDescriptionprivate
NoteBlockInstrument
(String p_263425_, Holder<SoundEvent> p_263341_, NoteBlockInstrument.Type p_263322_) -
Uses of Holder in net.minecraft.world.level.chunk
Modifier and TypeFieldDescriptionprivate PalettedContainerRO<Holder<Biome>>
LevelChunkSection.biomes
private final Function<Holder<Biome>,
BiomeGenerationSettings> ChunkGenerator.generationSettingsGetter
private final List<Holder<StructureSet>>
ChunkGeneratorStructureState.possibleStructureSets
Modifier 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 p_204434_, int p_204435_, int p_204436_) ProtoChunk.getNoiseBiome
(int p_204450_, int p_204451_, int p_204452_) Modifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure
(ServerLevel p_223038_, HolderSet<Structure> p_223039_, BlockPos p_223040_, int p_223041_, boolean p_223042_) LevelChunkSection.getBiomes()
ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223182_, ServerLevel p_223183_, StructureManager p_223184_, BlockPos p_223185_, boolean p_223186_, ConcentricRingsStructurePlacement p_223187_) ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223189_, LevelReader p_223190_, StructureManager p_223191_, int p_223192_, int p_223193_, int p_223194_, boolean p_223195_, long p_223196_, RandomSpreadStructurePlacement p_223197_) ChunkGenerator.getStructureGeneratingAt
(Set<Holder<Structure>> p_223199_, LevelReader p_223200_, StructureManager p_223201_, boolean p_223202_, StructurePlacement p_223203_, ChunkPos p_223204_) ChunkGeneratorStructureState.possibleStructureSets()
Modifier and TypeMethodDescriptionprivate CompletableFuture<List<ChunkPos>>
ChunkGeneratorStructureState.generateRingPositions
(Holder<StructureSet> p_255966_, ConcentricRingsStructurePlacement p_255744_) ChunkGenerator.getBiomeGenerationSettings
(Holder<Biome> p_223132_) Deprecated.ChunkGenerator.getMobsAt
(Holder<Biome> p_223134_, StructureManager p_223135_, MobCategory p_223136_, BlockPos p_223137_) ChunkGeneratorStructureState.getPlacementsForStructure
(Holder<Structure> p_256494_) boolean
ChunkGeneratorStructureState.hasStructureChunkInRange
(Holder<StructureSet> p_256489_, int p_256593_, int p_256115_, int p_256619_) Modifier and TypeMethodDescriptionstatic ChunkGeneratorStructureState
ChunkGeneratorStructureState.createForFlat
(RandomState p_256240_, long p_256404_, BiomeSource p_256274_, Stream<Holder<StructureSet>> p_256348_) ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223182_, ServerLevel p_223183_, StructureManager p_223184_, BlockPos p_223185_, boolean p_223186_, ConcentricRingsStructurePlacement p_223187_) ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223189_, LevelReader p_223190_, StructureManager p_223191_, int p_223192_, int p_223193_, int p_223194_, boolean p_223195_, long p_223196_, RandomSpreadStructurePlacement p_223197_) ChunkGenerator.getStructureGeneratingAt
(Set<Holder<Structure>> p_223199_, LevelReader p_223200_, StructureManager p_223201_, boolean p_223202_, StructurePlacement p_223203_, ChunkPos p_223204_) ModifierConstructorDescriptionEmptyLevelChunk
(Level p_204422_, ChunkPos p_204423_, Holder<Biome> p_204424_) ModifierConstructorDescriptionChunkGenerator
(BiomeSource p_255838_, Function<Holder<Biome>, BiomeGenerationSettings> p_256216_) private
ChunkGeneratorStructureState
(RandomState p_256401_, BiomeSource p_255742_, long p_256615_, long p_255979_, List<Holder<StructureSet>> p_256237_) LevelChunkSection
(int p_238255_, PalettedContainer<BlockState> p_238256_, PalettedContainerRO<Holder<Biome>> p_238257_) -
Uses of Holder in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>>
ChunkSerializer.makeBiomeCodec
(Registry<Biome> p_188261_) -
Uses of Holder in net.minecraft.world.level.dimension
Modifier and TypeFieldDescriptionprivate final Holder<DimensionType>
LevelStem.type
The field for thetype
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<DimensionType>>
DimensionType.CODEC
Modifier and TypeMethodDescriptionLevelStem.type()
Returns the value of thetype
record component.ModifierConstructorDescriptionLevelStem
(Holder<DimensionType> type, ChunkGenerator generator) Creates an instance of aLevelStem
record class. -
Uses of Holder in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionprivate final Holder<DensityFunction>
DensityFunctions.HolderHolder.function
The field for thefunction
record component.private final Holder<DensityFunction>
DensityFunctions.Spline.Coordinate.function
The field for thefunction
record component.private final Holder<NormalNoise.NoiseParameters>
DensityFunction.NoiseHolder.noiseData
The field for thenoiseData
record component.private final Holder<NoiseGeneratorSettings>
NoiseBasedChunkGenerator.settings
Modifier and TypeFieldDescriptionSurfaceRules.Context.biome
SurfaceRules.Context.biomeGetter
static final com.mojang.serialization.Codec<Holder<DensityFunction>>
DensityFunction.CODEC
static final com.mojang.serialization.Codec<Holder<NoiseGeneratorSettings>>
NoiseGeneratorSettings.CODEC
Modifier and TypeMethodDescriptionstatic Holder<? extends DensityFunction>
NoiseRouterData.bootstrap
(BootstapContext<DensityFunction> p_256220_) DensityFunctions.HolderHolder.function()
Returns the value of thefunction
record component.DensityFunctions.Spline.Coordinate.function()
Returns the value of thefunction
record component.NoiseBasedChunkGenerator.generatorSettings()
DensityFunction.NoiseHolder.noiseData()
Returns the value of thenoiseData
record component.Modifier and TypeMethodDescriptionstatic DensityFunction
DensityFunctions.mappedNoise
(Holder<NormalNoise.NoiseParameters> p_208328_, double p_208329_, double p_208330_) static DensityFunction
DensityFunctions.mappedNoise
(Holder<NormalNoise.NoiseParameters> p_208332_, double p_208333_, double p_208334_, double p_208335_) static DensityFunction
DensityFunctions.mappedNoise
(Holder<NormalNoise.NoiseParameters> p_208337_, double p_208338_, double p_208339_, double p_208340_, double p_208341_) static DensityFunction
DensityFunctions.noise
(Holder<NormalNoise.NoiseParameters> p_208323_) static DensityFunction
DensityFunctions.noise
(Holder<NormalNoise.NoiseParameters> p_208325_, double p_208326_) static DensityFunction
DensityFunctions.noise
(Holder<NormalNoise.NoiseParameters> p_208369_, double p_208370_, double p_208371_) private static void
NoiseRouterData.registerTerrainNoises
(BootstapContext<DensityFunction> p_256336_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) static DensityFunction
DensityFunctions.shift
(Holder<NormalNoise.NoiseParameters> p_208386_) static DensityFunction
DensityFunctions.shiftA
(Holder<NormalNoise.NoiseParameters> p_208367_) static DensityFunction
DensityFunctions.shiftB
(Holder<NormalNoise.NoiseParameters> p_208379_) static DensityFunction
DensityFunctions.shiftedNoise2d
(DensityFunction p_208297_, DensityFunction p_208298_, double p_208299_, Holder<NormalNoise.NoiseParameters> p_208300_) static DensityFunction
DensityFunctions.weirdScaledSampler
(DensityFunction p_208316_, Holder<NormalNoise.NoiseParameters> p_208317_, DensityFunctions.WeirdScaledSampler.RarityValueMapper p_208318_) WorldDimensions.withOverworld
(Registry<LevelStem> p_248907_, Holder<DimensionType> p_251895_, ChunkGenerator p_250220_) Modifier and TypeMethodDescriptionSurfaceSystem.topMaterial
(SurfaceRules.RuleSource p_189972_, CarvingContext p_189973_, Function<BlockPos, Holder<Biome>> p_189974_, ChunkAccess p_189975_, NoiseChunk p_189976_, BlockPos p_189977_, boolean p_189978_) Deprecated.ModifierConstructorDescriptionCoordinate
(Holder<DensityFunction> function) Creates an instance of aCoordinate
record class.HolderHolder
(Holder<DensityFunction> function) Creates an instance of aHolderHolder
record class.NoiseBasedChunkGenerator
(BiomeSource p_256415_, Holder<NoiseGeneratorSettings> p_256182_) NoiseHolder
(Holder<NormalNoise.NoiseParameters> p_224001_) NoiseHolder
(Holder<NormalNoise.NoiseParameters> noiseData, NormalNoise noise) Creates an instance of aNoiseHolder
record class.ModifierConstructorDescriptionprotected
Context
(SurfaceSystem p_224616_, RandomState p_224617_, ChunkAccess p_224618_, NoiseChunk p_224619_, Function<BlockPos, Holder<Biome>> p_224620_, Registry<Biome> p_224621_, WorldGenerationContext p_224622_) -
Uses of Holder in net.minecraft.world.level.levelgen.blending
Modifier and TypeMethodDescriptionBlender.blendBiome
(int p_224707_, int p_224708_, int p_224709_) Modifier and TypeMethodDescriptionBlendingData.getBiomeColumn
(ChunkAccess p_224758_, int p_224759_, int p_224760_) -
Uses of Holder in net.minecraft.world.level.levelgen.carver
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<ConfiguredWorldCarver<?>>>
ConfiguredWorldCarver.CODEC
Modifier and TypeMethodDescriptionboolean
CanyonWorldCarver.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_) boolean
CaveWorldCarver.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_) boolean
ConfiguredWorldCarver.carve
(CarvingContext p_224899_, ChunkAccess p_224900_, Function<BlockPos, Holder<Biome>> p_224901_, RandomSource p_224902_, Aquifer p_224903_, ChunkPos p_224904_, CarvingMask p_224905_) abstract boolean
WorldCarver.carve
(CarvingContext p_224913_, C p_224914_, ChunkAccess p_224915_, Function<BlockPos, Holder<Biome>> p_224916_, RandomSource p_224917_, Aquifer p_224918_, ChunkPos p_224919_, CarvingMask p_224920_) protected boolean
NetherWorldCarver.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 boolean
WorldCarver.carveBlock
(CarvingContext p_190744_, C p_190745_, ChunkAccess p_190746_, Function<BlockPos, Holder<Biome>> p_190747_, CarvingMask p_190748_, BlockPos.MutableBlockPos p_190749_, BlockPos.MutableBlockPos p_190750_, Aquifer p_190751_, org.apache.commons.lang3.mutable.MutableBoolean p_190752_) protected boolean
WorldCarver.carveEllipsoid
(CarvingContext p_190754_, C p_190755_, ChunkAccess p_190756_, Function<BlockPos, Holder<Biome>> p_190757_, Aquifer p_190758_, double p_190759_, double p_190760_, double p_190761_, double p_190762_, double p_190763_, CarvingMask p_190764_, WorldCarver.CarveSkipChecker p_190765_) protected void
CaveWorldCarver.createRoom
(CarvingContext p_190691_, CaveCarverConfiguration p_190692_, ChunkAccess p_190693_, Function<BlockPos, Holder<Biome>> p_190694_, Aquifer p_190695_, double p_190696_, double p_190697_, double p_190698_, float p_190699_, double p_190700_, CarvingMask p_190701_, WorldCarver.CarveSkipChecker p_190702_) protected void
CaveWorldCarver.createTunnel
(CarvingContext p_190671_, CaveCarverConfiguration p_190672_, ChunkAccess p_190673_, Function<BlockPos, Holder<Biome>> p_190674_, long p_190675_, Aquifer p_190676_, double p_190677_, double p_190678_, double p_190679_, double p_190680_, double p_190681_, float p_190682_, float p_190683_, float p_190684_, int p_190685_, int p_190686_, double p_190687_, CarvingMask p_190688_, WorldCarver.CarveSkipChecker p_190689_) private void
CanyonWorldCarver.doCarve
(CarvingContext p_190594_, CanyonCarverConfiguration p_190595_, ChunkAccess p_190596_, Function<BlockPos, Holder<Biome>> p_190597_, long p_190598_, Aquifer p_190599_, double p_190600_, double p_190601_, double p_190602_, float p_190603_, float p_190604_, float p_190605_, int p_190606_, int p_190607_, double p_190608_, CarvingMask p_190609_) CarvingContext.topMaterial
(Function<BlockPos, Holder<Biome>> p_190647_, ChunkAccess p_190648_, BlockPos p_190649_, boolean p_190650_) Deprecated. -
Uses of Holder in net.minecraft.world.level.levelgen.feature
Modifier and TypeFieldDescriptionfinal Holder<PlacedFeature>
WeightedPlacedFeature.feature
final Holder<StructureProcessorList>
FossilFeatureConfiguration.fossilProcessors
final Holder<StructureProcessorList>
FossilFeatureConfiguration.overlayProcessors
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<ConfiguredFeature<?,
?>>> ConfiguredFeature.CODEC
ModifierConstructorDescriptionFossilFeatureConfiguration
(List<ResourceLocation> p_204751_, List<ResourceLocation> p_204752_, Holder<StructureProcessorList> p_204753_, Holder<StructureProcessorList> p_204754_, int p_204755_) WeightedPlacedFeature
(Holder<PlacedFeature> p_204786_, float p_204787_) -
Uses of Holder in net.minecraft.world.level.levelgen.feature.configurations
Modifier and TypeFieldDescriptionfinal Holder<PlacedFeature>
RandomFeatureConfiguration.defaultFeature
private final Holder<PlacedFeature>
RandomPatchConfiguration.feature
The field for thefeature
record component.final Holder<PlacedFeature>
RandomBooleanFeatureConfiguration.featureFalse
final Holder<PlacedFeature>
RandomBooleanFeatureConfiguration.featureTrue
final Holder<PlacedFeature>
RootSystemConfiguration.treeFeature
final Holder<PlacedFeature>
VegetationPatchConfiguration.vegetationFeature
Modifier and TypeMethodDescriptionRandomPatchConfiguration.feature()
Returns the value of thefeature
record component.ModifierConstructorDescriptionRandomBooleanFeatureConfiguration
(Holder<PlacedFeature> p_204804_, Holder<PlacedFeature> p_204805_) RandomFeatureConfiguration
(List<WeightedPlacedFeature> p_204811_, Holder<PlacedFeature> p_204812_) RandomPatchConfiguration
(int tries, int xzSpread, int ySpread, Holder<PlacedFeature> feature) Creates an instance of aRandomPatchConfiguration
record class.RootSystemConfiguration
(Holder<PlacedFeature> p_204824_, int p_204825_, int p_204826_, TagKey<Block> p_204827_, BlockStateProvider p_204828_, int p_204829_, int p_204830_, int p_204831_, int p_204832_, BlockStateProvider p_204833_, int p_204834_, int p_204835_, BlockPredicate p_204836_) VegetationPatchConfiguration
(TagKey<Block> p_204856_, BlockStateProvider p_204857_, Holder<PlacedFeature> p_204858_, CaveSurface p_204859_, IntProvider p_204860_, float p_204861_, int p_204862_, float p_204863_, IntProvider p_204864_, float p_204865_) -
Uses of Holder in net.minecraft.world.level.levelgen.flat
Modifier and TypeFieldDescriptionFlatLevelGeneratorSettings.biome
FlatLevelGeneratorPreset.displayItem
The field for thedisplayItem
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<FlatLevelGeneratorPreset>>
FlatLevelGeneratorPreset.CODEC
private final List<Holder<PlacedFeature>>
FlatLevelGeneratorSettings.lakes
Modifier and TypeMethodDescriptionFlatLevelGeneratorPreset.displayItem()
Returns the value of thedisplayItem
record component.FlatLevelGeneratorSettings.getBiome()
FlatLevelGeneratorSettings.getBiome
(Optional<? extends Holder<Biome>> p_256142_, Holder<Biome> p_256475_) FlatLevelGeneratorSettings.getDefaultBiome
(HolderGetter<Biome> p_256645_) Modifier and TypeMethodDescriptionstatic List<Holder<PlacedFeature>>
FlatLevelGeneratorSettings.createLakesList
(HolderGetter<PlacedFeature> p_256282_) Modifier and TypeMethodDescriptionFlatLevelGeneratorSettings.adjustGenerationSettings
(Holder<Biome> p_226295_) FlatLevelGeneratorSettings.getBiome
(Optional<? extends Holder<Biome>> p_256142_, Holder<Biome> p_256475_) FlatLevelGeneratorSettings.withBiomeAndLayers
(List<FlatLayerInfo> p_256587_, Optional<HolderSet<StructureSet>> p_256500_, Holder<Biome> p_256598_) Modifier and TypeMethodDescriptionFlatLevelGeneratorSettings.getBiome
(Optional<? extends Holder<Biome>> p_256142_, Holder<Biome> p_256475_) ModifierConstructorDescriptionFlatLevelGeneratorPreset
(Holder<Item> displayItem, FlatLevelGeneratorSettings settings) Creates an instance of aFlatLevelGeneratorPreset
record class.private
FlatLevelGeneratorSettings
(Optional<HolderSet<StructureSet>> p_256456_, List<FlatLayerInfo> p_255826_, boolean p_255740_, boolean p_255726_, Optional<Holder<Biome>> p_256292_, Holder.Reference<Biome> p_255964_, Holder<PlacedFeature> p_256419_, Holder<PlacedFeature> p_255710_) FlatLevelGeneratorSettings
(Optional<HolderSet<StructureSet>> p_256029_, Holder<Biome> p_256190_, List<Holder<PlacedFeature>> p_255960_) ModifierConstructorDescriptionFlatLevelGeneratorSettings
(Optional<HolderSet<StructureSet>> p_256029_, Holder<Biome> p_256190_, List<Holder<PlacedFeature>> p_255960_) -
Uses of Holder in net.minecraft.world.level.levelgen.placement
Modifier and TypeFieldDescriptionprivate final Holder<ConfiguredFeature<?,
?>> PlacedFeature.feature
The field for thefeature
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<PlacedFeature>>
PlacedFeature.CODEC
Modifier and TypeMethodDescriptionHolder<ConfiguredFeature<?,
?>> PlacedFeature.feature()
Returns the value of thefeature
record component.ModifierConstructorDescriptionPlacedFeature
(Holder<ConfiguredFeature<?, ?>> feature, List<PlacementModifier> placement) Creates an instance of aPlacedFeature
record class. -
Uses of Holder in net.minecraft.world.level.levelgen.presets
Modifier and TypeFieldDescriptionprivate final Holder<DimensionType>
WorldPresets.Bootstrap.overworldDimensionType
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<WorldPreset>>
WorldPreset.CODEC
Modifier and TypeMethodDescriptionprivate LevelStem
WorldPresets.Bootstrap.makeNoiseBasedOverworld
(BiomeSource p_226485_, Holder<NoiseGeneratorSettings> p_226486_) -
Uses of Holder in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionStructureSet.StructureSelectionEntry.structure
The field for thestructure
record component.Modifier and TypeFieldDescriptionStructure.CODEC
static final com.mojang.serialization.Codec<Holder<StructureSet>>
StructureSet.CODEC
Structure.GenerationContext.validBiome
The field for thevalidBiome
record component.Modifier and TypeMethodDescriptionStructureSet.StructureSelectionEntry.structure()
Returns the value of thestructure
record component.Modifier and TypeMethodDescriptionStructure.GenerationContext.validBiome()
Returns the value of thevalidBiome
record component.Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionStructure.generate
(RegistryAccess p_226597_, ChunkGenerator p_226598_, BiomeSource p_226599_, RandomState p_226600_, StructureTemplateManager p_226601_, long p_226602_, ChunkPos p_226603_, int p_226604_, LevelHeightAccessor p_226605_, Predicate<Holder<Biome>> p_226606_) ModifierConstructorDescriptionStructureSelectionEntry
(Holder<Structure> structure, int weight) Creates an instance of aStructureSelectionEntry
record class.StructureSet
(Holder<Structure> p_210007_, StructurePlacement p_210008_) ModifierConstructorDescriptionGenerationContext
(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 aGenerationContext
record class. -
Uses of Holder in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeFieldDescriptionPieceGeneratorSupplier.Context.validBiome
The field for thevalidBiome
record component.Modifier and TypeMethodDescriptionPieceGeneratorSupplier.Context.validBiome()
Returns the value of thevalidBiome
record component.ModifierConstructorDescriptionContext
(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 aContext
record class. -
Uses of Holder in net.minecraft.world.level.levelgen.structure.placement
Modifier and TypeFieldDescriptionprivate final Holder<StructureSet>
StructurePlacement.ExclusionZone.otherSet
Deprecated.The field for theotherSet
record component.Modifier and TypeMethodDescriptionStructurePlacement.ExclusionZone.otherSet()
Deprecated.Returns the value of theotherSet
record component.ModifierConstructorDescriptionExclusionZone
(Holder<StructureSet> otherSet, int chunkCount) Deprecated.Creates an instance of aExclusionZone
record class. -
Uses of Holder in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeFieldDescriptionprivate static final Holder<StructureProcessorList>
StructurePoolElement.EMPTY
private final Holder<StructureTemplatePool>
StructureTemplatePool.fallback
private final Holder<PlacedFeature>
FeaturePoolElement.feature
protected final Holder<StructureProcessorList>
SinglePoolElement.processors
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<StructureTemplatePool>>
StructureTemplatePool.CODEC
private static final org.apache.commons.lang3.mutable.MutableObject<com.mojang.serialization.Codec<Holder<StructureTemplatePool>>>
StructureTemplatePool.CODEC_REFERENCE
Modifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E,Holder<StructureProcessorList>> SinglePoolElement.processorsCodec()
Modifier and TypeMethodDescriptionstatic Optional<Structure.GenerationStub>
JigsawPlacement.addPieces
(Structure.GenerationContext p_227239_, Holder<StructureTemplatePool> p_227240_, Optional<ResourceLocation> p_227241_, int p_227242_, BlockPos p_227243_, boolean p_227244_, Optional<Heightmap.Types> p_227245_, int p_227246_) StructurePoolElement.feature
(Holder<PlacedFeature> p_210503_) static boolean
JigsawPlacement.generateJigsaw
(ServerLevel p_227204_, Holder<StructureTemplatePool> p_227205_, ResourceLocation p_227206_, int p_227207_, BlockPos p_227208_, boolean p_227209_) StructurePoolElement.legacy
(String p_210513_, Holder<StructureProcessorList> p_210514_) StructurePoolElement.single
(String p_210532_, Holder<StructureProcessorList> p_210533_) ModifierConstructorDescriptionprotected
FeaturePoolElement
(Holder<PlacedFeature> p_210209_, StructureTemplatePool.Projection p_210210_) protected
LegacySinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210348_, Holder<StructureProcessorList> p_210349_, StructureTemplatePool.Projection p_210350_) protected
SinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210415_, Holder<StructureProcessorList> p_210416_, StructureTemplatePool.Projection p_210417_) StructureTemplatePool
(Holder<StructureTemplatePool> p_255795_, List<com.mojang.datafixers.util.Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>> p_256083_, StructureTemplatePool.Projection p_255642_) StructureTemplatePool
(Holder<StructureTemplatePool> p_255747_, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> p_255919_) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeFieldDescriptionprivate final Holder<StructureTemplatePool>
JigsawStructure.startPool
Modifier and TypeMethodDescriptionprivate static boolean
ModifierConstructorDescriptionJigsawStructure
(Structure.StructureSettings p_227614_, Holder<StructureTemplatePool> p_227615_, int p_227616_, HeightProvider p_227617_, boolean p_227618_) JigsawStructure
(Structure.StructureSettings p_227620_, Holder<StructureTemplatePool> p_227621_, int p_227622_, HeightProvider p_227623_, boolean p_227624_, Heightmap.Types p_227625_) JigsawStructure
(Structure.StructureSettings p_227627_, Holder<StructureTemplatePool> p_227628_, Optional<ResourceLocation> p_227629_, int p_227630_, HeightProvider p_227631_, boolean p_227632_, Optional<Heightmap.Types> p_227633_, int p_227634_) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<StructureProcessorList>>
StructureProcessorType.LIST_CODEC
-
Uses of Holder in net.minecraft.world.level.levelgen.synth
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<NormalNoise.NoiseParameters>>
NormalNoise.NoiseParameters.CODEC
-
Uses of Holder in net.minecraft.world.level.material
-
Uses of Holder in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,
DyeColor>> SetBannerPatternFunction.Builder.patterns
(package private) final List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,
DyeColor>> SetBannerPatternFunction.patterns
Modifier and TypeMethodDescriptionSetBannerPatternFunction.Builder.addPattern
(Holder<BannerPattern> p_230999_, DyeColor p_231000_) ModifierConstructorDescription(package private)
SetBannerPatternFunction
(LootItemCondition[] p_165275_, List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>> p_165276_, boolean p_165277_) -
Uses of Holder in net.minecraftforge.common.crafting.conditions
Modifier and TypeFieldDescriptionprivate Map<ResourceKey<?>,
Map<ResourceLocation, Collection<Holder<?>>>> ConditionContext.loadedTags
Modifier and TypeMethodDescription<T> Map<ResourceLocation,
Collection<Holder<T>>> ConditionContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation,
Collection<Holder<T>>> ICondition.IContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available.default <T> Collection<Holder<T>>
Return the requested tag if available, or an empty tag otherwise. -
Uses of Holder in net.minecraftforge.common.world
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<BiomeModifier>>
BiomeModifier.REFERENCE_CODEC
Codec for referring to biome modifiers by id in other datapack registry files.static final com.mojang.serialization.Codec<Holder<StructureModifier>>
StructureModifier.REFERENCE_CODEC
Codec for referring to structure modifiers by id in other datapack registry files.Modifier and TypeMethodDescriptionBiomeSpecialEffectsBuilder.getAmbientLoopSound()
BiomeGenerationSettingsBuilder.getCarvers
(GenerationStep.Carving stage) BiomeGenerationSettingsBuilder.getFeatures
(GenerationStep.Decoration stage) Modifier and TypeMethodDescriptionvoid
ModifiableBiomeInfo.applyBiomeModifiers
(Holder<Biome> biome, List<BiomeModifier> biomeModifiers) Internal forge method; the game will crash if mods invoke this.void
ModifiableStructureInfo.applyStructureModifiers
(Holder<Structure> structure, List<StructureModifier> structureModifiers) Internal forge method; the game will crash if mods invoke this.void
BiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) Modifies the information via the provided biome builder.void
ForgeBiomeModifiers.AddFeaturesBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
ForgeBiomeModifiers.AddSpawnsBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
ForgeBiomeModifiers.RemoveFeaturesBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
ForgeBiomeModifiers.RemoveSpawnsBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
NoneBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
NoneStructureModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) void
StructureModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) Modifies the information via the provided structure builder. -
Uses of Holder in net.minecraftforge.debug.world
Modifier and TypeMethodDescriptionvoid
BiomeModifierTest.TestModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
StructureModifierTest.TestModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) -
Uses of Holder in net.minecraftforge.event
Modifier and TypeMethodDescription@Nullable Holder<SoundEvent>
PlayLevelSoundEvent.getSound()
Returns the sound event to be played.Modifier and TypeMethodDescriptionstatic SaplingGrowTreeEvent
ForgeEventFactory.blockGrowFeature
(LevelAccessor level, RandomSource randomSource, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) static PlayLevelSoundEvent.AtEntity
ForgeEventFactory.onPlaySoundAtEntity
(Entity entity, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) ForgeEventFactory.onPlaySoundAtPosition
(Level level, double x, double y, double z, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) void
PlayLevelSoundEvent.setSound
(@Nullable Holder<SoundEvent> sound) Sets the sound event to be played.ModifierConstructorDescriptionAtEntity
(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) PlayLevelSoundEvent
(@NotNull Level level, @NotNull Holder<SoundEvent> sound, @NotNull SoundSource source, float volume, float pitch) -
Uses of Holder in net.minecraftforge.event.level
Modifier and TypeFieldDescriptionprivate @Nullable Holder<ConfiguredFeature<?,
?>> SaplingGrowTreeEvent.feature
Modifier and TypeMethodDescription@Nullable Holder<ConfiguredFeature<?,
?>> SaplingGrowTreeEvent.getFeature()
Returns the holder of the feature which will be placed, possibly null.Modifier and TypeMethodDescriptionvoid
SaplingGrowTreeEvent.setFeature
(@Nullable Holder<ConfiguredFeature<?, ?>> feature) ModifierConstructorDescriptionSaplingGrowTreeEvent
(LevelAccessor level, RandomSource randomSource, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> feature) -
Uses of Holder in net.minecraftforge.registries
Modifier and TypeMethodDescriptionForgeRegistry.getHolder
(ResourceKey<V> key) ForgeRegistry.getHolder
(ResourceLocation location) IForgeRegistry.getHolder
(ResourceKey<V> key) This method exists purely as a stopgap for vanilla compatibility.IForgeRegistry.getHolder
(ResourceLocation location) This method exists purely as a stopgap for vanilla compatibility.This method exists purely as a stopgap for vanilla compatibility.NamespacedWrapper.getHolder
(ResourceLocation location) RegistryObject.getHolder()
Returns an optionalHolder
instance pointing to this RegistryObject's name and value. -
Uses of Holder in net.minecraftforge.registries.holdersets
Modifier and TypeFieldDescriptionCompositeHolderSet.list
NotHolderSet.list
CompositeHolderSet.set
Modifier and TypeMethodDescriptionAnyHolderSet.get
(int i) CompositeHolderSet.get
(int i) NotHolderSet.get
(int i) Modifier 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()
Modifier and TypeMethodDescriptionboolean
boolean
boolean
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>
AndHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>
AnyHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>
NotHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>
OrHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>
HolderSetType.makeCodec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList)