Uses of Class
net.minecraft.world.level.levelgen.structure.Structure
Packages that use Structure
Package
Description
-
Uses of Structure in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type StructureModifier and TypeFieldDescriptionLocationPredicate.Builder.structures
LocationPredicate.structures
The field for thestructures
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type StructureModifier and TypeMethodDescriptionLocationPredicate.structures()
Returns the value of thestructures
record component.Method parameters in net.minecraft.advancements.critereon with type arguments of type StructureModifier and TypeMethodDescriptionstatic LocationPredicate.Builder
LocationPredicate.Builder.inStructure
(Holder<Structure> pStructure) LocationPredicate.Builder.setStructures
(HolderSet<Structure> pStructures) -
Uses of Structure in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return types with arguments of type StructureModifier and TypeMethodDescriptionstatic Holder.Reference
<Structure> ResourceArgument.getStructure
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_250288_, String p_250856_) static Holder.Reference
<Structure> ResourceKeyArgument.getStructure
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_248804_, String p_251331_) -
Uses of Structure in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type StructureModifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<Structure>> Registries.STRUCTURE
-
Uses of Structure in net.minecraft.data.worldgen
Method parameters in net.minecraft.data.worldgen with type arguments of type StructureModifier and TypeMethodDescriptionstatic void
Structures.bootstrap
(BootstrapContext<Structure> pContext) -
Uses of Structure in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return types with arguments of type StructureModifier and TypeMethodDescriptionprivate static Optional
<? extends HolderSet.ListBacked<Structure>> LocateCommand.getHolders
(ResourceOrTagKeyArgument.Result<Structure> pStructure, Registry<Structure> pStructureRegistry) Method parameters in net.minecraft.server.commands with type arguments of type StructureModifier and TypeMethodDescriptionprivate static Optional
<? extends HolderSet.ListBacked<Structure>> LocateCommand.getHolders
(ResourceOrTagKeyArgument.Result<Structure> pStructure, Registry<Structure> pStructureRegistry) private static Optional
<? extends HolderSet.ListBacked<Structure>> LocateCommand.getHolders
(ResourceOrTagKeyArgument.Result<Structure> pStructure, Registry<Structure> pStructureRegistry) private static int
LocateCommand.locateStructure
(CommandSourceStack pSource, ResourceOrTagKeyArgument.Result<Structure> pStructure) static int
PlaceCommand.placeStructure
(CommandSourceStack pSource, Holder.Reference<Structure> pStructure, BlockPos pPos) -
Uses of Structure in net.minecraft.server.level
Method parameters in net.minecraft.server.level with type arguments of type StructureModifier and TypeMethodDescriptionServerLevel.findNearestMapStructure
(TagKey<Structure> pStructureTag, BlockPos pPos, int pRadius, boolean pSkipExistingChunks) -
Uses of Structure in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type StructureModifier and TypeFieldDescriptionStructureTags.CATS_SPAWN_AS_BLACK
StructureTags.CATS_SPAWN_IN
StructureTags.DOLPHIN_LOCATED
StructureTags.EYE_OF_ENDER_LOCATED
StructureTags.MINESHAFT
StructureTags.OCEAN_RUIN
StructureTags.ON_DESERT_VILLAGE_MAPS
StructureTags.ON_JUNGLE_EXPLORER_MAPS
StructureTags.ON_OCEAN_EXPLORER_MAPS
StructureTags.ON_PLAINS_VILLAGE_MAPS
StructureTags.ON_SAVANNA_VILLAGE_MAPS
StructureTags.ON_SNOWY_VILLAGE_MAPS
StructureTags.ON_SWAMP_EXPLORER_MAPS
StructureTags.ON_TAIGA_VILLAGE_MAPS
StructureTags.ON_TREASURE_MAPS
StructureTags.ON_TRIAL_CHAMBERS_MAPS
StructureTags.ON_WOODLAND_EXPLORER_MAPS
StructureTags.RUINED_PORTAL
StructureTags.SHIPWRECK
StructureTags.VILLAGE
Methods in net.minecraft.tags that return types with arguments of type Structure -
Uses of Structure in net.minecraft.util.profiling.jfr
Method parameters in net.minecraft.util.profiling.jfr with type arguments of type StructureModifier and TypeMethodDescriptionJfrProfiler.onStructureGenerate
(ChunkPos pChunkPos, ResourceKey<Level> pLevel, Holder<Structure> pStructure) 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 Structure in net.minecraft.util.profiling.jfr.event
Constructor parameters in net.minecraft.util.profiling.jfr.event with type arguments of type StructureModifierConstructorDescriptionStructureGenerationEvent
(ChunkPos pChunkPos, Holder<Structure> pStructure, ResourceKey<Level> pLevel) -
Uses of Structure in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc with type parameters of type StructureConstructor parameters in net.minecraft.world.entity.npc with type arguments of type StructureModifierConstructorDescriptionTreasureMapForEmeralds
(int pEmeraldCost, TagKey<Structure> pDestination, String pDisplayName, Holder<MapDecorationType> pDestinationType, int pMaxUses, int pVillagerXp) -
Uses of Structure in net.minecraft.world.entity.variant
Fields in net.minecraft.world.entity.variant with type parameters of type StructureModifier and TypeFieldDescriptionStructureCheck.requiredStructures
The field for therequiredStructures
record component.Methods in net.minecraft.world.entity.variant that return types with arguments of type StructureModifier and TypeMethodDescriptionStructureCheck.requiredStructures()
Returns the value of therequiredStructures
record component.Constructor parameters in net.minecraft.world.entity.variant with type arguments of type StructureModifierConstructorDescriptionStructureCheck
(HolderSet<Structure> requiredStructures) Creates an instance of aStructureCheck
record class. -
Uses of Structure in net.minecraft.world.level
Methods in net.minecraft.world.level that return types with arguments of type StructureMethods in net.minecraft.world.level with parameters of type StructureModifier and TypeMethodDescriptionvoid
StructureManager.addReferenceForStructure
(SectionPos pSectionPos, Structure pStructure, long pReference, StructureAccess pStructureAccess) StructureManager.checkStructurePresence
(ChunkPos pChunkPos, Structure pStructure, StructurePlacement pPlacement, boolean pSkipKnownStructures) void
StructureManager.fillStartsForStructure
(Structure p_220481_, it.unimi.dsi.fastutil.longs.LongSet p_220482_, Consumer<StructureStart> p_220483_) StructureManager.getStartForStructure
(SectionPos pSectionPos, Structure pStructure, StructureAccess pStructureAccess) StructureManager.getStructureAt
(BlockPos pPos, Structure pStructure) StructureManager.getStructureWithPieceAt
(BlockPos pPos, Structure pStructure) void
StructureManager.setStartForStructure
(SectionPos pSectionPos, Structure pStructure, StructureStart pStructureStart, StructureAccess pStructureAccess) StructureManager.startsForStructure
(SectionPos pSectionPos, Structure pStructure) Method parameters in net.minecraft.world.level with type arguments of type StructureModifier and TypeMethodDescriptionStructureManager.getStructureWithPieceAt
(BlockPos pPos, Predicate<Holder<Structure>> pPredicate) StructureManager.getStructureWithPieceAt
(BlockPos pPos, HolderSet<Structure> pStructures) StructureManager.getStructureWithPieceAt
(BlockPos pPos, TagKey<Structure> pStructureTag) StructureManager.startsForStructure
(ChunkPos pChunkPos, Predicate<Structure> pStructurePredicate) -
Uses of Structure in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk with type parameters of type StructureModifier and TypeFieldDescriptionprivate final Map
<Structure, List<StructurePlacement>> ChunkGeneratorStructureState.placementsForStructure
ChunkAccess.structuresRefences
private final Map
<Structure, StructureStart> ChunkAccess.structureStarts
Methods in net.minecraft.world.level.chunk that return types with arguments of type StructureModifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure
(ServerLevel p_223038_, HolderSet<Structure> p_223039_, BlockPos p_223040_, int p_223041_, boolean p_223042_) ChunkAccess.getAllReferences()
ImposterProtoChunk.getAllReferences()
StructureAccess.getAllReferences()
ChunkAccess.getAllStarts()
ImposterProtoChunk.getAllStarts()
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_) Methods in net.minecraft.world.level.chunk with parameters of type StructureModifier and TypeMethodDescriptionvoid
ChunkAccess.addReferenceForStructure
(Structure pStructure, long pReference) void
ImposterProtoChunk.addReferenceForStructure
(Structure pStructure, long pReference) void
StructureAccess.addReferenceForStructure
(Structure pStructure, long pReference) private static int
ChunkGenerator.fetchReferences
(StructureManager pStructureManager, ChunkAccess pChunk, SectionPos pSectionPos, Structure pStructure) it.unimi.dsi.fastutil.longs.LongSet
ChunkAccess.getReferencesForStructure
(Structure p_223017_) it.unimi.dsi.fastutil.longs.LongSet
ImposterProtoChunk.getReferencesForStructure
(Structure p_223408_) it.unimi.dsi.fastutil.longs.LongSet
StructureAccess.getReferencesForStructure
(Structure p_223439_) ChunkAccess.getStartForStructure
(Structure pStructure) ImposterProtoChunk.getStartForStructure
(Structure pStructure) StructureAccess.getStartForStructure
(Structure pStructure) void
ChunkAccess.setStartForStructure
(Structure pStructure, StructureStart pStructureStart) void
ImposterProtoChunk.setStartForStructure
(Structure pStructure, StructureStart pStructureStart) void
ProtoChunk.setStartForStructure
(Structure pStructure, StructureStart pStructureStart) void
StructureAccess.setStartForStructure
(Structure pStructure, StructureStart pStructureStart) Method parameters in net.minecraft.world.level.chunk with type arguments of type StructureModifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure
(ServerLevel p_223038_, HolderSet<Structure> p_223039_, BlockPos p_223040_, int p_223041_, boolean p_223042_) 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_) ChunkGeneratorStructureState.getPlacementsForStructure
(Holder<Structure> pStructure) ChunkGenerator.getStructureGeneratingAt
(Set<Holder<Structure>> p_223199_, LevelReader p_223200_, StructureManager p_223201_, boolean p_223202_, StructurePlacement p_223203_, ChunkPos p_223204_) void
ChunkAccess.setAllReferences
(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> pStructureReferencesMap) void
ImposterProtoChunk.setAllReferences
(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> pStructureReferencesMap) void
StructureAccess.setAllReferences
(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> pStructureReferencesMap) void
ChunkAccess.setAllStarts
(Map<Structure, StructureStart> pStructureStarts) void
ImposterProtoChunk.setAllStarts
(Map<Structure, StructureStart> pStructureStarts) -
Uses of Structure in net.minecraft.world.level.chunk.storage
Methods in net.minecraft.world.level.chunk.storage that return types with arguments of type StructureModifier and TypeMethodDescriptionSerializableChunkData.unpackStructureReferences
(RegistryAccess pRegistries, ChunkPos pPos, CompoundTag pTag) private static Map
<Structure, StructureStart> SerializableChunkData.unpackStructureStart
(StructurePieceSerializationContext pContext, CompoundTag pTag, long pSeed) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type StructureModifier and TypeMethodDescriptionprivate static CompoundTag
SerializableChunkData.packStructureData
(StructurePieceSerializationContext pContext, ChunkPos pPos, Map<Structure, StructureStart> pStructureStarts, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> pReferences) -
Uses of Structure in net.minecraft.world.level.levelgen.structure
Classes in net.minecraft.world.level.levelgen.structure with type parameters of type StructureSubclasses of Structure in net.minecraft.world.level.levelgen.structureFields in net.minecraft.world.level.levelgen.structure declared as StructureFields in net.minecraft.world.level.levelgen.structure with type parameters of type StructureModifier and TypeFieldDescriptionstatic final ResourceKey
<Structure> BuiltinStructures.ANCIENT_CITY
static final ResourceKey
<Structure> BuiltinStructures.BASTION_REMNANT
static final ResourceKey
<Structure> BuiltinStructures.BURIED_TREASURE
Structure.CODEC
static final ResourceKey
<Structure> BuiltinStructures.DESERT_PYRAMID
static final com.mojang.serialization.Codec
<Structure> Structure.DIRECT_CODEC
static final ResourceKey
<Structure> BuiltinStructures.END_CITY
StructureCheck.featureChecks
static final ResourceKey
<Structure> BuiltinStructures.FORTRESS
static final ResourceKey
<Structure> BuiltinStructures.IGLOO
static final ResourceKey
<Structure> BuiltinStructures.JUNGLE_TEMPLE
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap
<it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>> StructureCheck.loadedChunks
static final ResourceKey
<Structure> BuiltinStructures.MINESHAFT
static final ResourceKey
<Structure> BuiltinStructures.MINESHAFT_MESA
static final ResourceKey
<Structure> BuiltinStructures.NETHER_FOSSIL
static final ResourceKey
<Structure> BuiltinStructures.OCEAN_MONUMENT
static final ResourceKey
<Structure> BuiltinStructures.OCEAN_RUIN_COLD
static final ResourceKey
<Structure> BuiltinStructures.OCEAN_RUIN_WARM
static final ResourceKey
<Structure> BuiltinStructures.PILLAGER_OUTPOST
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_DESERT
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_JUNGLE
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_MOUNTAIN
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_NETHER
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_OCEAN
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_STANDARD
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_SWAMP
static final ResourceKey
<Structure> BuiltinStructures.SHIPWRECK
static final ResourceKey
<Structure> BuiltinStructures.SHIPWRECK_BEACHED
static final ResourceKey
<Structure> BuiltinStructures.STRONGHOLD
StructureSet.StructureSelectionEntry.structure
The field for thestructure
record component.static final ResourceKey
<Structure> BuiltinStructures.SWAMP_HUT
static final ResourceKey
<Structure> BuiltinStructures.TRAIL_RUINS
static final ResourceKey
<Structure> BuiltinStructures.TRIAL_CHAMBERS
static final ResourceKey
<Structure> BuiltinStructures.VILLAGE_DESERT
static final ResourceKey
<Structure> BuiltinStructures.VILLAGE_PLAINS
static final ResourceKey
<Structure> BuiltinStructures.VILLAGE_SAVANNA
static final ResourceKey
<Structure> BuiltinStructures.VILLAGE_SNOWY
static final ResourceKey
<Structure> BuiltinStructures.VILLAGE_TAIGA
static final ResourceKey
<Structure> BuiltinStructures.WOODLAND_MANSION
Methods in net.minecraft.world.level.levelgen.structure with type parameters of type StructureModifier and TypeMethodDescriptionprivate static <S extends Structure>
StructureType<S> static <S extends Structure>
com.mojang.serialization.codecs.RecordCodecBuilder<S, Structure.StructureSettings> Structure.settingsCodec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<S> p_226568_) static <S extends Structure>
com.mojang.serialization.MapCodec<S> Structure.simpleCodec
(Function<Structure.StructureSettings, S> p_226608_) Methods in net.minecraft.world.level.levelgen.structure that return StructureMethods in net.minecraft.world.level.levelgen.structure that return types with arguments of type StructureModifier and TypeMethodDescriptionprivate static ResourceKey
<Structure> private static it.unimi.dsi.fastutil.objects.Object2IntMap
<Structure> StructureCheck.deduplicateEmptyMap
(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> p_197299_) private it.unimi.dsi.fastutil.objects.Object2IntMap
<Structure> StructureCheck.loadStructures
(CompoundTag p_197312_) StructureSet.StructureSelectionEntry.structure()
Returns the value of thestructure
record component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type StructureModifier and TypeMethodDescriptionprivate boolean
StructureCheck.canCreateStructure
(ChunkPos pChunkPos, Structure pStructure) StructureCheck.checkStart
(ChunkPos pChunkPos, Structure pStructure, StructurePlacement pPlacement, boolean pSkipKnownStructures) private StructureCheckResult
StructureCheck.checkStructureInfo
(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> p_226752_, Structure p_226753_, boolean p_226754_) void
StructureCheck.incrementReference
(ChunkPos pPos, Structure pStructure) private StructureCheckResult
StructureCheck.tryLoadFromStorage
(ChunkPos pChunkPos, Structure pStructure, boolean pSkipKnownStructures, long pPackedChunkPos) Method parameters in net.minecraft.world.level.levelgen.structure with type arguments of type StructureModifier and TypeMethodDescriptionprivate StructureCheckResult
StructureCheck.checkStructureInfo
(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> p_226752_, Structure p_226753_, boolean p_226754_) private static it.unimi.dsi.fastutil.objects.Object2IntMap
<Structure> StructureCheck.deduplicateEmptyMap
(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> p_197299_) Structure.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) void
StructureCheck.onStructureLoad
(ChunkPos pChunkPos, Map<Structure, StructureStart> pChunkStarts) private void
StructureCheck.storeFullResults
(long p_197264_, it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> p_197265_) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type StructureModifierConstructorDescriptionStructureStart
(Structure pStructure, ChunkPos pChunkPos, int pReferences, PiecesContainer pPieceContainer) Constructor parameters in net.minecraft.world.level.levelgen.structure with type arguments of type StructureModifierConstructorDescriptionStructureSelectionEntry
(Holder<Structure> structure, int weight) Creates an instance of aStructureSelectionEntry
record class.StructureSet
(Holder<Structure> p_210007_, StructurePlacement p_210008_) -
Uses of Structure in net.minecraft.world.level.levelgen.structure.structures
Subclasses of Structure in net.minecraft.world.level.levelgen.structure.structuresModifier and TypeClassDescriptionclass
class
class
class
final class
class
class
class
class
class
class
class
class
class
class
class
-
Uses of Structure in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type StructureModifier and TypeFieldDescriptionExplorationMapFunction.DEFAULT_DESTINATION
ExplorationMapFunction.Builder.destination
ExplorationMapFunction.destination
Method parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type StructureModifier and TypeMethodDescriptionExplorationMapFunction.Builder.setDestination
(TagKey<Structure> pDestination) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type StructureModifierConstructorDescription(package private)
ExplorationMapFunction
(List<LootItemCondition> p_298451_, TagKey<Structure> p_210653_, Holder<MapDecorationType> p_336106_, byte p_210655_, int p_210656_, boolean p_210657_) -
Uses of Structure in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type StructureModifier and TypeFieldDescriptionTags.Structures.HIDDEN_FROM_DISPLAYERS
Structures that should not show up on minimaps or world map views from mods/sites.Tags.Structures.HIDDEN_FROM_LOCATOR_SELECTION
Structures that should not be locatable/selectable by modded structure-locating items or abilities.Methods in net.neoforged.neoforge.common that return types with arguments of type Structure -
Uses of Structure in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world with type parameters of type StructureModifier and TypeFieldDescriptionStructureModifiers.AddSpawnsStructureModifier.structures
The field for thestructures
record component.StructureModifiers.ClearSpawnsStructureModifier.structures
The field for thestructures
record component.StructureModifiers.RemoveSpawnsStructureModifier.structures
The field for thestructures
record component.Methods in net.neoforged.neoforge.common.world that return types with arguments of type StructureModifier and TypeMethodDescriptionStructureModifiers.AddSpawnsStructureModifier.structures()
Returns the value of thestructures
record component.StructureModifiers.ClearSpawnsStructureModifier.structures()
Returns the value of thestructures
record component.StructureModifiers.RemoveSpawnsStructureModifier.structures()
Returns the value of thestructures
record component.Method parameters in net.neoforged.neoforge.common.world with type arguments of type StructureModifier and TypeMethodDescriptionvoid
ModifiableStructureInfo.applyStructureModifiers
(Holder<Structure> structure, List<StructureModifier> structureModifiers) Internal NeoForge method.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.void
StructureModifiers.AddSpawnsStructureModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) void
StructureModifiers.ClearSpawnsStructureModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) void
StructureModifiers.RemoveSpawnsStructureModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) StructureModifiers.AddSpawnsStructureModifier.singleSpawn
(HolderSet<Structure> structures, Weighted<MobSpawnSettings.SpawnerData> spawner) Convenience method for using a singleMobSpawnSettings.SpawnerData
.Constructor parameters in net.neoforged.neoforge.common.world with type arguments of type StructureModifierConstructorDescriptionAddSpawnsStructureModifier
(HolderSet<Structure> structures, WeightedList<MobSpawnSettings.SpawnerData> spawners) Creates an instance of aAddSpawnsStructureModifier
record class.ClearSpawnsStructureModifier
(HolderSet<Structure> structures, Set<MobCategory> categories) Creates an instance of aClearSpawnsStructureModifier
record class.RemoveSpawnsStructureModifier
(HolderSet<Structure> structures, HolderSet<EntityType<?>> entityTypes) Creates an instance of aRemoveSpawnsStructureModifier
record class.