net.minecraft.world.level.levelgen.structure

public abstract class Structure

dke
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.class_3195
net.minecraft.unmapped.C_quklzgtb
net.minecraft.world.gen.structure.Structure
net.minecraft.world.gen.feature.StructureFeature
net.minecraft.src.C_213164_
net.minecraft.world.level.levelgen.structure.Structure

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Structure>
a
DIRECT_CODEC
field_37744
f_naccwevr
STRUCTURE_CODEC
DIRECT_CODEC
f_226553_
public static final com.mojang.serialization.Codec<Holder<Structure>>
b
CODEC
field_37745
f_rfftwmba
ENTRY_CODEC
CODEC
f_226554_
protected final Structure$StructureSettings
c
settings
field_38429
f_crxlpqpo
config
settings
f_226555_

Constructor summary

ModifierConstructor
protected (Structure$StructureSettings config)

Method summary

Modifier and TypeMethod
public static <S extends Structure> com.mojang.serialization.codecs.RecordCodecBuilder<S, Structure$StructureSettings>
a(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> arg0)
settingsCodec(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> arg0)
method_42697(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> arg0)
m_ksbmztmm(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> arg0)
configCodecBuilder(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> instance)
settingsCodec(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> instance)
m_226567_(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> p_226568_)
public static <S extends Structure> com.mojang.serialization.Codec<S>
a(Function<dke$c, S> arg0)
simpleCodec(Function<Structure$StructureSettings, S> arg0)
method_42699(Function<class_3195$class_7302, S> arg0)
m_ujvinxmf(Function<C_quklzgtb$C_dnbqyhbk, S> arg0)
createCodec(Function<Structure$Config, S> featureCreator)
simpleCodec(Function<StructureFeature$StructureSettings, S> arg0)
m_226607_(Function<C_213167_, S> p_226608_)
public HolderSet<Biome>
a()
biomes()
method_41607()
m_tfytmvqt()
getValidBiomes()
getBiomes()
m_226559_()
public Map<MobCategory, StructureSpawnOverride>
b()
spawnOverrides()
method_41615()
m_etbsnvzz()
getStructureSpawns()
getSpawnOverrides()
m_226612_()
public GenerationStep$Decoration
c()
step()
method_41616()
m_qlvjonmq()
getFeatureGenerationStep()
getGenerationStep()
m_226619_()
public TerrainAdjustment
d()
terrainAdaptation()
method_42701()
m_dzjzdkll()
getTerrainAdaptation()
getTerrainAdaptation()
m_226620_()
public BoundingBox
a(djw arg0)
adjustBoundingBox(BoundingBox arg0)
method_41609(class_3341 arg0)
m_dozyucdf(C_hmqypqzz arg0)
expandBoxIfShouldAdaptNoise(BlockBox box)
adjustBoundingBox(BlockBox box)
m_226569_(C_2478_ arg0)
public StructureStart
a(hn arg0, cwn arg1, cha arg2, dai arg3, dnx arg4, long arg5, cfh arg6, int arg7, cgc arg8, Predicate<hc<cgw>> arg9)
generate(RegistryAccess arg0, ChunkGenerator arg1, BiomeSource arg2, RandomState arg3, StructureTemplateManager arg4, long arg5, ChunkPos arg6, int arg7, LevelHeightAccessor arg8, Predicate<Holder<Biome>> arg9)
method_41614(class_5455 arg0, class_2794 arg1, class_1966 arg2, class_7138 arg3, class_3485 arg4, long arg5, class_1923 arg6, int arg7, class_5539 arg8, Predicate<class_6880<class_1959>> arg9)
m_egvfbazt(C_wqxmvzdq arg0, C_kgfalbim arg1, C_ajguowya arg2, C_edfiqifk arg3, C_zxhjfyir arg4, long arg5, C_ynrszrtu arg6, int arg7, C_qpninoyb arg8, Predicate<C_cjzoxshv<C_orlkpefs>> arg9)
createStructureStart(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, int references, HeightLimitView world, Predicate<RegistryEntry<Biome>> validBiomes)
generate(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, int startReferences, HeightLimitView world, Predicate<Holder<Biome>> validBiomePredicate)
m_226596_(C_4706_ p_226598_, C_2118_ p_226599_, C_1644_ p_226600_, C_213138_ p_226601_, C_213305_ p_226602_, long p_226603_, C_1560_ p_226605_, int p_226606_, C_141183_ arg8, Predicate<C_203228_<C_1629_>> arg9)
protected static Optional<Structure$GenerationStub>
a(dke$a arg0, czu$a arg1, Consumer<dkw> arg2)
onTopOfChunkCenter(Structure$GenerationContext arg0, Heightmap$Types arg1, Consumer<StructurePiecesBuilder> arg2)
method_41612(class_3195$class_7149 arg0, class_2902$class_2903 arg1, Consumer<class_6626> arg2)
m_zswgnsnz(C_quklzgtb$C_ooyswlix arg0, C_ybztoekc$C_wkdeqzbn arg1, Consumer<C_jieseoeb> arg2)
getStructurePosition(Structure$Context context, Heightmap$Type heightmap, Consumer<StructurePiecesCollector> generator)
createStubOnChunk(StructureFeature$GenerationContext context, Heightmap$Type heightmapType, Consumer<StructurePiecesCollector> generator)
m_226585_(C_213165_ p_226586_, C_2191_ p_226587_, Consumer<C_183030_> p_226588_)
private static boolean
a(dke$b arg0, cwn arg1, dai arg2, Predicate<hc<cgw>> arg3)
isValidBiome(Structure$GenerationStub arg0, ChunkGenerator arg1, RandomState arg2, Predicate<Holder<Biome>> arg3)
method_41613(class_3195$class_7150 arg0, class_2794 arg1, class_7138 arg2, Predicate<class_6880<class_1959>> arg3)
m_jlyvhzqo(C_quklzgtb$C_tbkxgvzz arg0, C_kgfalbim arg1, C_edfiqifk arg2, Predicate<C_cjzoxshv<C_orlkpefs>> arg3)
isBiomeValid(Structure$StructurePosition result, ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, Predicate<RegistryEntry<Biome>> validBiomes)
isValidBiome(StructureFeature$GenerationStub generationStub, ChunkGenerator chunkGenerator, RandomState randomState, Predicate<Holder<Biome>> validBiomePredicate)
m_226589_(C_213166_ p_226590_, C_2118_ p_226591_, C_213138_ p_226592_, Predicate<C_203228_<C_1629_>> p_226593_)
public void
a(cgs arg0, cgr arg1, cwn arg2, alu arg3, djw arg4, cfh arg5, dkt arg6)
afterPlace(WorldGenLevel arg0, StructureManager arg1, ChunkGenerator arg2, RandomSource arg3, BoundingBox arg4, ChunkPos arg5, PiecesContainer arg6)
method_38694(class_5281 arg0, class_5138 arg1, class_2794 arg2, class_5819 arg3, class_3341 arg4, class_1923 arg5, class_6624 arg6)
m_xicdrobb(C_ldkphtbr arg0, C_rhdulivw arg1, C_kgfalbim arg2, C_rlomrsco arg3, C_hmqypqzz arg4, C_ynrszrtu arg5, C_ccebncrd arg6)
postPlace(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces)
postPlace(StructureWorldAccess world, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomGenerator random, BlockBox boundingBox, ChunkPos chunkPos, StructurePiecesList children)
m_214110_(C_1625_ p_226561_, C_213086_ p_226562_, C_2118_ p_226563_, C_212974_ p_226564_, C_2478_ p_226565_, C_1560_ p_226566_, C_183028_ arg6)
private static int[]
b(dke$a arg0, int arg1, int arg2, int arg3, int arg4)
getCornerHeights(Structure$GenerationContext arg0, int arg1, int arg2, int arg3, int arg4)
method_41611(class_3195$class_7149 arg0, int arg1, int arg2, int arg3, int arg4)
m_tksnmdcg(C_quklzgtb$C_ooyswlix arg0, int arg1, int arg2, int arg3, int arg4)
getCornerHeights(Structure$Context context, int x, int width, int z, int height)
getCornerHeights(StructureFeature$GenerationContext context, int x, int width, int z, int height)
m_226613_(C_213165_ p_226614_, int p_226615_, int p_226616_, int p_226617_, int p_226618_)
protected static int
a(dke$a arg0, int arg1, int arg2)
getLowestY(Structure$GenerationContext arg0, int arg1, int arg2)
method_41610(class_3195$class_7149 arg0, int arg1, int arg2)
m_gadyyyat(C_quklzgtb$C_ooyswlix arg0, int arg1, int arg2)
getMinCornerHeight(Structure$Context context, int width, int height)
getLowestCornerHeight(StructureFeature$GenerationContext context, int chunkX, int chunkZ)
m_226572_(C_213165_ p_226573_, int p_226574_, int p_226575_)
protected static int
a(dke$a arg0, int arg1, int arg2, int arg3, int arg4)
getLowestY(Structure$GenerationContext arg0, int arg1, int arg2, int arg3, int arg4)
method_42381(class_3195$class_7149 arg0, int arg1, int arg2, int arg3, int arg4)
m_abxexbas(C_quklzgtb$C_ooyswlix arg0, int arg1, int arg2, int arg3, int arg4)
getMinCornerHeight(Structure$Context context, int x, int z, int width, int height)
getLowestCornerHeight(StructureFeature$GenerationContext context, int x, int z, int width, int height)
m_226576_(C_213165_ p_226577_, int p_226578_, int p_226579_, int p_226580_, int p_226581_)
protected BlockPos
a(dke$a arg0, coz arg1)
getLowestYIn5by5BoxOffset7Blocks(Structure$GenerationContext arg0, Rotation arg1)
method_42382(class_3195$class_7149 arg0, class_2470 arg1)
m_dxkfkbfa(C_quklzgtb$C_ooyswlix arg0, C_mboglirk arg1)
getShiftedPos(Structure$Context context, BlockRotation rotation)
getLowestPosNearChunkCenter(StructureFeature$GenerationContext context, BlockRotation rotation)
m_226582_(C_213165_ p_226584_, C_1886_ arg1)
public abstract Optional<Structure$GenerationStub>
a(dke$a arg0)
findGenerationPoint(Structure$GenerationContext arg0)
method_38676(class_3195$class_7149 arg0)
m_tgkjthyd(C_quklzgtb$C_ooyswlix arg0)
getStructurePosition(Structure$Context context)
findGenerationPos(StructureFeature$GenerationContext context)
m_214086_(C_213165_ arg0)
public abstract StructureType<?>
e()
type()
method_41618()
m_dckijrrf()
getType()
getType()
m_213658_()