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.structuresLocationPredicate.structuresThe field for thestructuresrecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type StructureModifier and TypeMethodDescriptionLocationPredicate.structures()Returns the value of thestructuresrecord component.Method parameters in net.minecraft.advancements.critereon 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(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Holder.Reference<Structure> ResourceKeyArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) -
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 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> structure, Registry<Structure> structureRegistry) 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> structure, Registry<Structure> structureRegistry) private static Optional<? extends HolderSet.ListBacked<Structure>> LocateCommand.getHolders(ResourceOrTagKeyArgument.Result<Structure> structure, Registry<Structure> structureRegistry) private static intLocateCommand.locateStructure(CommandSourceStack source, ResourceOrTagKeyArgument.Result<Structure> structure) static intPlaceCommand.placeStructure(CommandSourceStack source, Holder.Reference<Structure> p_structure, BlockPos pos) -
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> structureTag, BlockPos pos, int radius, boolean skipExistingChunks) -
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.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 emeraldCost, TagKey<Structure> destination, String displayName, Holder<MapDecorationType> destinationType, int maxUses, int villagerXp) -
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 sectionPos, Structure structure, long reference, StructureAccess structureAccess) StructureManager.checkStructurePresence(ChunkPos chunkPos, Structure structure, StructurePlacement placement, boolean skipKnownStructures) voidStructureManager.fillStartsForStructure(Structure structure, it.unimi.dsi.fastutil.longs.LongSet structureRefs, Consumer<StructureStart> startConsumer) StructureManager.getStartForStructure(SectionPos sectionPos, Structure structure, StructureAccess structureAccess) StructureManager.getStructureAt(BlockPos pos, Structure structure) StructureManager.getStructureWithPieceAt(BlockPos pos, Structure structure) voidStructureManager.setStartForStructure(SectionPos sectionPos, Structure structure, StructureStart structureStart, StructureAccess structureAccess) StructureManager.startsForStructure(SectionPos sectionPos, Structure structure) Method parameters in net.minecraft.world.level with type arguments of type StructureModifier and TypeMethodDescriptionStructureManager.getStructureWithPieceAt(BlockPos pos, Predicate<Holder<Structure>> predicate) StructureManager.getStructureWithPieceAt(BlockPos pos, HolderSet<Structure> structures) StructureManager.getStructureWithPieceAt(BlockPos pos, TagKey<Structure> structureTag) StructureManager.startsForStructure(ChunkPos chunkPos, Predicate<Structure> structurePredicate) -
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> structure, BlockPos pos, int searchRadius, boolean skipKnownStructures) ChunkAccess.getAllReferences()ImposterProtoChunk.getAllReferences()StructureAccess.getAllReferences()ChunkAccess.getAllStarts()ImposterProtoChunk.getAllStarts()ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structureHoldersSet, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean skipKnownStructures, ConcentricRingsStructurePlacement placement) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structureHoldersSet, LevelReader level, StructureManager structureManager, int x, int y, int z, boolean skipKnownStructures, long seed, RandomSpreadStructurePlacement spreadPlacement) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> structureHoldersSet, LevelReader level, StructureManager structureManager, boolean skipKnownStructures, StructurePlacement placement, ChunkPos chunkPos) 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 chunk, 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) ChunkAccess.getStartForStructure(Structure structure) ImposterProtoChunk.getStartForStructure(Structure structure) StructureAccess.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> structure, BlockPos pos, int searchRadius, boolean skipKnownStructures) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structureHoldersSet, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean skipKnownStructures, ConcentricRingsStructurePlacement placement) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structureHoldersSet, LevelReader level, StructureManager structureManager, int x, int y, int z, boolean skipKnownStructures, long seed, RandomSpreadStructurePlacement spreadPlacement) ChunkGeneratorStructureState.getPlacementsForStructure(Holder<Structure> structure) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> structureHoldersSet, LevelReader level, StructureManager structureManager, boolean skipKnownStructures, StructurePlacement placement, ChunkPos chunkPos) voidChunkAccess.setAllReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> structureReferencesMap) voidImposterProtoChunk.setAllReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> structureReferencesMap) voidStructureAccess.setAllReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> structureReferencesMap) voidChunkAccess.setAllStarts(Map<Structure, StructureStart> structureStarts) voidImposterProtoChunk.setAllStarts(Map<Structure, StructureStart> structureStarts) -
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 TypeMethodDescriptionChunkSerializer.unpackStructureReferences(RegistryAccess registryAccess, ChunkPos pos, CompoundTag tag) private static Map<Structure, StructureStart> ChunkSerializer.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 CompoundTagChunkSerializer.packStructureData(StructurePieceSerializationContext context, ChunkPos pos, Map<Structure, StructureStart> structureMap, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> referenceMap) -
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_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.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>
com.mojang.serialization.codecs.RecordCodecBuilder<S, Structure.StructureSettings> Structure.settingsCodec(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<S> instance) static <S extends Structure>
com.mojang.serialization.MapCodec<S> Structure.simpleCodec(Function<Structure.StructureSettings, S> factory) 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 it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> StructureCheck.loadStructures(CompoundTag tag) 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 chunkPos, Structure structure) StructureCheck.checkStart(ChunkPos chunkPos, Structure structure, StructurePlacement placement, boolean skipKnownStructures) private StructureCheckResultStructureCheck.checkStructureInfo(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> structureChunks, Structure structure, boolean skipKnownStructures) voidStructureCheck.incrementReference(ChunkPos pos, Structure structure) private StructureCheckResultStructureCheck.tryLoadFromStorage(ChunkPos chunkPos, Structure structure, boolean skipKnownStructures, long packedChunkPos) 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> structureChunks, Structure structure, boolean skipKnownStructures) private static it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> StructureCheck.deduplicateEmptyMap(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> map) voidStructureCheck.onStructureLoad(ChunkPos chunkPos, Map<Structure, StructureStart> chunkStarts) private voidStructureCheck.storeFullResults(long chunkPos, it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> structureChunks) 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> 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 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 StructureModifierConstructorDescription(package private)ExplorationMapFunction(List<LootItemCondition> conditons, 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, 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.