net.minecraft.world.level.levelgen.feature

public class StructureFeature<C extends FeatureConfiguration>

cyi
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<?>>
b
STRUCTURES_REGISTRY
field_24842
STRUCTURES
f_67012_
private static final Map<StructureFeature<?>, GenerationStep$Decoration>
a
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>
c
PILLAGER_OUTPOST
field_24843
PILLAGER_OUTPOST
f_67013_
public static final StructureFeature<MineshaftConfiguration>
d
MINESHAFT
field_24844
MINESHAFT
f_67014_
public static final StructureFeature<NoneFeatureConfiguration>
e
WOODLAND_MANSION
field_24845
MANSION
f_67015_
public static final StructureFeature<NoneFeatureConfiguration>
f
JUNGLE_TEMPLE
field_24846
JUNGLE_PYRAMID
f_67016_
public static final StructureFeature<NoneFeatureConfiguration>
g
DESERT_PYRAMID
field_24847
DESERT_PYRAMID
f_67017_
public static final StructureFeature<NoneFeatureConfiguration>
h
IGLOO
field_24848
IGLOO
f_67018_
public static final StructureFeature<RuinedPortalConfiguration>
i
RUINED_PORTAL
field_24849
RUINED_PORTAL
f_67019_
public static final StructureFeature<ShipwreckConfiguration>
j
SHIPWRECK
field_24850
SHIPWRECK
f_67020_
public static final StructureFeature<NoneFeatureConfiguration>
k
SWAMP_HUT
field_24851
SWAMP_HUT
f_67021_
public static final StructureFeature<NoneFeatureConfiguration>
l
STRONGHOLD
field_24852
STRONGHOLD
f_67022_
public static final StructureFeature<NoneFeatureConfiguration>
m
OCEAN_MONUMENT
field_24853
MONUMENT
f_67023_
public static final StructureFeature<OceanRuinConfiguration>
n
OCEAN_RUIN
field_24854
OCEAN_RUIN
f_67024_
public static final StructureFeature<NoneFeatureConfiguration>
o
NETHER_BRIDGE
field_24855
FORTRESS
f_67025_
public static final StructureFeature<NoneFeatureConfiguration>
p
END_CITY
field_24856
END_CITY
f_67026_
public static final StructureFeature<ProbabilityFeatureConfiguration>
q
BURIED_TREASURE
field_24857
BURIED_TREASURE
f_67027_
public static final StructureFeature<JigsawConfiguration>
r
VILLAGE
field_24858
VILLAGE
f_67028_
public static final StructureFeature<RangeConfiguration>
s
NETHER_FOSSIL
field_24859
NETHER_FOSSIL
f_67029_
public static final StructureFeature<JigsawConfiguration>
t
BASTION_REMNANT
field_24860
BASTION_REMNANT
f_67030_
public static final List<StructureFeature<?>>
u
NOISE_AFFECTING_FEATURES
field_24861
LAND_MODIFYING_STRUCTURES
f_67031_
public static final int
v
MAX_STRUCTURE_RANGE
field_31518
field_31518
f_160446_
private final com.mojang.serialization.Codec<ConfiguredStructureFeature<C, StructureFeature<C>>>
x
configuredStructureCodec
field_24863
codec
f_67036_
private final PieceGeneratorSupplier<C>
y
pieceGenerator
field_34929
piecesGenerator
f_191106_
private final PostPlacementProcessor
z
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, csy$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
b()
step()
method_28663()
getGenerationStep()
m_67095_()
public static void
c()
bootstrap()
method_28664()
init()
m_67096_()
public static StructureStart<?>
a(dfp arg0, oc 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>>>
d()
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(bzk arg0)
getLocatePos(ChunkPos arg0)
method_38671(class_1923 arg0)
getLocatedPos(ChunkPos chunkPos)
m_183220_(C_1560_ arg0)
public BlockPos
a(cag arg0, cau arg1, gh arg2, int arg3, boolean arg4, long arg5, dah 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)
protected boolean
a()
linearSeparation()
method_27219()
isUniformDistribution()
m_5910_()
public final ChunkPos
a(dah arg0, long arg1, int arg2, int arg3)
getPotentialFeatureChunk(StructureFeatureConfiguration arg0, long arg1, int arg2, int arg3)
method_27218(class_5314 arg0, long arg1, int arg2, int arg3)
getStartChunk(StructureConfig config, long seed, int x, int z)
m_191122_(C_2365_ p_191124_, long p_191125_, int arg2, int arg3)
public StructureStart<?>
a(gy arg0, cpz arg1, cbd arg2, dgp arg3, long arg4, bzk arg5, int arg6, dah arg7, C arg8, caf arg9, Predicate<caz> arg10)
generate(RegistryAccess arg0, ChunkGenerator arg1, BiomeSource arg2, StructureManager arg3, long arg4, ChunkPos arg5, int arg6, StructureFeatureConfiguration arg7, C arg8, LevelHeightAccessor arg9, Predicate<Biome> arg10)
method_28657(class_5455 arg0, class_2794 arg1, class_1966 arg2, class_3485 arg3, long arg4, class_1923 arg5, int arg6, class_5314 arg7, C arg8, class_5539 arg9, Predicate<class_1959> arg10)
tryPlaceStart(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos pos, int structureReferences, StructureConfig structureConfig, C config, HeightLimitView world, Predicate<Biome> biomePredicate)
m_191132_(C_4706_ p_191134_, C_2118_ p_191135_, C_1644_ p_191136_, C_2627_ p_191137_, long p_191138_, C_1560_ p_191140_, int p_191141_, C_2365_ p_191142_, C p_191143_, C_141183_ arg9, Predicate<C_1629_> arg10)
public boolean
a(gy arg0, cpz arg1, cbd arg2, dgp arg3, long arg4, bzk arg5, C arg6, caf arg7, Predicate<caz> arg8)
canGenerate(RegistryAccess arg0, ChunkGenerator arg1, BiomeSource arg2, StructureManager arg3, long arg4, ChunkPos arg5, C arg6, LevelHeightAccessor arg7, Predicate<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_1959> arg8)
canGenerate(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos pos, C config, HeightLimitView world, Predicate<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_1629_> arg8)
public PostPlacementProcessor
e()
getPostPlacementProcessor()
method_38690()
getPostProcessor()
m_191144_()
public String
f()
getFeatureName()
method_14019()
getName()
m_67098_()
public BoundingBox
a(deh arg0)
adjustBoundingBox(BoundingBox arg0)
method_36217(class_3341 arg0)
calculateBoundingBox(BlockBox box)
m_183606_(C_2478_ arg0)