net.minecraft.world.level.levelgen.structure

public abstract class Structure

eok
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.class_3195
net.minecraft.world.gen.structure.Structure
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
STRUCTURE_CODEC
public static final com.mojang.serialization.Codec<Holder<Structure>>
b
CODEC
field_37745
ENTRY_CODEC
protected final Structure$StructureSettings
c
settings
field_38429
config

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)
configCodecBuilder(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> instance)
public static <S extends Structure> com.mojang.serialization.MapCodec<S>
a(Function<eok$c, S> arg0)
simpleCodec(Function<Structure$StructureSettings, S> arg0)
method_42699(Function<class_3195$class_7302, S> arg0)
createCodec(Function<Structure$Config, S> featureCreator)
public HolderSet<Biome>
a()
biomes()
method_41607()
getValidBiomes()
public Map<MobCategory, StructureSpawnOverride>
b()
spawnOverrides()
method_41615()
getStructureSpawns()
public GenerationStep$Decoration
c()
step()
method_41616()
getFeatureGenerationStep()
public TerrainAdjustment
d()
terrainAdaptation()
method_42701()
getTerrainAdaptation()
public BoundingBox
a(eoc arg0)
adjustBoundingBox(BoundingBox arg0)
method_41609(class_3341 arg0)
expandBoxIfShouldAdaptNoise(BlockBox box)
public StructureStart
a(ke arg0, dzr arg1, dio arg2, eee arg3, esn arg4, long arg5, dgo arg6, int arg7, dhk arg8, Predicate<jq<dik>> 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)
createStructureStart(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, int references, HeightLimitView world, Predicate<RegistryEntry<Biome>> validBiomes)
protected static Optional<Structure$GenerationStub>
a(eok$a arg0, edq$a arg1, Consumer<epc> 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)
getStructurePosition(Structure$Context context, Heightmap$Type heightmap, Consumer<StructurePiecesCollector> generator)
private static boolean
a(eok$b arg0, eok$a arg1)
isValidBiome(Structure$GenerationStub arg0, Structure$GenerationContext arg1)
method_41613(class_3195$class_7150 arg0, class_3195$class_7149 arg1)
isBiomeValid(Structure$StructurePosition result, Structure$Context context)
public void
a(dig arg0, die arg1, dzr arg2, bam arg3, eoc arg4, dgo arg5, eoz 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)
postPlace(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces)
private static int[]
c(eok$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)
getCornerHeights(Structure$Context context, int x, int width, int z, int height)
public static int
a(eok$a arg0, int arg1, int arg2, int arg3, int arg4)
getMeanFirstOccupiedHeight(Structure$GenerationContext arg0, int arg1, int arg2, int arg3, int arg4)
method_59863(class_3195$class_7149 arg0, int arg1, int arg2, int arg3, int arg4)
getAverageCornerHeights(Structure$Context context, int x, int width, int z, int height)
protected static int
a(eok$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)
getMinCornerHeight(Structure$Context context, int width, int height)
protected static int
b(eok$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)
getMinCornerHeight(Structure$Context context, int x, int z, int width, int height)
protected BlockPos
a(eok$a arg0, drc arg1)
getLowestYIn5by5BoxOffset7Blocks(Structure$GenerationContext arg0, Rotation arg1)
method_42382(class_3195$class_7149 arg0, class_2470 arg1)
getShiftedPos(Structure$Context context, BlockRotation rotation)
protected abstract Optional<Structure$GenerationStub>
a(eok$a arg0)
findGenerationPoint(Structure$GenerationContext arg0)
method_38676(class_3195$class_7149 arg0)
getStructurePosition(Structure$Context context)
public Optional<Structure$GenerationStub>
b(eok$a arg0)
findValidGenerationPoint(Structure$GenerationContext arg0)
method_47932(class_3195$class_7149 arg0)
getValidStructurePosition(Structure$Context context)
public abstract StructureType<?>
e()
type()
method_41618()
getType()