Uses of Class
net.minecraft.world.gen.structure.StructureType
Packages that use StructureType
Package
Description
-
Uses of StructureType in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return types with arguments of type StructureTypeModifier and TypeMethodDescriptionRegistryPredicateArgumentType.getConfiguredStructureFeaturePredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of StructureType in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type StructureTypeModifier and TypeFieldDescriptionstatic final TagKey<StructureType>ExplorationMapLootFunction.DEFAULT_DESTINATIONprivate TagKey<StructureType>ExplorationMapLootFunction.Builder.destination(package private) final TagKey<StructureType>ExplorationMapLootFunction.destinationMethods in net.minecraft.loot.function that return types with arguments of type StructureTypeModifier and TypeMethodDescriptionprivate static TagKey<StructureType>ExplorationMapLootFunction.Serializer.getDestination(JsonObject json) Method parameters in net.minecraft.loot.function with type arguments of type StructureTypeModifier and TypeMethodDescriptionExplorationMapLootFunction.Builder.withDestination(TagKey<StructureType> destination) Constructor parameters in net.minecraft.loot.function with type arguments of type StructureTypeModifierConstructorDescription(package private)ExplorationMapLootFunction(LootCondition[] conditions, TagKey<StructureType> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) -
Uses of StructureType in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type StructureTypeModifier and TypeFieldDescriptionprivate @Nullable RegistryKey<StructureType>LocationPredicate.Builder.featureprivate final @Nullable RegistryKey<StructureType>LocationPredicate.featureMethod parameters in net.minecraft.predicate.entity with type arguments of type StructureTypeModifier and TypeMethodDescriptionLocationPredicate.Builder.feature(@Nullable RegistryKey<StructureType> feature) static LocationPredicateLocationPredicate.feature(RegistryKey<StructureType> feature) -
Uses of StructureType in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type StructureTypeModifier and TypeMethodDescriptionprivate static intLocateCommand.execute(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<StructureType> structureFeature) -
Uses of StructureType in net.minecraft.server.world
Method parameters in net.minecraft.server.world with type arguments of type StructureTypeModifier and TypeMethodDescriptionServerWorld.locateStructure(TagKey<StructureType> structureTag, BlockPos pos, int radius, boolean skipExistingChunks) Tries to find the closest structure of a given type near a given block. -
Uses of StructureType in net.minecraft.structure
Classes in net.minecraft.structure with type parameters of type StructureTypeFields in net.minecraft.structure declared as StructureTypeFields in net.minecraft.structure with type parameters of type StructureTypeModifier and TypeFieldDescriptionprivate final RegistryEntry<StructureType>StructureSet.WeightedEntry.structureThe field for thestructurerecord component.Methods in net.minecraft.structure with type parameters of type StructureTypeMethods in net.minecraft.structure that return StructureTypeMethods in net.minecraft.structure that return types with arguments of type StructureTypeModifier and TypeMethodDescriptionStructureSet.WeightedEntry.structure()Returns the value of thestructurerecord component.Method parameters in net.minecraft.structure with type arguments of type StructureTypeModifier and TypeMethodDescriptionstatic StructureSet.WeightedEntryStructureSet.createEntry(RegistryEntry<StructureType> structure) static StructureSet.WeightedEntryStructureSet.createEntry(RegistryEntry<StructureType> structure, int weight) static RegistryEntry<StructureSet>StructureSets.register(RegistryKey<StructureSet> key, RegistryEntry<StructureType> configuredStructureFigure, StructurePlacement placement) Constructors in net.minecraft.structure with parameters of type StructureTypeModifierConstructorDescriptionStructureStart(StructureType feature, ChunkPos pos, int references, StructurePiecesList children) Constructor parameters in net.minecraft.structure with type arguments of type StructureTypeModifierConstructorDescriptionStructureSet(RegistryEntry<StructureType> structure, StructurePlacement placement) WeightedEntry(RegistryEntry<StructureType> registryEntry, int int2) -
Uses of StructureType in net.minecraft.tag
Fields in net.minecraft.tag with type parameters of type StructureTypeModifier and TypeFieldDescriptionstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.CATS_SPAWN_AS_BLACKstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.CATS_SPAWN_INstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.DOLPHIN_LOCATEDstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.EYE_OF_ENDER_LOCATEDstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.MINESHAFTstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.OCEAN_RUINstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.ON_OCEAN_EXPLORER_MAPSstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.ON_TREASURE_MAPSstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.ON_WOODLAND_EXPLORER_MAPSstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.RUINED_PORTALstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.SHIPWRECKstatic final TagKey<StructureType>ConfiguredStructureFeatureTags.VILLAGEMethods in net.minecraft.tag that return types with arguments of type StructureType -
Uses of StructureType in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type StructureTypeModifier and TypeFieldDescriptionstatic final Registry<StructureType>BuiltinRegistries.STRUCTUREstatic final RegistryKey<Registry<StructureType>>Registry.STRUCTURE_KEY -
Uses of StructureType in net.minecraft.village
Fields in net.minecraft.village with type parameters of type StructureTypeModifier and TypeFieldDescriptionprivate final TagKey<StructureType>TradeOffers.SellMapFactory.structureConstructor parameters in net.minecraft.village with type arguments of type StructureTypeModifierConstructorDescriptionSellMapFactory(int price, TagKey<StructureType> structure, String nameKey, MapIcon.Type iconType, int maxUses, int experience) -
Uses of StructureType in net.minecraft.world
Fields in net.minecraft.world with type parameters of type StructureTypeModifier and TypeFieldDescriptionprivate final Long2ObjectMap<Object2IntMap<StructureType>>StructureLocator.cachedFeaturesByChunkPosprivate final Registry<StructureType>StructureLocator.configuredStructureFeatureRegistryprivate final Map<StructureType,Long2BooleanMap> StructureLocator.generationPossibilityByFeatureMethods in net.minecraft.world that return types with arguments of type StructureTypeModifier and TypeMethodDescriptionprivate @Nullable Object2IntMap<StructureType>StructureLocator.collectStructuresAndReferences(NbtCompound nbt) private static Object2IntMap<StructureType>StructureLocator.createMapIfEmpty(Object2IntMap<StructureType> map) StructureHolder.getStructureReferences()private static Map<StructureType,LongSet> ChunkSerializer.readStructureReferences(DynamicRegistryManager dynamicRegistryManager, ChunkPos chunkPos, NbtCompound nbtCompound) private static Map<StructureType,StructureStart> ChunkSerializer.readStructureStarts(StructureContext context, NbtCompound nbt, long worldSeed) Methods in net.minecraft.world with parameters of type StructureTypeModifier and TypeMethodDescriptionvoidStructureHolder.addStructureReference(StructureType structureType, long reference) private StructurePresenceStructureLocator.getStructurePresence(Object2IntMap<StructureType> referencesByStructure, StructureType feature, boolean skipExistingChunk) StructureLocator.getStructurePresence(ChunkPos chunkPos, StructureType structureType, boolean skipExistingChunk) private @Nullable StructurePresenceStructureLocator.getStructurePresence(ChunkPos pos, StructureType feature, boolean skipExistingChunk, long posLong) StructureHolder.getStructureReferences(StructureType structureType) StructureHolder.getStructureStart(StructureType structureType) voidStructureLocator.incrementReferences(ChunkPos pos, StructureType feature) private booleanStructureLocator.isGenerationPossible(ChunkPos pos, StructureType feature) Returns whetherfeatureis able to generate inpos.voidStructureHolder.setStructureStart(StructureType structureType, StructureStart start) Method parameters in net.minecraft.world with type arguments of type StructureTypeModifier and TypeMethodDescriptionprivate voidStructureLocator.cache(long pos, Object2IntMap<StructureType> referencesByStructure) voidStructureLocator.cache(ChunkPos pos, Map<StructureType, StructureStart> structureStarts) private static Object2IntMap<StructureType>StructureLocator.createMapIfEmpty(Object2IntMap<StructureType> map) private StructurePresenceStructureLocator.getStructurePresence(Object2IntMap<StructureType> referencesByStructure, StructureType feature, boolean skipExistingChunk) voidStructureHolder.setStructureReferences(Map<StructureType, LongSet> structureReferences) private static NbtCompoundChunkSerializer.writeStructures(StructureContext context, ChunkPos pos, Map<StructureType, StructureStart> starts, Map<StructureType, LongSet> references) -
Uses of StructureType in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type StructureTypeModifier and TypeFieldDescriptionprivate final Map<StructureType,LongSet> Chunk.structureReferencesprivate final Map<StructureType,StructureStart> Chunk.structureStartsMethods in net.minecraft.world.chunk that return types with arguments of type StructureTypeModifier and TypeMethodDescriptionChunk.getStructureReferences()ReadOnlyChunk.getStructureReferences()Chunk.getStructureStarts()ReadOnlyChunk.getStructureStarts()Methods in net.minecraft.world.chunk with parameters of type StructureTypeModifier and TypeMethodDescriptionvoidChunk.addStructureReference(StructureType structureType, long reference) voidReadOnlyChunk.addStructureReference(StructureType structureType, long reference) Chunk.getStructureReferences(StructureType structureType) ReadOnlyChunk.getStructureReferences(StructureType structureType) Chunk.getStructureStart(StructureType structureType) ReadOnlyChunk.getStructureStart(StructureType structureType) voidChunk.setStructureStart(StructureType structureType, StructureStart start) voidProtoChunk.setStructureStart(StructureType structureType, StructureStart start) voidReadOnlyChunk.setStructureStart(StructureType structureType, StructureStart start) Method parameters in net.minecraft.world.chunk with type arguments of type StructureTypeModifier and TypeMethodDescriptionvoidChunk.setStructureReferences(Map<StructureType, LongSet> structureReferences) voidReadOnlyChunk.setStructureReferences(Map<StructureType, LongSet> structureReferences) voidChunk.setStructureStarts(Map<StructureType, StructureStart> structureStarts) voidReadOnlyChunk.setStructureStarts(Map<StructureType, StructureStart> structureStarts) -
Uses of StructureType in net.minecraft.world.gen
Methods in net.minecraft.world.gen that return types with arguments of type StructureTypeMethods in net.minecraft.world.gen with parameters of type StructureTypeModifier and TypeMethodDescriptionvoidStructureAccessor.addStructureReference(ChunkSectionPos pos, StructureType structureFeature, long reference, StructureHolder holder) StructureAccessor.getStructureAt(BlockPos pos, StructureType structureFeature) StructureAccessor.getStructureContaining(BlockPos pos, StructureType structureFeature) Returns a structure that contains the givenpos.StructureAccessor.getStructurePresence(ChunkPos chunkPos, StructureType structureType, boolean skipExistingChunk) StructureAccessor.getStructureStart(ChunkSectionPos pos, StructureType structureFeature, StructureHolder holder) StructureAccessor.getStructureStarts(ChunkSectionPos sectionPos, StructureType structureType) Returns a list of structure starts for this chunk.voidStructureAccessor.method_41032(StructureType structureType, LongSet longSet, Consumer<StructureStart> consumer) voidStructureAccessor.setStructureStart(ChunkSectionPos pos, StructureType structureFeature, StructureStart structureStart, StructureHolder holder) Method parameters in net.minecraft.world.gen with type arguments of type StructureTypeModifier and TypeMethodDescriptionStructureAccessor.getStructureContaining(BlockPos pos, TagKey<StructureType> structureFeatureTag) StructureAccessor.getStructureContaining(BlockPos pos, RegistryKey<StructureType> structureFeature) StructureAccessor.method_41035(ChunkPos chunkPos, Predicate<StructureType> predicate) -
Uses of StructureType in net.minecraft.world.gen.chunk
Fields in net.minecraft.world.gen.chunk with type parameters of type StructureTypeModifier and TypeFieldDescriptionprivate final Map<StructureType,List<StructurePlacement>> ChunkGenerator.structurePlacementsMethods in net.minecraft.world.gen.chunk that return types with arguments of type StructureTypeModifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<StructureType>> ChunkGenerator.locateStructure(ServerWorld world, RegistryEntryList<StructureType> structures, BlockPos center, int radius, boolean skipExistingChunks) Tries to find the closest structure of a given type near a given block.private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<StructureType>> ChunkGenerator.method_40146(Set<RegistryEntry<StructureType>> set, WorldView worldView, StructureAccessor structureAccessor, int int2, int int3, int int4, boolean bool, long long2, RandomSpreadStructurePlacement randomSpreadStructurePlacement) private @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<StructureType>> ChunkGenerator.method_40148(Set<RegistryEntry<StructureType>> set, ServerWorld serverWorld, StructureAccessor structureAccessor, BlockPos blockPos, boolean bool, ConcentricRingsStructurePlacement concentricRingsStructurePlacement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<StructureType>> ChunkGenerator.method_41522(Set<RegistryEntry<StructureType>> set, WorldView worldView, StructureAccessor structureAccessor, boolean bool, StructurePlacement structurePlacement, ChunkPos chunkPos) Methods in net.minecraft.world.gen.chunk with parameters of type StructureTypeModifier and TypeMethodDescriptionprivate static intChunkGenerator.getStructureReferences(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, StructureType structure) Method parameters in net.minecraft.world.gen.chunk with type arguments of type StructureTypeModifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<StructureType>> ChunkGenerator.locateStructure(ServerWorld world, RegistryEntryList<StructureType> structures, BlockPos center, int radius, boolean skipExistingChunks) Tries to find the closest structure of a given type near a given block.private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<StructureType>> ChunkGenerator.method_40146(Set<RegistryEntry<StructureType>> set, WorldView worldView, StructureAccessor structureAccessor, int int2, int int3, int int4, boolean bool, long long2, RandomSpreadStructurePlacement randomSpreadStructurePlacement) private @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<StructureType>> ChunkGenerator.method_40148(Set<RegistryEntry<StructureType>> set, ServerWorld serverWorld, StructureAccessor structureAccessor, BlockPos blockPos, boolean bool, ConcentricRingsStructurePlacement concentricRingsStructurePlacement) private List<StructurePlacement>ChunkGenerator.method_41055(RegistryEntry<StructureType> registryEntry, NoiseConfig noiseConfig) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<StructureType>> ChunkGenerator.method_41522(Set<RegistryEntry<StructureType>> set, WorldView worldView, StructureAccessor structureAccessor, boolean bool, StructurePlacement structurePlacement, ChunkPos chunkPos) -
Uses of StructureType in net.minecraft.world.gen.structure
Subclasses of StructureType in net.minecraft.world.gen.structureModifier and TypeClassDescriptionclassclassclassclassclassfinal classclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.gen.structure with type parameters of type StructureTypeModifier and TypeFieldDescriptionstatic final RegistryKey<StructureType>StructureTypeKeys.ANCIENT_CITYstatic final RegistryEntry<StructureType>StructureTypes.ANCIENT_CITYstatic final RegistryKey<StructureType>StructureTypeKeys.BASTION_REMNANTstatic final RegistryEntry<StructureType>StructureTypes.BASTION_REMNANTstatic final RegistryKey<StructureType>StructureTypeKeys.BURIED_TREASUREstatic final RegistryEntry<StructureType>StructureTypes.BURIED_TREASUREstatic final RegistryKey<StructureType>StructureTypeKeys.DESERT_PYRAMIDstatic final RegistryEntry<StructureType>StructureTypes.DESERT_PYRAMIDstatic final RegistryKey<StructureType>StructureTypeKeys.END_CITYstatic final RegistryEntry<StructureType>StructureTypes.END_CITYstatic final com.mojang.serialization.Codec<RegistryEntry<StructureType>>StructureType.ENTRY_CODECstatic final RegistryKey<StructureType>StructureTypeKeys.FORTRESSstatic final RegistryEntry<StructureType>StructureTypes.FORTRESSstatic final RegistryKey<StructureType>StructureTypeKeys.IGLOOstatic final RegistryEntry<StructureType>StructureTypes.IGLOOstatic final RegistryKey<StructureType>StructureTypeKeys.JUNGLE_PYRAMIDstatic final RegistryEntry<StructureType>StructureTypes.JUNGLE_PYRAMIDstatic final RegistryKey<StructureType>StructureTypeKeys.MANSIONstatic final RegistryEntry<StructureType>StructureTypes.MANSIONstatic final RegistryKey<StructureType>StructureTypeKeys.MINESHAFTstatic final RegistryEntry<StructureType>StructureTypes.MINESHAFTstatic final RegistryKey<StructureType>StructureTypeKeys.MINESHAFT_MESAstatic final RegistryEntry<StructureType>StructureTypes.MINESHAFT_MESAstatic final RegistryKey<StructureType>StructureTypeKeys.MONUMENTstatic final RegistryEntry<StructureType>StructureTypes.MONUMENTstatic final RegistryKey<StructureType>StructureTypeKeys.NETHER_FOSSILstatic final RegistryEntry<StructureType>StructureTypes.NETHER_FOSSILstatic final RegistryKey<StructureType>StructureTypeKeys.OCEAN_RUIN_COLDstatic final RegistryEntry<StructureType>StructureTypes.OCEAN_RUIN_COLDstatic final RegistryKey<StructureType>StructureTypeKeys.OCEAN_RUIN_WARMstatic final RegistryEntry<StructureType>StructureTypes.OCEAN_RUIN_WARMstatic final RegistryKey<StructureType>StructureTypeKeys.PILLAGER_OUTPOSTstatic final RegistryEntry<StructureType>StructureTypes.PILLAGER_OUTPOSTstatic final RegistryKey<StructureType>StructureTypeKeys.RUINED_PORTALstatic final RegistryEntry<StructureType>StructureTypes.RUINED_PORTALstatic final RegistryKey<StructureType>StructureTypeKeys.RUINED_PORTAL_DESERTstatic final RegistryEntry<StructureType>StructureTypes.RUINED_PORTAL_DESERTstatic final RegistryKey<StructureType>StructureTypeKeys.RUINED_PORTAL_JUNGLEstatic final RegistryEntry<StructureType>StructureTypes.RUINED_PORTAL_JUNGLEstatic final RegistryKey<StructureType>StructureTypeKeys.RUINED_PORTAL_MOUNTAINstatic final RegistryEntry<StructureType>StructureTypes.RUINED_PORTAL_MOUNTAINstatic final RegistryKey<StructureType>StructureTypeKeys.RUINED_PORTAL_NETHERstatic final RegistryEntry<StructureType>StructureTypes.RUINED_PORTAL_NETHERstatic final RegistryKey<StructureType>StructureTypeKeys.RUINED_PORTAL_OCEANstatic final RegistryEntry<StructureType>StructureTypes.RUINED_PORTAL_OCEANstatic final RegistryKey<StructureType>StructureTypeKeys.RUINED_PORTAL_SWAMPstatic final RegistryEntry<StructureType>StructureTypes.RUINED_PORTAL_SWAMPstatic final RegistryKey<StructureType>StructureTypeKeys.SHIPWRECKstatic final RegistryEntry<StructureType>StructureTypes.SHIPWRECKstatic final RegistryKey<StructureType>StructureTypeKeys.SHIPWRECK_BEACHEDstatic final RegistryEntry<StructureType>StructureTypes.SHIPWRECK_BEACHEDstatic final RegistryKey<StructureType>StructureTypeKeys.STRONGHOLDstatic final RegistryEntry<StructureType>StructureTypes.STRONGHOLDstatic final com.mojang.serialization.Codec<StructureType>StructureType.STRUCTURE_TYPE_CODECstatic final RegistryKey<StructureType>StructureTypeKeys.SWAMP_HUTstatic final RegistryEntry<StructureType>StructureTypes.SWAMP_HUTstatic final RegistryKey<StructureType>StructureTypeKeys.VILLAGE_DESERTstatic final RegistryEntry<StructureType>StructureTypes.VILLAGE_DESERTstatic final RegistryKey<StructureType>StructureTypeKeys.VILLAGE_PLAINSstatic final RegistryEntry<StructureType>StructureTypes.VILLAGE_PLAINSstatic final RegistryKey<StructureType>StructureTypeKeys.VILLAGE_SAVANNAstatic final RegistryEntry<StructureType>StructureTypes.VILLAGE_SAVANNAstatic final RegistryKey<StructureType>StructureTypeKeys.VILLAGE_SNOWYstatic final RegistryEntry<StructureType>StructureTypes.VILLAGE_SNOWYstatic final RegistryKey<StructureType>StructureTypeKeys.VILLAGE_TAIGAstatic final RegistryEntry<StructureType>StructureTypes.VILLAGE_TAIGAMethods in net.minecraft.world.gen.structure with type parameters of type StructureTypeModifier and TypeMethodDescriptionstatic <S extends StructureType>
com.mojang.serialization.codecs.RecordCodecBuilder<S,StructureType.Config> StructureType.configCodecBuilder(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<S> instance) static <S extends StructureType>
com.mojang.serialization.Codec<S>StructureType.createCodec(Function<StructureType.Config, S> featureCreator) Methods in net.minecraft.world.gen.structure that return types with arguments of type StructureTypeModifier and TypeMethodDescriptionstatic RegistryEntry<? extends StructureType>StructureTypes.getDefault()private static RegistryKey<StructureType>private static RegistryEntry<StructureType>StructureTypes.register(RegistryKey<StructureType> key, StructureType configuredStructureFeature) Methods in net.minecraft.world.gen.structure with parameters of type StructureTypeModifier and TypeMethodDescriptionprivate static RegistryEntry<StructureType>StructureTypes.register(RegistryKey<StructureType> key, StructureType configuredStructureFeature) Method parameters in net.minecraft.world.gen.structure with type arguments of type StructureTypeModifier and TypeMethodDescriptionprivate static RegistryEntry<StructureType>StructureTypes.register(RegistryKey<StructureType> key, StructureType configuredStructureFeature)