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.Reference<Structure> RegistryEntryReferenceArgumentType.getStructure(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<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_DESTINATIONExplorationMapLootFunction.Builder.destinationExplorationMapLootFunction.destinationMethod 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(List<LootCondition> conditions, TagKey<Structure> destination, RegistryEntry<MapDecorationType> 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 Optional<RegistryEntryList<Structure>> LocationPredicate.Builder.featureprivate final Optional<RegistryEntryList<Structure>> LocationPredicate.structuresThe field for thestructuresrecord component.Methods in net.minecraft.predicate.entity that return types with arguments of type StructureModifier and TypeMethodDescriptionLocationPredicate.structures()Returns the value of thestructuresrecord component.Method parameters in net.minecraft.predicate.entity with type arguments of type StructureModifier and TypeMethodDescriptionstatic LocationPredicate.BuilderLocationPredicate.Builder.createStructure(RegistryEntry<Structure> structure) LocationPredicate.Builder.structure(RegistryEntryList<Structure> structure) -
Uses of Structure in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type StructureModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<Structure>> RegistryKeys.STRUCTURE -
Uses of Structure in net.minecraft.registry.tag
Fields in net.minecraft.registry.tag 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.registry.tag that return types with arguments of type Structure -
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 intLocateCommand.executeLocateStructure(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<Structure> predicate) static intPlaceCommand.executePlaceStructure(ServerCommandSource source, RegistryEntry.Reference<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.structureThe field for thestructurerecord 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 thestructurerecord component.Method parameters in net.minecraft.structure with type arguments of type StructureModifier and TypeMethodDescriptionstatic StructureSet.WeightedEntryStructureSet.createEntry(RegistryEntry<Structure> structure) static StructureSet.WeightedEntryStructureSet.createEntry(RegistryEntry<Structure> structure, int weight) 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.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, RegistryEntry<MapDecorationType> decoration, 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.cachedStructuresByChunkPosprivate final Map<Structure, Long2BooleanMap> StructureLocator.generationPossibilityByStructureMethods 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 TypeMethodDescriptionvoidStructureHolder.addStructureReference(Structure structure, long reference) private StructurePresenceStructureLocator.getStructurePresence(Object2IntMap<Structure> referencesByStructure, Structure structure, boolean skipReferencedStructures) private @Nullable StructurePresenceStructureLocator.getStructurePresence(ChunkPos pos, Structure structure, boolean skipReferencedStructures, long posLong) StructureLocator.getStructurePresence(ChunkPos pos, Structure type, StructurePlacement placement, boolean skipReferencedStructures) StructureHolder.getStructureReferences(Structure structure) StructureHolder.getStructureStart(Structure structure) voidStructureLocator.incrementReferences(ChunkPos pos, Structure structure) private booleanStructureLocator.isGenerationPossible(ChunkPos pos, Structure structure) Returns whetherstructureis able to generate inpos.voidStructureHolder.setStructureStart(Structure structure, StructureStart start) Method parameters in net.minecraft.world with type arguments of type StructureModifier and TypeMethodDescriptionprivate voidStructureLocator.cache(long pos, Object2IntMap<Structure> referencesByStructure) voidStructureLocator.cache(ChunkPos pos, Map<Structure, StructureStart> structureStarts) private static Object2IntMap<Structure> StructureLocator.createMapIfEmpty(Object2IntMap<Structure> map) private StructurePresenceStructureLocator.getStructurePresence(Object2IntMap<Structure> referencesByStructure, Structure structure, boolean skipReferencedStructures) voidStructureHolder.setStructureReferences(Map<Structure, LongSet> structureReferences) private static NbtCompoundChunkSerializer.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.structureReferencesprivate final Map<Structure, StructureStart> Chunk.structureStartsMethods in net.minecraft.world.chunk that return types with arguments of type StructureModifier and TypeMethodDescriptionChunk.getStructureReferences()WrapperProtoChunk.getStructureReferences()Chunk.getStructureStarts()WrapperProtoChunk.getStructureStarts()Methods in net.minecraft.world.chunk with parameters of type StructureModifier and TypeMethodDescriptionvoidChunk.addStructureReference(Structure structure, long reference) voidWrapperProtoChunk.addStructureReference(Structure structure, long reference) Chunk.getStructureReferences(Structure structure) WrapperProtoChunk.getStructureReferences(Structure structure) Chunk.getStructureStart(Structure structure) WrapperProtoChunk.getStructureStart(Structure structure) voidChunk.setStructureStart(Structure structure, StructureStart start) voidProtoChunk.setStructureStart(Structure structure, StructureStart start) voidWrapperProtoChunk.setStructureStart(Structure structure, StructureStart start) Method parameters in net.minecraft.world.chunk with type arguments of type StructureModifier and TypeMethodDescriptionvoidChunk.setStructureReferences(Map<Structure, LongSet> structureReferences) voidWrapperProtoChunk.setStructureReferences(Map<Structure, LongSet> structureReferences) voidChunk.setStructureStarts(Map<Structure, StructureStart> structureStarts) voidWrapperProtoChunk.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 TypeMethodDescriptionvoidStructureAccessor.acceptStructureStarts(Structure structure, LongSet structureStartPositions, Consumer<StructureStart> consumer) voidStructureAccessor.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, StructurePlacement placement, boolean skipReferencedStructures) StructureAccessor.getStructureStart(ChunkSectionPos pos, Structure structure, StructureHolder holder) StructureAccessor.getStructureStarts(ChunkSectionPos sectionPos, Structure structure) Returns a list of structure starts for this chunk.voidStructureAccessor.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, Predicate<RegistryEntry<Structure>> predicate) StructureAccessor.getStructureContaining(BlockPos pos, RegistryEntryList<Structure> structures) StructureAccessor.getStructureContaining(BlockPos pos, TagKey<Structure> tag) StructureAccessor.getStructureStarts(ChunkPos pos, Predicate<Structure> predicate) -
Uses of Structure in net.minecraft.world.gen.chunk
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 intChunkGenerator.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 @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.chunk.placement
Fields in net.minecraft.world.gen.chunk.placement with type parameters of type StructureModifier and TypeFieldDescriptionprivate final Map<Structure, List<StructurePlacement>> StructurePlacementCalculator.structuresToPlacementsMethod parameters in net.minecraft.world.gen.chunk.placement with type arguments of type StructureModifier and TypeMethodDescriptionStructurePlacementCalculator.getPlacements(RegistryEntry<Structure> structureEntry) -
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 TypeClassDescriptionclassclassclassclassclassfinal classclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.gen.structure with type parameters of type StructureModifier and TypeFieldDescriptionstatic final RegistryKey<Structure> StructureKeys.ANCIENT_CITYstatic final RegistryKey<Structure> StructureKeys.BASTION_REMNANTstatic final RegistryKey<Structure> StructureKeys.BURIED_TREASUREstatic final RegistryKey<Structure> StructureKeys.DESERT_PYRAMIDstatic final RegistryKey<Structure> StructureKeys.END_CITYstatic final com.mojang.serialization.Codec<RegistryEntry<Structure>> Structure.ENTRY_CODECstatic final RegistryKey<Structure> StructureKeys.FORTRESSstatic final RegistryKey<Structure> StructureKeys.IGLOOstatic final RegistryKey<Structure> StructureKeys.JUNGLE_PYRAMIDstatic final RegistryKey<Structure> StructureKeys.MANSIONstatic final RegistryKey<Structure> StructureKeys.MINESHAFTstatic final RegistryKey<Structure> StructureKeys.MINESHAFT_MESAstatic final RegistryKey<Structure> StructureKeys.MONUMENTstatic final RegistryKey<Structure> StructureKeys.NETHER_FOSSILstatic final RegistryKey<Structure> StructureKeys.OCEAN_RUIN_COLDstatic final RegistryKey<Structure> StructureKeys.OCEAN_RUIN_WARMstatic final RegistryKey<Structure> StructureKeys.PILLAGER_OUTPOSTstatic final RegistryKey<Structure> StructureKeys.RUINED_PORTALstatic final RegistryKey<Structure> StructureKeys.RUINED_PORTAL_DESERTstatic final RegistryKey<Structure> StructureKeys.RUINED_PORTAL_JUNGLEstatic final RegistryKey<Structure> StructureKeys.RUINED_PORTAL_MOUNTAINstatic final RegistryKey<Structure> StructureKeys.RUINED_PORTAL_NETHERstatic final RegistryKey<Structure> StructureKeys.RUINED_PORTAL_OCEANstatic final RegistryKey<Structure> StructureKeys.RUINED_PORTAL_SWAMPstatic final RegistryKey<Structure> StructureKeys.SHIPWRECKstatic final RegistryKey<Structure> StructureKeys.SHIPWRECK_BEACHEDstatic final RegistryKey<Structure> StructureKeys.STRONGHOLDstatic final com.mojang.serialization.Codec<Structure> Structure.STRUCTURE_CODECstatic final RegistryKey<Structure> StructureKeys.SWAMP_HUTstatic final RegistryKey<Structure> StructureKeys.TRAIL_RUINSstatic final RegistryKey<Structure> StructureKeys.TRIAL_CHAMBERSstatic final RegistryKey<Structure> StructureKeys.VILLAGE_DESERTstatic final RegistryKey<Structure> StructureKeys.VILLAGE_PLAINSstatic final RegistryKey<Structure> StructureKeys.VILLAGE_SAVANNAstatic final RegistryKey<Structure> StructureKeys.VILLAGE_SNOWYstatic final RegistryKey<Structure> StructureKeys.VILLAGE_TAIGAMethods 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.MapCodec<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 StructureMethod parameters in net.minecraft.world.gen.structure with type arguments of type StructureModifier and TypeMethodDescriptionstatic voidStructures.bootstrap(Registerable<Structure> structureRegisterable)