Uses of Class
net.minecraft.world.gen.structure.Structure
Packages that use Structure
Package
Description
-
Uses of Structure in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return types with arguments of type StructureModifier and TypeMethodDescriptionstatic RegistryEntry<Structure>
RegistryKeyArgumentType.getStructureEntry
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of Structure in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type StructureModifier and TypeFieldDescriptionExplorationMapLootFunction.DEFAULT_DESTINATION
ExplorationMapLootFunction.Builder.destination
ExplorationMapLootFunction.destination
Methods in net.minecraft.loot.function that return types with arguments of type StructureModifier and TypeMethodDescriptionExplorationMapLootFunction.Serializer.getDestination
(JsonObject json) Method parameters in net.minecraft.loot.function with type arguments of type StructureModifier and TypeMethodDescriptionExplorationMapLootFunction.Builder.withDestination
(TagKey<Structure> destination) Constructor parameters in net.minecraft.loot.function with type arguments of type StructureModifierConstructorDescription(package private)
ExplorationMapLootFunction
(LootCondition[] conditions, TagKey<Structure> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) -
Uses of Structure in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type StructureModifier and TypeFieldDescriptionprivate @Nullable RegistryKey<Structure>
LocationPredicate.Builder.feature
private final @Nullable RegistryKey<Structure>
LocationPredicate.feature
Method parameters in net.minecraft.predicate.entity with type arguments of type StructureModifier and TypeMethodDescriptionLocationPredicate.Builder.feature
(@Nullable RegistryKey<Structure> feature) static LocationPredicate
LocationPredicate.feature
(RegistryKey<Structure> feature) -
Uses of Structure in net.minecraft.server.command
Methods in net.minecraft.server.command that return types with arguments of type StructureModifier and TypeMethodDescriptionprivate static Optional<? extends RegistryEntryList.ListBacked<Structure>>
LocateCommand.getStructureListForPredicate
(RegistryPredicateArgumentType.RegistryPredicate<Structure> predicate, Registry<Structure> structureRegistry) Method parameters in net.minecraft.server.command with type arguments of type StructureModifier and TypeMethodDescriptionprivate static int
LocateCommand.executeLocateStructure
(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<Structure> predicate) static int
PlaceCommand.executePlaceStructure
(ServerCommandSource source, RegistryEntry<Structure> structure, BlockPos pos) private static Optional<? extends RegistryEntryList.ListBacked<Structure>>
LocateCommand.getStructureListForPredicate
(RegistryPredicateArgumentType.RegistryPredicate<Structure> predicate, Registry<Structure> structureRegistry) private static Optional<? extends RegistryEntryList.ListBacked<Structure>>
LocateCommand.getStructureListForPredicate
(RegistryPredicateArgumentType.RegistryPredicate<Structure> predicate, Registry<Structure> structureRegistry) -
Uses of Structure in net.minecraft.server.world
Method parameters in net.minecraft.server.world with type arguments of type Structure -
Uses of Structure in net.minecraft.structure
Fields in net.minecraft.structure declared as StructureFields in net.minecraft.structure with type parameters of type StructureModifier and TypeFieldDescriptionprivate final RegistryEntry<Structure>
StructureSet.WeightedEntry.structure
The field for thestructure
record component.Methods in net.minecraft.structure that return StructureMethods in net.minecraft.structure that return types with arguments of type StructureModifier and TypeMethodDescriptionStructureSet.WeightedEntry.structure()
Returns the value of thestructure
record component.Method parameters in net.minecraft.structure with type arguments of type StructureModifier and TypeMethodDescriptionstatic StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<Structure> structure) static StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<Structure> structure, int weight) static RegistryEntry<StructureSet>
StructureSets.register
(RegistryKey<StructureSet> key, RegistryEntry<Structure> structure, StructurePlacement placement) Constructors in net.minecraft.structure with parameters of type StructureModifierConstructorDescriptionStructureStart
(Structure structure, ChunkPos pos, int references, StructurePiecesList children) Constructor parameters in net.minecraft.structure with type arguments of type StructureModifierConstructorDescriptionStructureSet
(RegistryEntry<Structure> structure, StructurePlacement placement) WeightedEntry
(RegistryEntry<Structure> registryEntry, int int2) -
Uses of Structure in net.minecraft.tag
Fields in net.minecraft.tag 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_OCEAN_EXPLORER_MAPS
StructureTags.ON_TREASURE_MAPS
StructureTags.ON_WOODLAND_EXPLORER_MAPS
StructureTags.RUINED_PORTAL
StructureTags.SHIPWRECK
StructureTags.VILLAGE
Methods in net.minecraft.tag that return types with arguments of type Structure -
Uses of Structure in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type StructureModifier and TypeFieldDescriptionBuiltinRegistries.STRUCTURE
static final RegistryKey<Registry<Structure>>
Registry.STRUCTURE_KEY
-
Uses of Structure in net.minecraft.village
Fields in net.minecraft.village with type parameters of type StructureConstructor parameters in net.minecraft.village with type arguments of type StructureModifierConstructorDescriptionSellMapFactory
(int price, TagKey<Structure> structure, String nameKey, MapIcon.Type iconType, int maxUses, int experience) -
Uses of Structure in net.minecraft.world
Fields in net.minecraft.world with type parameters of type StructureModifier and TypeFieldDescriptionprivate final Long2ObjectMap<Object2IntMap<Structure>>
StructureLocator.cachedStructuresByChunkPos
private final Map<Structure,
Long2BooleanMap> StructureLocator.generationPossibilityByStructure
StructureLocator.structureRegistry
Methods in net.minecraft.world that return types with arguments of type StructureModifier and TypeMethodDescriptionprivate @Nullable Object2IntMap<Structure>
StructureLocator.collectStructuresAndReferences
(NbtCompound nbt) private static Object2IntMap<Structure>
StructureLocator.createMapIfEmpty
(Object2IntMap<Structure> map) StructureHolder.getStructureReferences()
ChunkSerializer.readStructureReferences
(DynamicRegistryManager registryManager, ChunkPos pos, NbtCompound nbt) private static Map<Structure,
StructureStart> ChunkSerializer.readStructureStarts
(StructureContext context, NbtCompound nbt, long worldSeed) Methods in net.minecraft.world with parameters of type StructureModifier and TypeMethodDescriptionvoid
StructureHolder.addStructureReference
(Structure structure, long reference) private StructurePresence
StructureLocator.getStructurePresence
(Object2IntMap<Structure> referencesByStructure, Structure structure, boolean skipReferencedStructures) StructureLocator.getStructurePresence
(ChunkPos pos, Structure type, boolean skipReferencedStructures) private @Nullable StructurePresence
StructureLocator.getStructurePresence
(ChunkPos pos, Structure structure, boolean skipReferencedStructures, long posLong) StructureHolder.getStructureReferences
(Structure structure) StructureHolder.getStructureStart
(Structure structure) void
StructureLocator.incrementReferences
(ChunkPos pos, Structure structure) private boolean
StructureLocator.isGenerationPossible
(ChunkPos pos, Structure structure) Returns whetherstructure
is able to generate inpos
.void
StructureHolder.setStructureStart
(Structure structure, StructureStart start) Method parameters in net.minecraft.world with type arguments of type StructureModifier and TypeMethodDescriptionprivate void
StructureLocator.cache
(long pos, Object2IntMap<Structure> referencesByStructure) void
StructureLocator.cache
(ChunkPos pos, Map<Structure, StructureStart> structureStarts) private static Object2IntMap<Structure>
StructureLocator.createMapIfEmpty
(Object2IntMap<Structure> map) private StructurePresence
StructureLocator.getStructurePresence
(Object2IntMap<Structure> referencesByStructure, Structure structure, boolean skipReferencedStructures) void
StructureHolder.setStructureReferences
(Map<Structure, LongSet> structureReferences) private static NbtCompound
ChunkSerializer.writeStructures
(StructureContext context, ChunkPos pos, Map<Structure, StructureStart> starts, Map<Structure, LongSet> references) -
Uses of Structure in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type StructureModifier and TypeFieldDescriptionChunk.structureReferences
private final Map<Structure,
StructureStart> Chunk.structureStarts
Methods in net.minecraft.world.chunk that return types with arguments of type StructureModifier and TypeMethodDescriptionChunk.getStructureReferences()
ReadOnlyChunk.getStructureReferences()
Chunk.getStructureStarts()
ReadOnlyChunk.getStructureStarts()
Methods in net.minecraft.world.chunk with parameters of type StructureModifier and TypeMethodDescriptionvoid
Chunk.addStructureReference
(Structure structure, long reference) void
ReadOnlyChunk.addStructureReference
(Structure structure, long reference) Chunk.getStructureReferences
(Structure structure) ReadOnlyChunk.getStructureReferences
(Structure structure) Chunk.getStructureStart
(Structure structure) ReadOnlyChunk.getStructureStart
(Structure structure) void
Chunk.setStructureStart
(Structure structure, StructureStart start) void
ProtoChunk.setStructureStart
(Structure structure, StructureStart start) void
ReadOnlyChunk.setStructureStart
(Structure structure, StructureStart start) Method parameters in net.minecraft.world.chunk with type arguments of type StructureModifier and TypeMethodDescriptionvoid
Chunk.setStructureReferences
(Map<Structure, LongSet> structureReferences) void
ReadOnlyChunk.setStructureReferences
(Map<Structure, LongSet> structureReferences) void
Chunk.setStructureStarts
(Map<Structure, StructureStart> structureStarts) void
ReadOnlyChunk.setStructureStarts
(Map<Structure, StructureStart> structureStarts) -
Uses of Structure in net.minecraft.world.gen
Methods in net.minecraft.world.gen that return types with arguments of type StructureMethods in net.minecraft.world.gen with parameters of type StructureModifier and TypeMethodDescriptionvoid
StructureAccessor.acceptStructureStarts
(Structure structure, LongSet structureStartPositions, Consumer<StructureStart> consumer) void
StructureAccessor.addStructureReference
(ChunkSectionPos pos, Structure structure, long reference, StructureHolder holder) StructureAccessor.getStructureAt
(BlockPos pos, Structure structure) StructureAccessor.getStructureContaining
(BlockPos pos, Structure structure) Returns a structure that contains the givenpos
.StructureAccessor.getStructurePresence
(ChunkPos chunkPos, Structure structure, boolean skipExistingChunk) StructureAccessor.getStructureStart
(ChunkSectionPos pos, Structure structure, StructureHolder holder) StructureAccessor.getStructureStarts
(ChunkSectionPos sectionPos, Structure structure) Returns a list of structure starts for this chunk.void
StructureAccessor.setStructureStart
(ChunkSectionPos pos, Structure structure, StructureStart structureStart, StructureHolder holder) Method parameters in net.minecraft.world.gen with type arguments of type StructureModifier and TypeMethodDescriptionStructureAccessor.getStructureContaining
(BlockPos pos, TagKey<Structure> structureTag) StructureAccessor.getStructureContaining
(BlockPos pos, RegistryKey<Structure> structure) StructureAccessor.getStructureStarts
(ChunkPos pos, Predicate<Structure> predicate) -
Uses of Structure in net.minecraft.world.gen.chunk
Fields in net.minecraft.world.gen.chunk with type parameters of type StructureModifier and TypeFieldDescriptionprivate final Map<Structure,
List<StructurePlacement>> ChunkGenerator.structurePlacements
Methods in net.minecraft.world.gen.chunk that return types with arguments of type StructureModifier and TypeMethodDescriptionprivate @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateConcentricRingsStructure
(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, ConcentricRingsStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateRandomSpreadStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, int centerChunkX, int centerChunkZ, int radius, boolean skipReferencedStructures, long seed, RandomSpreadStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, boolean skipReferencedStructures, StructurePlacement placement, ChunkPos pos) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateStructure
(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.Methods in net.minecraft.world.gen.chunk with parameters of type StructureModifier and TypeMethodDescriptionprivate static int
ChunkGenerator.getStructureReferences
(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, Structure structure) Method parameters in net.minecraft.world.gen.chunk with type arguments of type StructureModifier and TypeMethodDescriptionprivate List<StructurePlacement>
ChunkGenerator.getStructurePlacement
(RegistryEntry<Structure> structureEntry, NoiseConfig noiseConfig) private @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateConcentricRingsStructure
(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, ConcentricRingsStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateRandomSpreadStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, int centerChunkX, int centerChunkZ, int radius, boolean skipReferencedStructures, long seed, RandomSpreadStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, boolean skipReferencedStructures, StructurePlacement placement, ChunkPos pos) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateStructure
(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block. -
Uses of Structure in net.minecraft.world.gen.structure
Classes in net.minecraft.world.gen.structure with type parameters of type StructureSubclasses of Structure in net.minecraft.world.gen.structureModifier and TypeClassDescriptionclass
class
class
class
class
final class
class
class
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.world.gen.structure with type parameters of type StructureModifier and TypeFieldDescriptionstatic final RegistryKey<Structure>
StructureKeys.ANCIENT_CITY
static final RegistryEntry<Structure>
Structures.ANCIENT_CITY
static final RegistryKey<Structure>
StructureKeys.BASTION_REMNANT
static final RegistryEntry<Structure>
Structures.BASTION_REMNANT
static final RegistryKey<Structure>
StructureKeys.BURIED_TREASURE
static final RegistryEntry<Structure>
Structures.BURIED_TREASURE
static final RegistryKey<Structure>
StructureKeys.DESERT_PYRAMID
static final RegistryEntry<Structure>
Structures.DESERT_PYRAMID
static final RegistryKey<Structure>
StructureKeys.END_CITY
static final RegistryEntry<Structure>
Structures.END_CITY
static final com.mojang.serialization.Codec<RegistryEntry<Structure>>
Structure.ENTRY_CODEC
static final RegistryKey<Structure>
StructureKeys.FORTRESS
static final RegistryEntry<Structure>
Structures.FORTRESS
static final RegistryKey<Structure>
StructureKeys.IGLOO
static final RegistryEntry<Structure>
Structures.IGLOO
static final RegistryKey<Structure>
StructureKeys.JUNGLE_PYRAMID
static final RegistryEntry<Structure>
Structures.JUNGLE_PYRAMID
static final RegistryKey<Structure>
StructureKeys.MANSION
static final RegistryEntry<Structure>
Structures.MANSION
static final RegistryKey<Structure>
StructureKeys.MINESHAFT
static final RegistryEntry<Structure>
Structures.MINESHAFT
static final RegistryKey<Structure>
StructureKeys.MINESHAFT_MESA
static final RegistryEntry<Structure>
Structures.MINESHAFT_MESA
static final RegistryKey<Structure>
StructureKeys.MONUMENT
static final RegistryEntry<Structure>
Structures.MONUMENT
static final RegistryKey<Structure>
StructureKeys.NETHER_FOSSIL
static final RegistryEntry<Structure>
Structures.NETHER_FOSSIL
static final RegistryKey<Structure>
StructureKeys.OCEAN_RUIN_COLD
static final RegistryEntry<Structure>
Structures.OCEAN_RUIN_COLD
static final RegistryKey<Structure>
StructureKeys.OCEAN_RUIN_WARM
static final RegistryEntry<Structure>
Structures.OCEAN_RUIN_WARM
static final RegistryKey<Structure>
StructureKeys.PILLAGER_OUTPOST
static final RegistryEntry<Structure>
Structures.PILLAGER_OUTPOST
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL
static final RegistryEntry<Structure>
Structures.RUINED_PORTAL
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_DESERT
static final RegistryEntry<Structure>
Structures.RUINED_PORTAL_DESERT
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_JUNGLE
static final RegistryEntry<Structure>
Structures.RUINED_PORTAL_JUNGLE
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_MOUNTAIN
static final RegistryEntry<Structure>
Structures.RUINED_PORTAL_MOUNTAIN
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_NETHER
static final RegistryEntry<Structure>
Structures.RUINED_PORTAL_NETHER
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_OCEAN
static final RegistryEntry<Structure>
Structures.RUINED_PORTAL_OCEAN
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_SWAMP
static final RegistryEntry<Structure>
Structures.RUINED_PORTAL_SWAMP
static final RegistryKey<Structure>
StructureKeys.SHIPWRECK
static final RegistryEntry<Structure>
Structures.SHIPWRECK
static final RegistryKey<Structure>
StructureKeys.SHIPWRECK_BEACHED
static final RegistryEntry<Structure>
Structures.SHIPWRECK_BEACHED
static final RegistryKey<Structure>
StructureKeys.STRONGHOLD
static final RegistryEntry<Structure>
Structures.STRONGHOLD
static final com.mojang.serialization.Codec<Structure>
Structure.STRUCTURE_CODEC
static final RegistryKey<Structure>
StructureKeys.SWAMP_HUT
static final RegistryEntry<Structure>
Structures.SWAMP_HUT
static final RegistryKey<Structure>
StructureKeys.VILLAGE_DESERT
static final RegistryEntry<Structure>
Structures.VILLAGE_DESERT
static final RegistryKey<Structure>
StructureKeys.VILLAGE_PLAINS
static final RegistryEntry<Structure>
Structures.VILLAGE_PLAINS
static final RegistryKey<Structure>
StructureKeys.VILLAGE_SAVANNA
static final RegistryEntry<Structure>
Structures.VILLAGE_SAVANNA
static final RegistryKey<Structure>
StructureKeys.VILLAGE_SNOWY
static final RegistryEntry<Structure>
Structures.VILLAGE_SNOWY
static final RegistryKey<Structure>
StructureKeys.VILLAGE_TAIGA
static final RegistryEntry<Structure>
Structures.VILLAGE_TAIGA
Methods in net.minecraft.world.gen.structure with type parameters of type StructureModifier and TypeMethodDescriptionstatic <S extends Structure>
com.mojang.serialization.codecs.RecordCodecBuilder<S,Structure.Config> Structure.configCodecBuilder
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<S> instance) static <S extends Structure>
com.mojang.serialization.Codec<S>Structure.createCodec
(Function<Structure.Config, S> featureCreator) private static <S extends Structure>
StructureType<S>Methods in net.minecraft.world.gen.structure that return types with arguments of type StructureModifier and TypeMethodDescriptionstatic RegistryEntry<? extends Structure>
Structures.getDefault
(Registry<Structure> registry) private static RegistryKey<Structure>
private static RegistryEntry<Structure>
Structures.register
(RegistryKey<Structure> key, Structure structure) Methods in net.minecraft.world.gen.structure with parameters of type StructureModifier and TypeMethodDescriptionprivate static RegistryEntry<Structure>
Structures.register
(RegistryKey<Structure> key, Structure structure) Method parameters in net.minecraft.world.gen.structure with type arguments of type StructureModifier and TypeMethodDescriptionstatic RegistryEntry<? extends Structure>
Structures.getDefault
(Registry<Structure> registry) private static RegistryEntry<Structure>
Structures.register
(RegistryKey<Structure> key, Structure structure)