net.minecraft.world.level.levelgen.feature

public abstract class StructureFeature<C extends FeatureConfiguration>

cuc
net.minecraft.world.level.levelgen.feature.StructureFeature
net.minecraft.class_3195
net.minecraft.world.gen.feature.StructureFeature
net.minecraft.src.C_2304_
net.minecraft.world.level.levelgen.feature.StructureGenerator

Field summary

Modifier and TypeField
public static final com.google.common.collect.BiMap<String, StructureFeature<?>>
a
STRUCTURES_REGISTRY
field_24842
STRUCTURES
f_67012_
private static final Map<StructureFeature<?>, GenerationStep$Decoration>
v
STEP
field_24862
STRUCTURE_TO_GENERATION_STEP
f_67032_
private static final org.apache.logging.log4j.Logger
w
LOGGER
field_13879
LOGGER
f_67033_
public static final StructureFeature<JigsawConfiguration>
b
PILLAGER_OUTPOST
field_24843
PILLAGER_OUTPOST
f_67013_
public static final StructureFeature<MineshaftConfiguration>
c
MINESHAFT
field_24844
MINESHAFT
f_67014_
public static final StructureFeature<NoneFeatureConfiguration>
d
WOODLAND_MANSION
field_24845
MANSION
f_67015_
public static final StructureFeature<NoneFeatureConfiguration>
e
JUNGLE_TEMPLE
field_24846
JUNGLE_PYRAMID
f_67016_
public static final StructureFeature<NoneFeatureConfiguration>
f
DESERT_PYRAMID
field_24847
DESERT_PYRAMID
f_67017_
public static final StructureFeature<NoneFeatureConfiguration>
g
IGLOO
field_24848
IGLOO
f_67018_
public static final StructureFeature<RuinedPortalConfiguration>
h
RUINED_PORTAL
field_24849
RUINED_PORTAL
f_67019_
public static final StructureFeature<ShipwreckConfiguration>
i
SHIPWRECK
field_24850
SHIPWRECK
f_67020_
public static final SwamplandHutFeature
j
SWAMP_HUT
field_24851
SWAMP_HUT
f_67021_
public static final StructureFeature<NoneFeatureConfiguration>
k
STRONGHOLD
field_24852
STRONGHOLD
f_67022_
public static final StructureFeature<NoneFeatureConfiguration>
l
OCEAN_MONUMENT
field_24853
MONUMENT
f_67023_
public static final StructureFeature<OceanRuinConfiguration>
m
OCEAN_RUIN
field_24854
OCEAN_RUIN
f_67024_
public static final StructureFeature<NoneFeatureConfiguration>
n
NETHER_BRIDGE
field_24855
FORTRESS
f_67025_
public static final StructureFeature<NoneFeatureConfiguration>
o
END_CITY
field_24856
END_CITY
f_67026_
public static final StructureFeature<ProbabilityFeatureConfiguration>
p
BURIED_TREASURE
field_24857
BURIED_TREASURE
f_67027_
public static final StructureFeature<JigsawConfiguration>
q
VILLAGE
field_24858
VILLAGE
f_67028_
public static final StructureFeature<RangeDecoratorConfiguration>
r
NETHER_FOSSIL
field_24859
NETHER_FOSSIL
f_67029_
public static final StructureFeature<JigsawConfiguration>
s
BASTION_REMNANT
field_24860
BASTION_REMNANT
f_67030_
public static final List<StructureFeature<?>>
t
NOISE_AFFECTING_FEATURES
field_24861
JIGSAW_STRUCTURES
f_67031_
private static final ResourceLocation
x
JIGSAW_RENAME
field_26362
JIGSAW_ID
f_67034_
private static final Map<ResourceLocation, ResourceLocation>
y
RENAMES
field_25839
field_25839
f_67035_
public static final int
u
MAX_STRUCTURE_RANGE
field_31518
field_31518
f_160446_
private final com.mojang.serialization.Codec<ConfiguredStructureFeature<C, StructureFeature<C>>>
z
configuredStructureCodec
field_24863
codec
f_67036_

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<C> codec)

Method summary

