Uses of Class
net.minecraft.world.level.levelgen.structure.Structure
Packages that use Structure
Package
Description
- 
Uses of Structure in net.minecraft.advancements.critereonFields in net.minecraft.advancements.critereon with type parameters of type StructureModifier and TypeFieldDescriptionprivate Optional<ResourceKey<Structure>>LocationPredicate.Builder.structureprivate final Optional<ResourceKey<Structure>>LocationPredicate.structureThe field for thestructurerecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type StructureModifier and TypeMethodDescriptionLocationPredicate.structure()Returns the value of thestructurerecord component.Method parameters in net.minecraft.advancements.critereon with type arguments of type StructureModifier and TypeMethodDescriptionstatic LocationPredicate.BuilderLocationPredicate.Builder.inStructure(ResourceKey<Structure> p_298413_) LocationPredicate.Builder.setStructure(ResourceKey<Structure> p_220593_) 
- 
Uses of Structure in net.minecraft.commands.argumentsMethods 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.registriesFields 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.worldgenMethod parameters in net.minecraft.data.worldgen with type arguments of type StructureModifier and TypeMethodDescriptionstatic voidStructures.bootstrap(BootstapContext<Structure> p_256072_) static voidUpdateOneTwentyOneStructures.bootstrap(BootstapContext<Structure> p_312245_) 
- 
Uses of Structure in net.minecraft.server.commandsMethods 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> p_251212_, Registry<Structure> p_249691_) 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> p_251212_, Registry<Structure> p_249691_) private static Optional<? extends HolderSet.ListBacked<Structure>>LocateCommand.getHolders(ResourceOrTagKeyArgument.Result<Structure> p_251212_, Registry<Structure> p_249691_) private static intLocateCommand.locateStructure(CommandSourceStack p_214472_, ResourceOrTagKeyArgument.Result<Structure> p_249893_) static intPlaceCommand.placeStructure(CommandSourceStack p_214588_, Holder.Reference<Structure> p_251799_, BlockPos p_214590_) 
- 
Uses of Structure in net.minecraft.server.levelMethod parameters in net.minecraft.server.level with type arguments of type StructureModifier and TypeMethodDescriptionServerLevel.findNearestMapStructure(TagKey<Structure> p_215012_, BlockPos p_215013_, int p_215014_, boolean p_215015_) 
- 
Uses of Structure in net.minecraft.tagsFields 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_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.world.entity.npcFields 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 p_207767_, TagKey<Structure> p_207768_, String p_207769_, MapDecoration.Type p_207770_, int p_207771_, int p_207772_) 
- 
Uses of Structure in net.minecraft.world.levelMethods 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 p_220508_, Structure p_220509_, long p_220510_, StructureAccess p_220511_) StructureManager.checkStructurePresence(ChunkPos p_220474_, Structure p_220475_, boolean p_220476_) voidStructureManager.fillStartsForStructure(Structure p_220481_, it.unimi.dsi.fastutil.longs.LongSet p_220482_, Consumer<StructureStart> p_220483_) StructureManager.getStartForStructure(SectionPos p_220513_, Structure p_220514_, StructureAccess p_220515_) StructureManager.getStructureAt(BlockPos p_220495_, Structure p_220496_) StructureManager.getStructureWithPieceAt(BlockPos p_220525_, Structure p_220526_) voidStructureManager.setStartForStructure(SectionPos p_220517_, Structure p_220518_, StructureStart p_220519_, StructureAccess p_220520_) StructureManager.startsForStructure(SectionPos p_220505_, Structure p_220506_) Method parameters in net.minecraft.world.level with type arguments of type StructureModifier and TypeMethodDescriptionStructureManager.getStructureWithPieceAt(BlockPos p_220489_, ResourceKey<Structure> p_220490_) StructureManager.getStructureWithPieceAt(BlockPos p_220492_, TagKey<Structure> p_220493_) StructureManager.startsForStructure(ChunkPos p_220478_, Predicate<Structure> p_220479_) 
- 
Uses of Structure in net.minecraft.world.level.chunkFields 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 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 TypeMethodDescriptionvoidChunkAccess.addReferenceForStructure(Structure p_223007_, long p_223008_) voidImposterProtoChunk.addReferenceForStructure(Structure p_223402_, long p_223403_) voidStructureAccess.addReferenceForStructure(Structure p_223435_, long p_223436_) private static intChunkGenerator.fetchReferences(StructureManager p_223055_, ChunkAccess p_223056_, SectionPos p_223057_, Structure p_223058_) it.unimi.dsi.fastutil.longs.LongSetChunkAccess.getReferencesForStructure(Structure p_223017_) it.unimi.dsi.fastutil.longs.LongSetImposterProtoChunk.getReferencesForStructure(Structure p_223408_) it.unimi.dsi.fastutil.longs.LongSetStructureAccess.getReferencesForStructure(Structure p_223439_) ChunkAccess.getStartForStructure(Structure p_223005_) ImposterProtoChunk.getStartForStructure(Structure p_223400_) StructureAccess.getStartForStructure(Structure p_223434_) voidChunkAccess.setStartForStructure(Structure p_223010_, StructureStart p_223011_) voidImposterProtoChunk.setStartForStructure(Structure p_223405_, StructureStart p_223406_) voidProtoChunk.setStartForStructure(Structure p_223432_, StructureStart p_223433_) voidStructureAccess.setStartForStructure(Structure p_223437_, StructureStart p_223438_) 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> p_256494_) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> p_223199_, LevelReader p_223200_, StructureManager p_223201_, boolean p_223202_, StructurePlacement p_223203_, ChunkPos p_223204_) voidChunkAccess.setAllReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> p_187663_) voidImposterProtoChunk.setAllReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> p_62738_) voidStructureAccess.setAllReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> p_223440_) voidChunkAccess.setAllStarts(Map<Structure, StructureStart> p_62090_) voidImposterProtoChunk.setAllStarts(Map<Structure, StructureStart> p_62726_) 
- 
Uses of Structure in net.minecraft.world.level.chunk.storageMethods in net.minecraft.world.level.chunk.storage that return types with arguments of type StructureModifier and TypeMethodDescriptionChunkSerializer.unpackStructureReferences(RegistryAccess p_208155_, ChunkPos p_208156_, CompoundTag p_208157_) private static Map<Structure,StructureStart> ChunkSerializer.unpackStructureStart(StructurePieceSerializationContext p_188255_, CompoundTag p_188256_, long p_188257_) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type StructureModifier and TypeMethodDescriptionprivate static CompoundTagChunkSerializer.packStructureData(StructurePieceSerializationContext p_188250_, ChunkPos p_188251_, Map<Structure, StructureStart> p_188252_, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> p_188253_) 
- 
Uses of Structure in net.minecraft.world.level.levelgen.structureClasses 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_PYRAMIDstatic final com.mojang.serialization.Codec<Structure>Structure.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.StructureCheck.structureConfigsstatic 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>
 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.Codec<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 thestructurerecord component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type StructureModifier and TypeMethodDescriptionprivate booleanStructureCheck.canCreateStructure(ChunkPos p_226756_, Structure p_226757_) StructureCheck.checkStart(ChunkPos p_226730_, Structure p_226731_, boolean p_226732_) private StructureCheckResultStructureCheck.checkStructureInfo(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> p_226752_, Structure p_226753_, boolean p_226754_) voidStructureCheck.incrementReference(ChunkPos p_226723_, Structure p_226724_) private StructureCheckResultStructureCheck.tryLoadFromStorage(ChunkPos p_226734_, Structure p_226735_, boolean p_226736_, long p_226737_) 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> 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_) voidStructureCheck.onStructureLoad(ChunkPos p_197283_, Map<Structure, StructureStart> p_197284_) private voidStructureCheck.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 p_226846_, ChunkPos p_226847_, int p_226848_, PiecesContainer p_226849_) 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> p_210007_, StructurePlacement p_210008_) 
