Uses of Class
net.minecraft.world.gen.feature.StructureFeature
Package
Description
-
Uses of StructureFeature in net.minecraft.client.gui.screen
Modifier and TypeMethodDescriptionprivate 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
Modifier and TypeFieldDescriptionstatic StructureFeature<?>
ExplorationMapLootFunction.DEFAULT_DESTINATION
private StructureFeature<?>
ExplorationMapLootFunction.Builder.destination
(package private) StructureFeature<?>
ExplorationMapLootFunction.destination
Modifier and TypeMethodDescriptionprivate static StructureFeature<?>
ExplorationMapLootFunction.Serializer.getDestination(JsonObject json)
Modifier and TypeMethodDescriptionExplorationMapLootFunction.Builder.withDestination(StructureFeature<?> destination)
ModifierConstructorDescription(package private)
ExplorationMapLootFunction(LootCondition[] lootCondition, StructureFeature<?> structureFeature, MapIcon.Type type, byte byte2, int int2, boolean bool)
-
Uses of StructureFeature in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate @Nullable StructureFeature<?>
LocationPredicate.Builder.feature
private @Nullable StructureFeature<?>
LocationPredicate.feature
Modifier and TypeMethodDescriptionLocationPredicate.Builder.feature(@Nullable StructureFeature<?> feature)
static LocationPredicate
LocationPredicate.feature(StructureFeature<?> feature)
ModifierConstructorDescriptionLocationPredicate(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
Modifier and TypeMethodDescriptionprivate static int
LocateCommand.execute(ServerCommandSource source, StructureFeature<?> structure)
-
Uses of StructureFeature in net.minecraft.server.world
Modifier and TypeMethodDescriptionStream<? extends StructureStart<?>>
ServerWorld.getStructures(ChunkSectionPos pos, StructureFeature<?> feature)
ServerWorld.locateStructure(StructureFeature<?> feature, BlockPos pos, int radius, boolean skipExistingChunks)
-
Uses of StructureFeature in net.minecraft.structure
ModifierConstructorDescriptionMarginedStructureStart(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
Modifier and TypeFieldDescriptionstatic Registry<StructureFeature<?>>
Registry.STRUCTURE_FEATURE
static RegistryKey<Registry<StructureFeature<?>>>
Registry.STRUCTURE_FEATURE_KEY
-
Uses of StructureFeature in net.minecraft.village
Modifier and TypeFieldDescriptionprivate StructureFeature<?>
TradeOffers.SellMapFactory.structure
ModifierConstructorDescriptionSellMapFactory(int price, StructureFeature<?> feature, MapIcon.Type iconType, int maxUses, int experience)
-
Uses of StructureFeature in net.minecraft.world
Modifier and TypeMethodDescriptionMap<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)
Modifier and TypeMethodDescriptionvoid
StructureHolder.addStructureReference(StructureFeature<?> structure, long reference)
StructureHolder.getStructureReferences(StructureFeature<?> structure)
Stream<? extends StructureStart<?>>
ChunkRegion.getStructures(ChunkSectionPos pos, StructureFeature<?> feature)
Stream<? extends StructureStart<?>>
StructureWorldAccess.getStructures(ChunkSectionPos pos, StructureFeature<?> feature)
StructureHolder.getStructureStart(StructureFeature<?> structure)
void
StructureHolder.setStructureStart(StructureFeature<?> structure, StructureStart<?> start)
Modifier and TypeMethodDescriptionvoid
StructureHolder.setStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)
private static NbtCompound
ChunkSerializer.writeStructures(ServerWorld world, ChunkPos chunkPos, Map<StructureFeature<?>,StructureStart<?>> map, Map<StructureFeature<?>,LongSet> map2)
-
Uses of StructureFeature in net.minecraft.world.biome
Modifier and TypeFieldDescriptionprivate Map<Integer,List<StructureFeature<?>>>
Biome.structures
Modifier and TypeMethodDescriptionboolean
GenerationSettings.hasStructureFeature(StructureFeature<?> structureFeature)
-
Uses of StructureFeature in net.minecraft.world.biome.source
Modifier and TypeFieldDescriptionprotected Map<StructureFeature<?>,Boolean>
BiomeSource.structureFeatures
Modifier and TypeMethodDescriptionboolean
BiomeSource.hasStructureFeature(StructureFeature<?> feature)
-
Uses of StructureFeature in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate Map<StructureFeature<?>,LongSet>
ProtoChunk.structureReferences
private Map<StructureFeature<?>,LongSet>
WorldChunk.structureReferences
private Map<StructureFeature<?>,StructureStart<?>>
ProtoChunk.structureStarts
private Map<StructureFeature<?>,StructureStart<?>>
WorldChunk.structureStarts
Modifier and TypeMethodDescriptionMap<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()
Modifier and TypeMethodDescriptionvoid
ProtoChunk.addStructureReference(StructureFeature<?> structure, long reference)
void
ReadOnlyChunk.addStructureReference(StructureFeature<?> structure, long reference)
void
WorldChunk.addStructureReference(StructureFeature<?> structure, long reference)
ProtoChunk.getStructureReferences(StructureFeature<?> structure)
ReadOnlyChunk.getStructureReferences(StructureFeature<?> structure)
WorldChunk.getStructureReferences(StructureFeature<?> structure)
ProtoChunk.getStructureStart(StructureFeature<?> structure)
ReadOnlyChunk.getStructureStart(StructureFeature<?> structure)
WorldChunk.getStructureStart(StructureFeature<?> structure)
void
ProtoChunk.setStructureStart(StructureFeature<?> structure, StructureStart<?> start)
void
ReadOnlyChunk.setStructureStart(StructureFeature<?> structure, StructureStart<?> start)
void
WorldChunk.setStructureStart(StructureFeature<?> structure, StructureStart<?> start)
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionvoid
StructureAccessor.addStructureReference(ChunkSectionPos pos, StructureFeature<?> feature, long reference, StructureHolder holder)
StructureAccessor.getStructureAt(BlockPos pos, boolean matchChildren, StructureFeature<?> feature)
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
Modifier and TypeFieldDescriptionstatic 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
Modifier and TypeMethodDescriptionStructuresConfig.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.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.ModifierConstructorDescriptionStructuresConfig(Optional<StrongholdConfig> stronghold, Map<StructureFeature<?>,StructureConfig> structures)
-
Uses of StructureFeature in net.minecraft.world.gen.feature
Modifier and TypeClassDescriptionclass
ConfiguredStructureFeature<FC extends FeatureConfig,F extends StructureFeature<FC>>
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionStructureFeature.BASTION_REMNANT
static StructureFeature<ProbabilityConfig>
StructureFeature.BURIED_TREASURE
static StructureFeature<DefaultFeatureConfig>
StructureFeature.DESERT_PYRAMID
static StructureFeature<DefaultFeatureConfig>
StructureFeature.END_CITY
ConfiguredStructureFeature.feature
static StructureFeature<DefaultFeatureConfig>
StructureFeature.FORTRESS
static StructureFeature<DefaultFeatureConfig>
StructureFeature.IGLOO
static StructureFeature<DefaultFeatureConfig>
StructureFeature.JUNGLE_PYRAMID
static StructureFeature<DefaultFeatureConfig>
StructureFeature.MANSION
StructureFeature.MINESHAFT
static StructureFeature<DefaultFeatureConfig>
StructureFeature.MONUMENT
static StructureFeature<RangeDecoratorConfig>
StructureFeature.NETHER_FOSSIL
StructureFeature.OCEAN_RUIN
StructureFeature.PILLAGER_OUTPOST
StructureFeature.RUINED_PORTAL
StructureFeature.SHIPWRECK
static StructureFeature<DefaultFeatureConfig>
StructureFeature.STRONGHOLD
StructureFeature.VILLAGE
Modifier and TypeFieldDescriptionstatic ConfiguredStructureFeature<StructurePoolFeatureConfig,? extends StructureFeature<StructurePoolFeatureConfig>>
ConfiguredStructureFeatures.BASTION_REMNANT
static ConfiguredStructureFeature<ProbabilityConfig,? extends StructureFeature<ProbabilityConfig>>
ConfiguredStructureFeatures.BURIED_TREASURE
private com.mojang.serialization.Codec<ConfiguredStructureFeature<C,StructureFeature<C>>>
StructureFeature.codec
static ConfiguredStructureFeature<DefaultFeatureConfig,? extends StructureFeature<DefaultFeatureConfig>>
ConfiguredStructureFeatures.DESERT_PYRAMID
static ConfiguredStructureFeature<DefaultFeatureConfig,? extends StructureFeature<DefaultFeatureConfig>>
ConfiguredStructureFeatures.END_CITY
static ConfiguredStructureFeature<DefaultFeatureConfig,? extends StructureFeature<DefaultFeatureConfig>>
ConfiguredStructureFeatures.FORTRESS
static ConfiguredStructureFeature<DefaultFeatureConfig,? extends StructureFeature<DefaultFeatureConfig>>
ConfiguredStructureFeatures.IGLOO
static List<StructureFeature<?>>
StructureFeature.JIGSAW_STRUCTURES
static ConfiguredStructureFeature<DefaultFeatureConfig,? extends StructureFeature<DefaultFeatureConfig>>
ConfiguredStructureFeatures.JUNGLE_PYRAMID
static ConfiguredStructureFeature<DefaultFeatureConfig,? extends StructureFeature<DefaultFeatureConfig>>
ConfiguredStructureFeatures.MANSION
static ConfiguredStructureFeature<MineshaftFeatureConfig,? extends StructureFeature<MineshaftFeatureConfig>>
ConfiguredStructureFeatures.MINESHAFT
static ConfiguredStructureFeature<MineshaftFeatureConfig,? extends StructureFeature<MineshaftFeatureConfig>>
ConfiguredStructureFeatures.MINESHAFT_MESA
static ConfiguredStructureFeature<DefaultFeatureConfig,? extends StructureFeature<DefaultFeatureConfig>>
ConfiguredStructureFeatures.MONUMENT
static ConfiguredStructureFeature<RangeDecoratorConfig,? extends StructureFeature<RangeDecoratorConfig>>
ConfiguredStructureFeatures.NETHER_FOSSIL
static ConfiguredStructureFeature<OceanRuinFeatureConfig,? extends StructureFeature<OceanRuinFeatureConfig>>
ConfiguredStructureFeatures.OCEAN_RUIN_COLD
static ConfiguredStructureFeature<OceanRuinFeatureConfig,? extends StructureFeature<OceanRuinFeatureConfig>>
ConfiguredStructureFeatures.OCEAN_RUIN_WARM
static ConfiguredStructureFeature<StructurePoolFeatureConfig,? extends StructureFeature<StructurePoolFeatureConfig>>
ConfiguredStructureFeatures.PILLAGER_OUTPOST
static ConfiguredStructureFeature<RuinedPortalFeatureConfig,? extends StructureFeature<RuinedPortalFeatureConfig>>
ConfiguredStructureFeatures.RUINED_PORTAL
static ConfiguredStructureFeature<RuinedPortalFeatureConfig,? extends StructureFeature<RuinedPortalFeatureConfig>>
ConfiguredStructureFeatures.RUINED_PORTAL_DESERT
static ConfiguredStructureFeature<RuinedPortalFeatureConfig,? extends StructureFeature<RuinedPortalFeatureConfig>>
ConfiguredStructureFeatures.RUINED_PORTAL_JUNGLE
static ConfiguredStructureFeature<RuinedPortalFeatureConfig,? extends StructureFeature<RuinedPortalFeatureConfig>>
ConfiguredStructureFeatures.RUINED_PORTAL_MOUNTAIN
static ConfiguredStructureFeature<RuinedPortalFeatureConfig,? extends StructureFeature<RuinedPortalFeatureConfig>>
ConfiguredStructureFeatures.RUINED_PORTAL_NETHER
static ConfiguredStructureFeature<RuinedPortalFeatureConfig,? extends StructureFeature<RuinedPortalFeatureConfig>>
ConfiguredStructureFeatures.RUINED_PORTAL_OCEAN
static ConfiguredStructureFeature<RuinedPortalFeatureConfig,? extends StructureFeature<RuinedPortalFeatureConfig>>
ConfiguredStructureFeatures.RUINED_PORTAL_SWAMP
static ConfiguredStructureFeature<ShipwreckFeatureConfig,? extends StructureFeature<ShipwreckFeatureConfig>>
ConfiguredStructureFeatures.SHIPWRECK
static ConfiguredStructureFeature<ShipwreckFeatureConfig,? extends StructureFeature<ShipwreckFeatureConfig>>
ConfiguredStructureFeatures.SHIPWRECK_BEACHED
static ConfiguredStructureFeature<DefaultFeatureConfig,? extends StructureFeature<DefaultFeatureConfig>>
ConfiguredStructureFeatures.STRONGHOLD
private static Map<StructureFeature<?>,GenerationStep.Feature>
StructureFeature.STRUCTURE_TO_GENERATION_STEP
static BiMap<String,StructureFeature<?>>
StructureFeature.STRUCTURES
static ConfiguredStructureFeature<DefaultFeatureConfig,? extends StructureFeature<DefaultFeatureConfig>>
ConfiguredStructureFeatures.SWAMP_HUT
static ConfiguredStructureFeature<StructurePoolFeatureConfig,? extends StructureFeature<StructurePoolFeatureConfig>>
ConfiguredStructureFeatures.VILLAGE_DESERT
static ConfiguredStructureFeature<StructurePoolFeatureConfig,? extends StructureFeature<StructurePoolFeatureConfig>>
ConfiguredStructureFeatures.VILLAGE_PLAINS
static ConfiguredStructureFeature<StructurePoolFeatureConfig,? extends StructureFeature<StructurePoolFeatureConfig>>
ConfiguredStructureFeatures.VILLAGE_SAVANNA
static ConfiguredStructureFeature<StructurePoolFeatureConfig,? extends StructureFeature<StructurePoolFeatureConfig>>
ConfiguredStructureFeatures.VILLAGE_SNOWY
static ConfiguredStructureFeature<StructurePoolFeatureConfig,? extends StructureFeature<StructurePoolFeatureConfig>>
ConfiguredStructureFeatures.VILLAGE_TAIGA
Modifier and TypeMethodDescriptionprivate 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)
Modifier and TypeMethodDescriptionConfiguredStructureFeature<C,? extends StructureFeature<C>>
com.mojang.serialization.Codec<ConfiguredStructureFeature<C,StructureFeature<C>>>
StructureFeature.getCodec()
Modifier and TypeMethodDescriptionStructureFeature.StructureStartFactory.create(StructureFeature<C> feature, ChunkPos pos, int int2, long long2)
ModifierConstructorDescriptionStart(StructureFeature<ProbabilityConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<MineshaftFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<RangeDecoratorConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<OceanRuinFeatureConfig> feature, ChunkPos pos, int references, long seed)
protected
Start(StructureFeature<RuinedPortalFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<ShipwreckFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)