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 void
PresetsScreen. 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_DESTINATION
private StructureFeature<?>
ExplorationMapLootFunction.Builder. destination
private StructureFeature<?>
ExplorationMapLootFunction. destination
Methods 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.Builder
ExplorationMapLootFunction.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. feature
private @Nullable StructureFeature<?>
LocationPredicate. feature
Methods in net.minecraft.predicate.entity with parameters of type StructureFeature Modifier and Type Method Description static LocationPredicate
LocationPredicate. feature(StructureFeature<?> feature)
LocationPredicate.Builder
LocationPredicate.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 int
LocateCommand. 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 BlockPos
ServerWorld. 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. feature
Methods 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_FEATURE
static 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. structure
Constructors 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 void
StructureHolder. addStructureReference(StructureFeature<?> structure, long reference)
LongSet
StructureHolder. 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)
void
StructureHolder. setStructureStart(StructureFeature<?> structure, StructureStart<?> start)
Method parameters in net.minecraft.world with type arguments of type StructureFeature Modifier and Type Method Description void
StructureHolder. setStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)
private static NbtCompound
ChunkSerializer. 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. structures
Methods in net.minecraft.world.biome with parameters of type StructureFeature Modifier and Type Method Description boolean
GenerationSettings. 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. structureFeatures
Methods in net.minecraft.world.biome.source with parameters of type StructureFeature Modifier and Type Method Description boolean
BiomeSource. 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. structureReferences
private Map<StructureFeature<?>,LongSet>
WorldChunk. structureReferences
private Map<StructureFeature<?>,StructureStart<?>>
ProtoChunk. structureStarts
private Map<StructureFeature<?>,StructureStart<?>>
WorldChunk. structureStarts
Methods 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 void
ProtoChunk. setStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)
void
ReadOnlyChunk. setStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)
void
WorldChunk. setStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)
void
Chunk. setStructureStarts(Map<StructureFeature<?>,StructureStart<?>> structureStarts)
void
ProtoChunk. setStructureStarts(Map<StructureFeature<?>,StructureStart<?>> structureStarts)
void
ReadOnlyChunk. setStructureStarts(Map<StructureFeature<?>,StructureStart<?>> structureStarts)
void
WorldChunk. 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 void
StructureAccessor. 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)
void
StructureAccessor. 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_STRUCTURES
Default placement settings for each known structure type.private static Map<StructureFeature<?>,ConfiguredStructureFeature<?,?>>
FlatChunkGeneratorConfig. STRUCTURE_TO_FEATURES
private Map<StructureFeature<?>,StructureConfig>
StructuresConfig. structures
Methods 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 StructureConfig
StructuresConfig. 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 BlockPos
ChunkGenerator. 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 class
ConfiguredStructureFeature<FC extends FeatureConfig,F extends StructureFeature<FC>>
Subclasses of StructureFeature in net.minecraft.world.gen.feature Modifier and Type Class Description class
BastionRemnantFeature
class
BuriedTreasureFeature
class
DesertPyramidFeature
class
EndCityFeature
class
IglooFeature
class
JigsawFeature
class
JungleTempleFeature
class
MineshaftFeature
class
NetherFortressFeature
class
NetherFossilFeature
class
OceanMonumentFeature
class
OceanRuinFeature
class
PillagerOutpostFeature
class
RuinedPortalFeature
class
ShipwreckFeature
class
StrongholdFeature
class
SwampHutFeature
class
VillageFeature
class
WoodlandMansionFeature
Methods 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)