- 
Uses of Structure in net.minecraft.world.level.levelgen.structure.structuresSubclasses of Structure in net.minecraft.world.level.levelgen.structure.structuresModifier and TypeClassDescriptionclassclassclassclassfinal classclassclassclassclassclassclassclassclassclassclassclass
- 
Uses of Structure in net.minecraft.world.level.storage.loot.functionsFields 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> p_210659_) 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_, MapDecoration.Type p_210654_, byte p_210655_, int p_210656_, boolean p_210657_) 
- 
Uses of Structure in net.neoforged.neoforge.common.worldFields 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 forge method; the game will crash if mods invoke this.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, 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, List<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.
- 
Uses of Structure in net.neoforged.neoforge.oldtest.worldFields in net.neoforged.neoforge.oldtest.world with type parameters of type StructureModifier and TypeFieldDescriptionStructureModifierTest.STRUCTURE_LIST_CODECStructureModifierTest.TestModifier.structuresThe field for thestructuresrecord component.Methods in net.neoforged.neoforge.oldtest.world that return types with arguments of type StructureModifier and TypeMethodDescriptionStructureModifierTest.TestModifier.structures()Returns the value of thestructuresrecord component.Method parameters in net.neoforged.neoforge.oldtest.world with type arguments of type StructureModifier and TypeMethodDescriptionvoidStructureModifierTest.TestModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) Constructor parameters in net.neoforged.neoforge.oldtest.world with type arguments of type StructureModifierConstructorDescriptionTestModifier(HolderSet<Structure> structures, MobCategory category, MobSpawnSettings.SpawnerData spawn) Creates an instance of aTestModifierrecord class.