Uses of Class
net.minecraft.world.gen.feature.StructureFeature
-
Uses of StructureFeature in net.minecraft.client.gui.screen
Method parameters in net.minecraft.client.gui.screen with type arguments of type StructureFeature Modifier and Type Method Description private static voidPresetsScreen. addPreset(Text presetName, ItemConvertible icon, RegistryKey<Biome> presetBiome, List<StructureFeature<?>> structures, boolean generateStronghold, boolean generateFeatures, boolean generateLakes, FlatChunkGeneratorLayer[] layers) -
Uses of StructureFeature in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as StructureFeature Modifier and Type Field Description static StructureFeature<?>ExplorationMapLootFunction. DEFAULT_DESTINATIONprivate StructureFeature<?>ExplorationMapLootFunction.Builder. destinationprivate StructureFeature<?>ExplorationMapLootFunction. destinationMethods in net.minecraft.loot.function that return StructureFeature Modifier and Type Method Description private static StructureFeature<?>ExplorationMapLootFunction.Serializer. getDestination(JsonObject json)Methods in net.minecraft.loot.function with parameters of type StructureFeature Modifier and Type Method Description ExplorationMapLootFunction.BuilderExplorationMapLootFunction.Builder. withDestination(StructureFeature<?> destination)Constructors in net.minecraft.loot.function with parameters of type StructureFeature Constructor Description ExplorationMapLootFunction(LootCondition[] conditions, StructureFeature<?> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) -
Uses of StructureFeature in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity declared as StructureFeature Modifier and Type Field Description private @Nullable StructureFeature<?>LocationPredicate.Builder. featureprivate @Nullable StructureFeature<?>LocationPredicate. featureMethods in net.minecraft.predicate.entity with parameters of type StructureFeature Modifier and Type Method Description static LocationPredicateLocationPredicate. feature(StructureFeature<?> feature)LocationPredicate.BuilderLocationPredicate.Builder. method_35277(@Nullable StructureFeature<?> structureFeature)Constructors in net.minecraft.predicate.entity with parameters of type StructureFeature Constructor Description LocationPredicate(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z, @Nullable RegistryKey<Biome> biome, @Nullable StructureFeature<?> feature, @Nullable RegistryKey<World> dimension, @Nullable Boolean smokey, LightPredicate light, BlockPredicate block, FluidPredicate fluid) -
Uses of StructureFeature in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type StructureFeature Modifier and Type Method Description private static intLocateCommand. execute(ServerCommandSource source, StructureFeature<?> structure) -
Uses of StructureFeature in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type StructureFeature Modifier and Type Method Description Stream<? extends StructureStart<?>>ServerWorld. getStructures(ChunkSectionPos pos, StructureFeature<?> feature)@Nullable BlockPosServerWorld. locateStructure(StructureFeature<?> feature, BlockPos pos, int radius, boolean skipExistingChunks) -
Uses of StructureFeature in net.minecraft.structure
Fields in net.minecraft.structure declared as StructureFeature Modifier and Type Field Description private StructureFeature<C>StructureStart. featureMethods in net.minecraft.structure that return StructureFeature Modifier and Type Method Description StructureFeature<?>StructureStart. getFeature()Constructors in net.minecraft.structure with parameters of type StructureFeature Constructor Description MarginedStructureStart(StructureFeature<C> feature, ChunkPos pos, int references, long seed)StructureStart(StructureFeature<C> feature, ChunkPos pos, int references, long seed) -
Uses of StructureFeature in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type StructureFeature Modifier and Type Field Description static Registry<StructureFeature<?>>Registry. STRUCTURE_FEATUREstatic RegistryKey<Registry<StructureFeature<?>>>Registry. STRUCTURE_FEATURE_KEY -
Uses of StructureFeature in net.minecraft.village
Fields in net.minecraft.village declared as StructureFeature Modifier and Type Field Description private StructureFeature<?>TradeOffers.SellMapFactory. structureConstructors in net.minecraft.village with parameters of type StructureFeature Constructor Description SellMapFactory(int price, StructureFeature<?> feature, MapIcon.Type iconType, int maxUses, int experience) -
Uses of StructureFeature in net.minecraft.world
Methods in net.minecraft.world that return types with arguments of type StructureFeature Modifier and Type Method Description Map<StructureFeature<?>,LongSet>StructureHolder. getStructureReferences()private static Map<StructureFeature<?>,LongSet>ChunkSerializer. readStructureReferences(ChunkPos pos, NbtCompound nbt)private static Map<StructureFeature<?>,StructureStart<?>>ChunkSerializer. readStructureStarts(ServerWorld serverWorld, NbtCompound nbt, long worldSeed)Methods in net.minecraft.world with parameters of type StructureFeature Modifier and Type Method Description voidStructureHolder. addStructureReference(StructureFeature<?> structure, long reference)LongSetStructureHolder. getStructureReferences(StructureFeature<?> structure)Stream<? extends StructureStart<?>>ChunkRegion. getStructures(ChunkSectionPos pos, StructureFeature<?> feature)Stream<? extends StructureStart<?>>StructureWorldAccess. getStructures(ChunkSectionPos pos, StructureFeature<?> feature)@Nullable StructureStart<?>StructureHolder. getStructureStart(StructureFeature<?> structure)voidStructureHolder. setStructureStart(StructureFeature<?> structure, StructureStart<?> start)Method parameters in net.minecraft.world with type arguments of type StructureFeature Modifier and Type Method Description voidStructureHolder. setStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)private static NbtCompoundChunkSerializer. writeStructures(ServerWorld serverWorld, ChunkPos chunkPos, Map<StructureFeature<?>,StructureStart<?>> map, Map<StructureFeature<?>,LongSet> map2) -
Uses of StructureFeature in net.minecraft.world.biome
Fields in net.minecraft.world.biome with type parameters of type StructureFeature Modifier and Type Field Description private Map<Integer,List<StructureFeature<?>>>Biome. structuresMethods in net.minecraft.world.biome with parameters of type StructureFeature Modifier and Type Method Description booleanGenerationSettings. hasStructureFeature(StructureFeature<?> structureFeature) -
Uses of StructureFeature in net.minecraft.world.biome.source
Fields in net.minecraft.world.biome.source with type parameters of type StructureFeature Modifier and Type Field Description protected Map<StructureFeature<?>,Boolean>BiomeSource. structureFeaturesMethods in net.minecraft.world.biome.source with parameters of type StructureFeature Modifier and Type Method Description booleanBiomeSource. hasStructureFeature(StructureFeature<?> feature) -
Uses of StructureFeature in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type StructureFeature Modifier and Type Field Description private Map<StructureFeature<?>,LongSet>ProtoChunk. structureReferencesprivate Map<StructureFeature<?>,LongSet>WorldChunk. structureReferencesprivate Map<StructureFeature<?>,StructureStart<?>>ProtoChunk. structureStartsprivate Map<StructureFeature<?>,StructureStart<?>>WorldChunk. structureStartsMethods in net.minecraft.world.chunk that return types with arguments of type StructureFeature Modifier and Type Method Description Map<StructureFeature<?>,LongSet>ProtoChunk. getStructureReferences()Map<StructureFeature<?>,LongSet>ReadOnlyChunk. getStructureReferences()Map<StructureFeature<?>,LongSet>WorldChunk. getStructureReferences()Map<StructureFeature<?>,StructureStart<?>>Chunk. getStructureStarts()Map<StructureFeature<?>,StructureStart<?>>ProtoChunk. getStructureStarts()Map<StructureFeature<?>,StructureStart<?>>ReadOnlyChunk. getStructureStarts()Map<StructureFeature<?>,StructureStart<?>>WorldChunk. getStructureStarts()Method parameters in net.minecraft.world.chunk with type arguments of type StructureFeature Modifier and Type Method Description voidProtoChunk. setStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)voidReadOnlyChunk. setStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)voidWorldChunk. setStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)voidChunk. setStructureStarts(Map<StructureFeature<?>,StructureStart<?>> structureStarts)voidProtoChunk. setStructureStarts(Map<StructureFeature<?>,StructureStart<?>> structureStarts)voidReadOnlyChunk. setStructureStarts(Map<StructureFeature<?>,StructureStart<?>> structureStarts)voidWorldChunk. setStructureStarts(Map<StructureFeature<?>,StructureStart<?>> structureStarts) -
Uses of StructureFeature in net.minecraft.world.gen
Methods in net.minecraft.world.gen with parameters of type StructureFeature Modifier and Type Method Description voidStructureAccessor. addStructureReference(ChunkSectionPos pos, StructureFeature<?> feature, long reference, StructureHolder holder)StructureStart<?>StructureAccessor. getStructureAt(BlockPos pos, boolean matchChildren, StructureFeature<?> feature)@Nullable StructureStart<?>StructureAccessor. getStructureStart(ChunkSectionPos pos, StructureFeature<?> feature, StructureHolder holder)Stream<? extends StructureStart<?>>StructureAccessor. getStructuresWithChildren(ChunkSectionPos pos, StructureFeature<?> feature)voidStructureAccessor. setStructureStart(ChunkSectionPos pos, StructureFeature<?> feature, StructureStart<?> structureStart, StructureHolder holder) -
Uses of StructureFeature in net.minecraft.world.gen.chunk
Fields in net.minecraft.world.gen.chunk with type parameters of type StructureFeature Modifier and Type Field Description static ImmutableMap<StructureFeature<?>,StructureConfig>StructuresConfig. DEFAULT_STRUCTURESDefault placement settings for each known structure type.private static Map<StructureFeature<?>,ConfiguredStructureFeature<?,?>>FlatChunkGeneratorConfig. STRUCTURE_TO_FEATURESprivate Map<StructureFeature<?>,StructureConfig>StructuresConfig. structuresMethods in net.minecraft.world.gen.chunk that return types with arguments of type StructureFeature Modifier and Type Method Description Map<StructureFeature<?>,StructureConfig>StructuresConfig. getStructures()Methods in net.minecraft.world.gen.chunk with parameters of type StructureFeature Modifier and Type Method Description @Nullable StructureConfigStructuresConfig. getForType(StructureFeature<?> structureType)Gets the placement configuration for a specific structure type, or a default placement if placement for the structure was not explicitly configured.@Nullable BlockPosChunkGenerator. locateStructure(ServerWorld world, StructureFeature<?> feature, BlockPos center, int radius, boolean skipExistingChunks)Tries to find the closest structure of a given type near a given block.Constructor parameters in net.minecraft.world.gen.chunk with type arguments of type StructureFeature Constructor Description StructuresConfig(Optional<StrongholdConfig> stronghold, Map<StructureFeature<?>,StructureConfig> structures) -
Uses of StructureFeature in net.minecraft.world.gen.feature
Classes in net.minecraft.world.gen.feature with type parameters of type StructureFeature Modifier and Type Class Description classConfiguredStructureFeature<FC extends FeatureConfig,F extends StructureFeature<FC>>Subclasses of StructureFeature in net.minecraft.world.gen.feature Modifier and Type Class Description classBastionRemnantFeatureclassBuriedTreasureFeatureclassDesertPyramidFeatureclassEndCityFeatureclassIglooFeatureclassJigsawFeatureclassJungleTempleFeatureclassMineshaftFeatureclassNetherFortressFeatureclassNetherFossilFeatureclassOceanMonumentFeatureclassOceanRuinFeatureclassPillagerOutpostFeatureclassRuinedPortalFeatureclassShipwreckFeatureclassStrongholdFeatureclassSwampHutFeatureclassVillageFeatureclassWoodlandMansionFeatureMethods in net.minecraft.world.gen.feature with type parameters of type StructureFeature Modifier and Type Method Description private static <FC extends FeatureConfig, F extends StructureFeature<FC>>
ConfiguredStructureFeature<FC,F>ConfiguredStructureFeatures. register(String id, ConfiguredStructureFeature<FC,F> configuredStructureFeature)private static <F extends StructureFeature<?>>
FStructureFeature. register(String name, F structureFeature, GenerationStep.Feature step)Methods in net.minecraft.world.gen.feature that return types with arguments of type StructureFeature Modifier and Type Method Description ConfiguredStructureFeature<C,? extends StructureFeature<C>>StructureFeature. configure(C config)com.mojang.serialization.Codec<ConfiguredStructureFeature<C,StructureFeature<C>>>StructureFeature. getCodec()Methods in net.minecraft.world.gen.feature with parameters of type StructureFeature Modifier and Type Method Description StructureStart<C>StructureFeature.StructureStartFactory. create(StructureFeature<C> feature, ChunkPos pos, int int2, long long2)