Modifier and TypeMethod
private static <F extends StructureFeature<?>> F
a(String arg0, F arg1, cpo$b arg2)
register(String arg0, F arg1, GenerationStep$Decoration arg2)
method_28661(String arg0, F arg1, class_2893$class_2895 arg2)
register(String name, F structureFeature, GenerationStep$Feature step)
m_67089_(String p_67090_, F p_67091_, C_2187_$C_2189_ p_67092_)
public GenerationStep$Decoration
d()
step()
method_28663()
getGenerationStep()
m_67095_()
public static void
e()
bootstrap()
method_28664()
init()
m_67096_()
public static StructureStart<?>
a(abr arg0, na arg1, long arg2)
loadStaticStart(ServerLevel arg0, CompoundTag arg1, long arg2)
method_28660(class_3218 arg0, class_2487 arg1, long arg2)
readStructureStart(ServerWorld world, NbtCompound nbt, long worldSeed)
m_160447_(C_12_ p_160448_, C_4917_ p_160449_, long p_160450_)
public com.mojang.serialization.Codec<ConfiguredStructureFeature<C, StructureFeature<C>>>
f()
configuredStructureCodec()
method_28665()
getCodec()
m_67097_()
public ConfiguredStructureFeature<C, ? extends StructureFeature<C>>
a(C arg0)
configured(C arg0)
method_28659(C arg0)
configure(C config)
m_67065_(C arg0)
public BlockPos
a(bws arg0, bxg arg1, gg arg2, int arg3, boolean arg4, long arg5, cwl arg6)
getNearestGeneratedFeature(LevelReader arg0, StructureFeatureManager arg1, BlockPos arg2, int arg3, boolean arg4, long arg5, StructureFeatureConfiguration arg6)
method_14015(class_4538 arg0, class_5138 arg1, class_2338 arg2, int arg3, boolean arg4, long arg5, class_5314 arg6)
locateStructure(WorldView world, StructureAccessor structureAccessor, BlockPos searchStartPos, int searchRadius, boolean skipExistingChunks, long worldSeed, StructureConfig config)
m_67046_(C_1599_ p_67048_, C_1621_ p_67049_, C_4675_ p_67050_, int p_67051_, boolean p_67052_, long p_67053_, C_2365_ arg6)
getNearestGeneratedFeature(IWorldReader arg0, StructureManager arg1, BlockPosition arg2, int arg3, boolean arg4, long arg5, StructureSettingsFeature arg6)
protected boolean
b()
linearSeparation()
method_27219()
isUniformDistribution()
m_5910_()
public final ChunkPos
a(cwl arg0, long arg1, cqm arg2, int arg3, int arg4)
getPotentialFeatureChunk(StructureFeatureConfiguration arg0, long arg1, WorldgenRandom arg2, int arg3, int arg4)
method_27218(class_5314 arg0, long arg1, class_2919 arg2, int arg3, int arg4)
getStartChunk(StructureConfig config, long worldSeed, ChunkRandom placementRandom, int chunkX, int chunkY)
m_67067_(C_2365_ p_67069_, long p_67070_, C_2202_ p_67072_, int arg3, int arg4)
protected boolean
a(cmn arg0, bxr arg1, long arg2, cqm arg3, bvu arg4, bxo arg5, bvu arg6, C arg7, bwr arg8)
isFeatureChunk(ChunkGenerator arg0, BiomeSource arg1, long arg2, WorldgenRandom arg3, ChunkPos arg4, Biome arg5, ChunkPos arg6, C arg7, LevelHeightAccessor arg8)
method_14026(class_2794 arg0, class_1966 arg1, long arg2, class_2919 arg3, class_1923 arg4, class_1959 arg5, class_1923 arg6, C arg7, class_5539 arg8)
shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long worldSeed, ChunkRandom random, ChunkPos pos, Biome arg5, ChunkPos arg6, C config, HeightLimitView world)
m_142290_(C_2118_ p_160456_, C_1644_ p_160457_, long p_160458_, C_2202_ p_160460_, C_1560_ p_160461_, C_1629_ p_160462_, C_1560_ p_160463_, C arg7, C_141183_ arg8)
private StructureStart<C>
a(bvu arg0, int arg1, long arg2)
createStart(ChunkPos arg0, int arg1, long arg2)
method_28656(class_1923 arg0, int arg1, long arg2)
createStart(ChunkPos pos, int arg1, long arg2)
m_160451_(C_1560_ p_160453_, int p_160454_, long arg2)
public StructureStart<?>
a(gx arg0, cmn arg1, bxr arg2, dcp arg3, long arg4, bvu arg5, bxo arg6, int arg7, cqm arg8, cwl arg9, C arg10, bwr arg11)
generate(RegistryAccess arg0, ChunkGenerator arg1, BiomeSource arg2, StructureManager arg3, long arg4, ChunkPos arg5, Biome arg6, int arg7, WorldgenRandom arg8, StructureFeatureConfiguration arg9, C arg10, LevelHeightAccessor arg11)
method_28657(class_5455 arg0, class_2794 arg1, class_1966 arg2, class_3485 arg3, long arg4, class_1923 arg5, class_1959 arg6, int arg7, class_2919 arg8, class_5314 arg9, C arg10, class_5539 arg11)
tryPlaceStart(DynamicRegistryManager arg0, ChunkGenerator generator, BiomeSource biomeSource, StructureManager manager, long worldSeed, ChunkPos pos, Biome biome, int referenceCount, ChunkRandom random, StructureConfig structureConfig, C config, HeightLimitView world)
m_160464_(C_4706_ p_160466_, C_2118_ p_160467_, C_1644_ p_160468_, C_2627_ p_160469_, long p_160470_, C_1560_ p_160472_, C_1629_ p_160473_, int p_160474_, C_2202_ p_160475_, C_2365_ p_160476_, C arg10, C_141183_ arg11)
public abstract StructureFeature$StructureStartFactory<C>
a()
getStartFactory()
method_14016()
getStructureStartFactory()
m_6258_()
public String
g()
getFeatureName()
method_14019()
getName()
m_67098_()
public WeightedRandomList<MobSpawnSettings$SpawnerData>
c()
getSpecialEnemies()
method_13149()
getMonsterSpawns()
m_142494_()
public WeightedRandomList<MobSpawnSettings$SpawnerData>
h()
getSpecialAnimals()
method_16140()
getCreatureSpawns()
m_142498_()
public WeightedRandomList<MobSpawnSettings$SpawnerData>
i()
getSpecialUndergroundWaterAnimals()
method_36420()
getUndergroundWaterCreatureSpawns()
m_160477_()