net.minecraft.world.level.levelgen.feature

public class StructureFeature<C extends FeatureConfiguration>

czd
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
private static final Map<StructureFeature<?>, GenerationStep$Decoration>
a
STEP
field_24862
STRUCTURE_TO_GENERATION_STEP
f_67032_
private static final org.slf4j.Logger
u
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 StructureFeature<NoneFeatureConfiguration>
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
FORTRESS
field_24855
FORTRESS
f_209756_
public static final StructureFeature<NoneFeatureConfiguration>
o
END_CITY
field_24856
ENDCITY
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<RangeConfiguration>
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 int
t
MAX_STRUCTURE_RANGE
field_31518
field_31518
f_160446_
private final com.mojang.serialization.Codec<ConfiguredStructureFeature<C, StructureFeature<C>>>
v
configuredStructureCodec
field_24863
codec
f_67036_
private final PieceGeneratorSupplier<C>
w
pieceGenerator
field_34929
piecesGenerator
f_191106_
private final PostPlacementProcessor
x
postPlacementProcessor
field_34930
postProcessor
f_191107_

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<C> configCodec, PieceGeneratorSupplier<C> piecesGenerator)
public (com.mojang.serialization.Codec<C> configCodec, PieceGeneratorSupplier<C> piecesGenerator, PostPlacementProcessor postPlacementProcessor)

Method summary

Modifier and TypeMethod
private static <F extends StructureFeature<?>> F
a(String arg0, F arg1, cts$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
a()
step()
method_28663()
getGenerationStep()
m_67095_()
public static void
b()
bootstrap()
method_28664()
init()
m_67096_()
public static StructureStart
a(dfz arg0, ok arg1, long arg2)
loadStaticStart(StructurePieceSerializationContext arg0, CompoundTag arg1, long arg2)
method_28660(class_6625 arg0, class_2487 arg1, long arg2)
readStructureStart(StructureContext context, NbtCompound nbt, long worldSeed)
m_191128_(C_183029_ p_191129_, C_4917_ p_191130_, long p_191131_)
public com.mojang.serialization.Codec<ConfiguredStructureFeature<C, StructureFeature<C>>>
c()
configuredStructureCodec()
method_28665()
getCodec()
m_67097_()
public ConfiguredStructureFeature<C, ? extends StructureFeature<C>>
a(C arg0, aif<cbr> arg1)
configured(C arg0, TagKey<Biome> arg1)
method_28659(C arg0, class_6862<class_1959> arg1)
configure(C config, TagKey<Biome> biomeTag)
m_209762_(C p_209764_, C_203208_<C_1629_> arg1)
public ConfiguredStructureFeature<C, ? extends StructureFeature<C>>
a(C arg0, aif<cbr> arg1, boolean arg2)
configured(C arg0, TagKey<Biome> arg1, boolean arg2)
method_41134(C arg0, class_6862<class_1959> arg1, boolean arg2)
configure(C config, TagKey<Biome> biomeTag, boolean arg2)
m_209769_(C p_209771_, C_203208_<C_1629_> p_209772_, boolean arg2)
public ConfiguredStructureFeature<C, ? extends StructureFeature<C>>
a(C arg0, aif<cbr> arg1, Map<ayb, dfq> arg2)
configured(C arg0, TagKey<Biome> arg1, Map<MobCategory, StructureSpawnOverride> arg2)
method_41133(C arg0, class_6862<class_1959> arg1, Map<class_1311, class_7061> arg2)
configure(C config, TagKey<Biome> biomeTag, Map<SpawnGroup, StructureSpawns> arg2)
m_209765_(C p_209767_, C_203208_<C_1629_> p_209768_, Map<C_528_, C_207025_> arg2)
public ConfiguredStructureFeature<C, ? extends StructureFeature<C>>
a(C arg0, aif<cbr> arg1, boolean arg2, Map<ayb, dfq> arg3)
configured(C arg0, TagKey<Biome> arg1, boolean arg2, Map<MobCategory, StructureSpawnOverride> arg3)
method_41135(C arg0, class_6862<class_1959> arg1, boolean arg2, Map<class_1311, class_7061> arg3)
configure(C config, TagKey<Biome> biomeTag, boolean arg2, Map<SpawnGroup, StructureSpawns> arg3)
m_209773_(C p_209775_, C_203208_<C_1629_> p_209776_, boolean p_209777_, Map<C_528_, C_207025_> arg3)
public static BlockPos
a(dge arg0, cac arg1)
getLocatePos(RandomSpreadStructurePlacement arg0, ChunkPos arg1)
method_38671(class_6872 arg0, class_1923 arg1)
getLocatedPos(RandomSpreadStructurePlacement placement, ChunkPos chunkPos)
m_204766_(C_203219_ p_204767_, C_1560_ p_204768_)
public boolean
a(hc arg0, cqr arg1, cbv arg2, dhr arg3, long arg4, cac arg5, C arg6, cax arg7, Predicate<gs<cbr>> arg8)
canGenerate(RegistryAccess arg0, ChunkGenerator arg1, BiomeSource arg2, StructureManager arg3, long arg4, ChunkPos arg5, C arg6, LevelHeightAccessor arg7, Predicate<Holder<Biome>> arg8)
method_39821(class_5455 arg0, class_2794 arg1, class_1966 arg2, class_3485 arg3, long arg4, class_1923 arg5, C arg6, class_5539 arg7, Predicate<class_6880<class_1959>> arg8)
canGenerate(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos pos, C config, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate)
m_197171_(C_4706_ p_197173_, C_2118_ p_197174_, C_1644_ p_197175_, C_2627_ p_197176_, long p_197177_, C_1560_ p_197179_, C p_197180_, C_141183_ arg7, Predicate<C_203228_<C_1629_>> arg8)
public PieceGeneratorSupplier<C>
d()
pieceGeneratorSupplier()
method_41138()
method_41138()
m_209787_()
public PostPlacementProcessor
e()
getPostPlacementProcessor()
method_38690()
getPostProcessor()
m_191144_()