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> 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 void
Structures.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 int
LocateCommand.locateStructure
(CommandSourceStack source, ResourceOrTagKeyArgument.Result<Structure> structure) static int
PlaceCommand.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_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.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 TypeMethodDescriptionvoid
StructureManager.addReferenceForStructure
(SectionPos sectionPos, Structure structure, long reference, StructureAccess structureAccess) StructureManager.checkStructurePresence
(ChunkPos chunkPos, Structure structure, StructurePlacement placement, boolean skipKnownStructures) void
StructureManager.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) void
StructureManager.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.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 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 TypeMethodDescriptionvoid
ChunkAccess.addReferenceForStructure
(Structure structure, long reference) void
ImposterProtoChunk.addReferenceForStructure
(Structure structure, long reference) void
StructureAccess.addReferenceForStructure
(Structure structure, long reference) private static int
ChunkGenerator.fetchReferences
(StructureManager structureManager, ChunkAccess chunk, SectionPos sectionPos, Structure structure) it.unimi.dsi.fastutil.longs.LongSet
ChunkAccess.getReferencesForStructure
(Structure structure) it.unimi.dsi.fastutil.longs.LongSet
ImposterProtoChunk.getReferencesForStructure
(Structure structure) it.unimi.dsi.fastutil.longs.LongSet
StructureAccess.getReferencesForStructure
(Structure structure) ChunkAccess.getStartForStructure
(Structure structure) ImposterProtoChunk.getStartForStructure
(Structure structure) StructureAccess.getStartForStructure
(Structure structure) void
ChunkAccess.setStartForStructure
(Structure structure, StructureStart structureStart) void
ImposterProtoChunk.setStartForStructure
(Structure structure, StructureStart structureStart) void
ProtoChunk.setStartForStructure
(Structure structure, StructureStart structureStart) void
StructureAccess.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) void
ChunkAccess.setAllReferences
(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> structureReferencesMap) void
ImposterProtoChunk.setAllReferences
(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> structureReferencesMap) void
StructureAccess.setAllReferences
(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> structureReferencesMap) void
ChunkAccess.setAllStarts
(Map<Structure, StructureStart> structureStarts) void
ImposterProtoChunk.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 CompoundTag
ChunkSerializer.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_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> 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 thestructure
record component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type StructureModifier and TypeMethodDescriptionprivate boolean
StructureCheck.canCreateStructure
(ChunkPos chunkPos, Structure structure) StructureCheck.checkStart
(ChunkPos chunkPos, Structure structure, StructurePlacement placement, boolean skipKnownStructures) private StructureCheckResult
StructureCheck.checkStructureInfo
(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> structureChunks, Structure structure, boolean skipKnownStructures) void
StructureCheck.incrementReference
(ChunkPos pos, Structure structure) private StructureCheckResult
StructureCheck.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 StructureCheckResult
StructureCheck.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) void
StructureCheck.onStructureLoad
(ChunkPos chunkPos, Map<Structure, StructureStart> chunkStarts) private void
StructureCheck.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 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> 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_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, 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 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.