Uses of Class
net.minecraft.world.level.levelgen.structure.Structure
Packages that use Structure
Package
Description
-
Uses of Structure in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion with type parameters of type StructureModifier and TypeFieldDescriptionLocationPredicate.Builder.structuresLocationPredicate.structuresThe field for thestructuresrecord component.Methods in net.minecraft.advancements.criterion that return types with arguments of type StructureModifier and TypeMethodDescriptionLocationPredicate.structures()Returns the value of thestructuresrecord component.Method parameters in net.minecraft.advancements.criterion with type arguments of type StructureModifier and TypeMethodDescriptionstatic LocationPredicate.BuilderLocationPredicate.Builder.inStructure(Holder<Structure> structure) LocationPredicate.Builder.setStructures(HolderSet<Structure> structures) -
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(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<Structure> ResourceKeyArgument.getStructure(CommandContext<CommandSourceStack> context, String name) -
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.tags
Subclasses with type arguments of type Structure in net.minecraft.data.tags -
Uses of Structure in net.minecraft.data.worldgen
Method parameters in net.minecraft.data.worldgen with type arguments of type StructureModifier and TypeMethodDescriptionstatic voidStructures.bootstrap(BootstrapContext<Structure> context) -
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> resourceOrTag, Registry<Structure> registry) 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> resourceOrTag, Registry<Structure> registry) private static Optional<? extends HolderSet.ListBacked<Structure>> LocateCommand.getHolders(ResourceOrTagKeyArgument.Result<Structure> resourceOrTag, Registry<Structure> registry) private static intLocateCommand.locateStructure(CommandSourceStack source, ResourceOrTagKeyArgument.Result<Structure> resourceOrTag) static intPlaceCommand.placeStructure(CommandSourceStack source, Holder.Reference<Structure> structureHolder, BlockPos pos) -
Uses of Structure in net.minecraft.server.level
Method parameters in net.minecraft.server.level with type arguments of type StructureModifier and TypeMethodDescription@Nullable BlockPosServerLevel.findNearestMapStructure(TagKey<Structure> structureTag, BlockPos origin, int maxSearchRadius, boolean createReference) -
Uses of Structure in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type StructureModifier and TypeFieldDescriptionStructureTags.CATS_SPAWN_AS_BLACKStructureTags.CATS_SPAWN_INStructureTags.DOLPHIN_LOCATEDStructureTags.EYE_OF_ENDER_LOCATEDStructureTags.MINESHAFTStructureTags.OCEAN_RUINStructureTags.ON_DESERT_VILLAGE_MAPSStructureTags.ON_JUNGLE_EXPLORER_MAPSStructureTags.ON_OCEAN_EXPLORER_MAPSStructureTags.ON_PLAINS_VILLAGE_MAPSStructureTags.ON_SAVANNA_VILLAGE_MAPSStructureTags.ON_SNOWY_VILLAGE_MAPSStructureTags.ON_SWAMP_EXPLORER_MAPSStructureTags.ON_TAIGA_VILLAGE_MAPSStructureTags.ON_TREASURE_MAPSStructureTags.ON_TRIAL_CHAMBERS_MAPSStructureTags.ON_WOODLAND_EXPLORER_MAPSStructureTags.RUINED_PORTALStructureTags.SHIPWRECKStructureTags.VILLAGEMethods 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 TypeMethodDescription@Nullable ProfiledDurationJfrProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) JvmProfiler.NoOpProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) @Nullable ProfiledDurationJvmProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) -
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 sourceChunkPos, Holder<Structure> structure, ResourceKey<Level> level) -
Uses of Structure in net.minecraft.world.entity.variant
Fields in net.minecraft.world.entity.variant with type parameters of type StructureModifier and TypeFieldDescriptionStructureCheck.requiredStructuresThe field for therequiredStructuresrecord component.Methods in net.minecraft.world.entity.variant that return types with arguments of type StructureModifier and TypeMethodDescriptionStructureCheck.requiredStructures()Returns the value of therequiredStructuresrecord component.Constructor parameters in net.minecraft.world.entity.variant with type arguments of type StructureModifierConstructorDescriptionStructureCheck(HolderSet<Structure> requiredStructures) Creates an instance of aStructureCheckrecord class. -
Uses of Structure in net.minecraft.world.item.trading
Fields in net.minecraft.world.item.trading with type parameters of type StructureModifier and TypeFieldDescriptionVillagerTrades.VillagerExplorerMapEntry.structureTagKeyThe field for thestructureTagKeyrecord component.Methods in net.minecraft.world.item.trading that return types with arguments of type StructureModifier and TypeMethodDescriptionVillagerTrades.VillagerExplorerMapEntry.structureTagKey()Returns the value of thestructureTagKeyrecord component.Constructor parameters in net.minecraft.world.item.trading with type arguments of type StructureModifierConstructorDescriptionprivateVillagerExplorerMapEntry(ResourceKey<VillagerTrade> resourceKey, TagKey<Structure> structureTagKey, Holder<MapDecorationType> mapDecorationType, String translationKey, List<ResourceKey<VillagerType>> villagerTypes) Creates an instance of aVillagerExplorerMapEntryrecord 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 TypeMethodDescriptionvoidStructureManager.addReferenceForStructure(SectionPos pos, Structure structure, long reference, StructureAccess chunk) StructureManager.checkStructurePresence(ChunkPos pos, Structure structure, StructurePlacement placement, boolean createReference) voidStructureManager.fillStartsForStructure(Structure structure, it.unimi.dsi.fastutil.longs.LongSet referencesForStructure, Consumer<StructureStart> consumer) @Nullable StructureStartStructureManager.getStartForStructure(SectionPos pos, Structure structure, StructureAccess chunk) StructureManager.getStructureAt(BlockPos blockPos, Structure structure) StructureManager.getStructureWithPieceAt(BlockPos blockPos, Structure structure) voidStructureManager.setStartForStructure(SectionPos pos, Structure structure, StructureStart start, StructureAccess chunk) StructureManager.startsForStructure(SectionPos pos, Structure structure) Method parameters in net.minecraft.world.level with type arguments of type StructureModifier and TypeMethodDescriptionStructureManager.getStructureWithPieceAt(BlockPos blockPos, Predicate<Holder<Structure>> predicate) StructureManager.getStructureWithPieceAt(BlockPos blockPos, HolderSet<Structure> structures) StructureManager.getStructureWithPieceAt(BlockPos blockPos, TagKey<Structure> structureTag) StructureManager.startsForStructure(ChunkPos pos, Predicate<Structure> matcher) -
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.placementsForStructureChunkAccess.structuresRefencesprivate final Map<Structure, StructureStart> ChunkAccess.structureStartsMethods in net.minecraft.world.level.chunk that return types with arguments of type StructureModifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure(ServerLevel level, HolderSet<Structure> wantedStructures, BlockPos pos, int maxSearchRadius, boolean createReference) ChunkAccess.getAllReferences()ImposterProtoChunk.getAllReferences()StructureAccess.getAllReferences()ChunkAccess.getAllStarts()ImposterProtoChunk.getAllStarts()ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean createReference, ConcentricRingsStructurePlacement rings) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, int chunkOriginX, int chunkOriginZ, int radius, boolean createReference, long seed, RandomSpreadStructurePlacement config) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, boolean createReference, StructurePlacement config, ChunkPos chunkTarget) Methods in net.minecraft.world.level.chunk with parameters of type StructureModifier and TypeMethodDescriptionvoidChunkAccess.addReferenceForStructure(Structure structure, long reference) voidImposterProtoChunk.addReferenceForStructure(Structure structure, long reference) voidStructureAccess.addReferenceForStructure(Structure structure, long reference) private static intChunkGenerator.fetchReferences(StructureManager structureManager, ChunkAccess centerChunk, SectionPos sectionPos, Structure structure) it.unimi.dsi.fastutil.longs.LongSetChunkAccess.getReferencesForStructure(Structure structure) it.unimi.dsi.fastutil.longs.LongSetImposterProtoChunk.getReferencesForStructure(Structure structure) it.unimi.dsi.fastutil.longs.LongSetStructureAccess.getReferencesForStructure(Structure structure) @Nullable StructureStartChunkAccess.getStartForStructure(Structure structure) @Nullable StructureStartImposterProtoChunk.getStartForStructure(Structure structure) @Nullable StructureStartStructureAccess.getStartForStructure(Structure structure) voidChunkAccess.setStartForStructure(Structure structure, StructureStart structureStart) voidImposterProtoChunk.setStartForStructure(Structure structure, StructureStart structureStart) voidProtoChunk.setStartForStructure(Structure structure, StructureStart structureStart) voidStructureAccess.setStartForStructure(Structure structure, StructureStart structureStart) Method parameters in net.minecraft.world.level.chunk with type arguments of type StructureModifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure(ServerLevel level, HolderSet<Structure> wantedStructures, BlockPos pos, int maxSearchRadius, boolean createReference) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean createReference, ConcentricRingsStructurePlacement rings) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, int chunkOriginX, int chunkOriginZ, int radius, boolean createReference, long seed, RandomSpreadStructurePlacement config) ChunkGeneratorStructureState.getPlacementsForStructure(Holder<Structure> structure) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, boolean createReference, StructurePlacement config, ChunkPos chunkTarget) voidChunkAccess.setAllReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> data) voidImposterProtoChunk.setAllReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> data) voidStructureAccess.setAllReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> data) voidChunkAccess.setAllStarts(Map<Structure, StructureStart> starts) voidImposterProtoChunk.setAllStarts(Map<Structure, StructureStart> starts) -
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 registryAccess, ChunkPos pos, CompoundTag tag) private static Map<Structure, StructureStart> SerializableChunkData.unpackStructureStart(StructurePieceSerializationContext context, CompoundTag tag, long seed) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type StructureModifier and TypeMethodDescriptionprivate static CompoundTagSerializableChunkData.packStructureData(StructurePieceSerializationContext context, ChunkPos pos, Map<Structure, StructureStart> starts, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> references) -
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_CITYstatic final ResourceKey<Structure> BuiltinStructures.BASTION_REMNANTstatic final ResourceKey<Structure> BuiltinStructures.BURIED_TREASUREStructure.CODECstatic final ResourceKey<Structure> BuiltinStructures.DESERT_PYRAMIDStructure.DIRECT_CODECstatic final ResourceKey<Structure> BuiltinStructures.END_CITYStructureCheck.featureChecksstatic final ResourceKey<Structure> BuiltinStructures.FORTRESSstatic final ResourceKey<Structure> BuiltinStructures.IGLOOstatic final ResourceKey<Structure> BuiltinStructures.JUNGLE_TEMPLEprivate final it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>> StructureCheck.loadedChunksstatic final ResourceKey<Structure> BuiltinStructures.MINESHAFTstatic final ResourceKey<Structure> BuiltinStructures.MINESHAFT_MESAstatic final ResourceKey<Structure> BuiltinStructures.NETHER_FOSSILstatic final ResourceKey<Structure> BuiltinStructures.OCEAN_MONUMENTstatic final ResourceKey<Structure> BuiltinStructures.OCEAN_RUIN_COLDstatic final ResourceKey<Structure> BuiltinStructures.OCEAN_RUIN_WARMstatic final ResourceKey<Structure> BuiltinStructures.PILLAGER_OUTPOSTstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_DESERTstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_JUNGLEstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_MOUNTAINstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_NETHERstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_OCEANstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_STANDARDstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_SWAMPstatic final ResourceKey<Structure> BuiltinStructures.SHIPWRECKstatic final ResourceKey<Structure> BuiltinStructures.SHIPWRECK_BEACHEDstatic final ResourceKey<Structure> BuiltinStructures.STRONGHOLDStructureSet.StructureSelectionEntry.structureThe field for thestructurerecord component.static final ResourceKey<Structure> BuiltinStructures.SWAMP_HUTstatic final ResourceKey<Structure> BuiltinStructures.TRAIL_RUINSstatic final ResourceKey<Structure> BuiltinStructures.TRIAL_CHAMBERSstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_DESERTstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_PLAINSstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_SAVANNAstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_SNOWYstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_TAIGAstatic final ResourceKey<Structure> BuiltinStructures.WOODLAND_MANSIONMethods 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>
RecordCodecBuilder<S, Structure.StructureSettings> Structure.settingsCodec(RecordCodecBuilder.Instance<S> i) Structure.simpleCodec(Function<Structure.StructureSettings, S> constructor) 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> map) private @Nullable it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> StructureCheck.loadStructures(CompoundTag chunkTag) StructureSet.StructureSelectionEntry.structure()Returns the value of thestructurerecord component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type StructureModifier and TypeMethodDescriptionprivate booleanStructureCheck.canCreateStructure(ChunkPos pos, Structure structure) StructureCheck.checkStart(ChunkPos pos, Structure structure, StructurePlacement placement, boolean requireUnreferenced) private StructureCheckResultStructureCheck.checkStructureInfo(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> cachedResult, Structure structure, boolean requireUnreferenced) voidStructureCheck.incrementReference(ChunkPos chunkPos, Structure structure) private @Nullable StructureCheckResultStructureCheck.tryLoadFromStorage(ChunkPos pos, Structure structure, boolean requireUnreferenced, long posKey) Method parameters in net.minecraft.world.level.levelgen.structure with type arguments of type StructureModifier and TypeMethodDescriptionprivate StructureCheckResultStructureCheck.checkStructureInfo(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> cachedResult, Structure structure, boolean requireUnreferenced) private static it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> StructureCheck.deduplicateEmptyMap(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> map) Structure.generate(Holder<Structure> selected, ResourceKey<Level> dimension, RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos sourceChunkPos, int references, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) voidStructureCheck.onStructureLoad(ChunkPos pos, Map<Structure, StructureStart> starts) private voidStructureCheck.storeFullResults(long posKey, it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> starts) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type StructureModifierConstructorDescriptionStructureStart(Structure structure, ChunkPos chunkPos, int references, PiecesContainer pieceContainer) Constructor parameters in net.minecraft.world.level.levelgen.structure with type arguments of type StructureModifierConstructorDescriptionStructureSelectionEntry(Holder<Structure> structure, int weight) Creates an instance of aStructureSelectionEntryrecord class.StructureSet(Holder<Structure> singleEntry, StructurePlacement placement) -
Uses of Structure in net.minecraft.world.level.levelgen.structure.structures
Subclasses of Structure in net.minecraft.world.level.levelgen.structure.structuresModifier and TypeClassDescriptionclassclassclassclassfinal classclassclassclassclassclassclassclassclassclassclassclass -
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_DESTINATIONExplorationMapFunction.Builder.destinationExplorationMapFunction.destinationMethod parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type StructureModifier and TypeMethodDescriptionExplorationMapFunction.Builder.setDestination(TagKey<Structure> destination) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type StructureModifierConstructorDescriptionprivateExplorationMapFunction(List<LootItemCondition> predicates, TagKey<Structure> destination, Holder<MapDecorationType> mapDecoration, byte zoom, int searchRadius, boolean skipKnownStructures) -
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_DISPLAYERSStructures that should not show up on minimaps or world map views from mods/sites.Tags.Structures.HIDDEN_FROM_LOCATOR_SELECTIONStructures 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.structuresThe field for thestructuresrecord component.StructureModifiers.ClearSpawnsStructureModifier.structuresThe field for thestructuresrecord component.StructureModifiers.RemoveSpawnsStructureModifier.structuresThe field for thestructuresrecord component.Methods in net.neoforged.neoforge.common.world that return types with arguments of type StructureModifier and TypeMethodDescriptionStructureModifiers.AddSpawnsStructureModifier.structures()Returns the value of thestructuresrecord component.StructureModifiers.ClearSpawnsStructureModifier.structures()Returns the value of thestructuresrecord component.StructureModifiers.RemoveSpawnsStructureModifier.structures()Returns the value of thestructuresrecord component.Method parameters in net.neoforged.neoforge.common.world with type arguments of type StructureModifier and TypeMethodDescriptionvoidModifiableStructureInfo.applyStructureModifiers(Holder<Structure> structure, List<StructureModifier> structureModifiers) Internal NeoForge method.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) 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 aAddSpawnsStructureModifierrecord class.ClearSpawnsStructureModifier(HolderSet<Structure> structures, Set<MobCategory> categories) Creates an instance of aClearSpawnsStructureModifierrecord class.RemoveSpawnsStructureModifier(HolderSet<Structure> structures, HolderSet<EntityType<?>> entityTypes) Creates an instance of aRemoveSpawnsStructureModifierrecord class.