net.minecraft.world.level.levelgen.structure.structures

public class RuinedPortalStructure

extends Structure

dni
net.minecraft.world.level.levelgen.structure.structures.RuinedPortalStructure
net.minecraft.class_5183
net.minecraft.world.gen.structure.RuinedPortalStructure
net.minecraft.src.C_213263_
net.minecraft.world.level.levelgen.structure.structures.RuinedPortalStructure

Field summary

Modifier and TypeField
private static final String[]
e
STRUCTURE_LOCATION_PORTALS
field_23999
COMMON_PORTAL_STRUCTURE_IDS
f_229250_
private static final String[]
f
STRUCTURE_LOCATION_GIANT_PORTALS
field_23998
RARE_PORTAL_STRUCTURE_IDS
f_229251_
private static final float
g
PROBABILITY_OF_GIANT_PORTAL
field_31512
field_31512
f_229252_
private static final int
h
MIN_Y_INDEX
field_31511
field_31511
f_229253_
private final List<RuinedPortalStructure$Setup>
i
setups
field_37813
setups
f_229254_
public static final com.mojang.serialization.Codec<RuinedPortalStructure>
d
CODEC
field_37812
CODEC
f_229249_

Constructor summary

ModifierConstructor
public (Structure$StructureSettings config, List<RuinedPortalStructure$Setup> setups)
public (Structure$StructureSettings config, RuinedPortalStructure$Setup setup)

Method summary

Modifier and TypeMethod
public Optional<Structure$GenerationStub>
a(dlb$a arg0)
findGenerationPoint(Structure$GenerationContext arg0)
method_38676(class_3195$class_7149 arg0)
getStructurePosition(Structure$Context arg0)
m_214086_(C_213164_$C_213165_ arg0)
private static boolean
a(dbo arg0, float arg1)
sample(WorldgenRandom arg0, float arg1)
method_41682(class_2919 arg0, float arg1)
method_41682(ChunkRandom arg0, float arg1)
m_229281_(C_2202_ p_229282_, float p_229283_)
private static boolean
a(gt arg0, hc<cht> arg1)
isCold(BlockPos arg0, Holder<Biome> arg1)
method_27209(class_2338 arg0, class_6880<class_1959> arg1)
isColdAt(BlockPos pos, RegistryEntry<Biome> biome)
m_229300_(C_4675_ p_229301_, C_203228_<C_1629_> p_229302_)
private static int
a(amn arg0, cxk arg1, dnh$b arg2, boolean arg3, int arg4, int arg5, dkt arg6, cgz arg7, dbf arg8)
findSuitableY(RandomSource arg0, ChunkGenerator arg1, RuinedPortalPiece$VerticalPlacement arg2, boolean arg3, int arg4, int arg5, BoundingBox arg6, LevelHeightAccessor arg7, RandomState arg8)
method_27211(class_5819 arg0, class_2794 arg1, class_5189$class_5191 arg2, boolean arg3, int arg4, int arg5, class_3341 arg6, class_5539 arg7, class_7138 arg8)
getFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece$VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world, NoiseConfig noiseConfig)
m_229266_(C_212974_ p_229267_, C_2118_ p_229268_, C_213260_$C_213262_ p_229269_, boolean p_229270_, int p_229271_, int p_229272_, C_2478_ p_229273_, C_141183_ p_229274_, C_213138_ p_229275_)
private static int
a(amn arg0, int arg1, int arg2)
getRandomWithinInterval(RandomSource arg0, int arg1, int arg2)
method_27210(class_5819 arg0, int arg1, int arg2)
choosePlacementHeight(Random random, int min, int max)
m_229262_(C_212974_ p_229263_, int p_229264_, int p_229265_)
public StructureType<?>
e()
type()
method_41618()
getType()
m_213658_()