net.minecraft.world.level.levelgen.feature

public class RuinedPortalFeature

extends StructureFeature<RuinedPortalConfiguration>

ctr
net.minecraft.world.level.levelgen.feature.RuinedPortalFeature
net.minecraft.class_5183
net.minecraft.world.gen.feature.RuinedPortalFeature
net.minecraft.src.C_2285_
net.minecraft.world.level.levelgen.feature.WorldGenFeatureRuinedPortal

Field summary

Modifier and TypeField
static final String[]
v
STRUCTURE_LOCATION_PORTALS
field_23999
COMMON_PORTAL_STRUCTURE_IDS
f_66664_
static final String[]
w
STRUCTURE_LOCATION_GIANT_PORTALS
field_23998
RARE_PORTAL_STRUCTURE_IDS
f_66665_
private static final float
x
PROBABILITY_OF_GIANT_PORTAL
field_31512
field_31512
f_160264_
private static final float
y
PROBABILITY_OF_AIR_POCKET
field_31513
field_31513
f_160265_
private static final float
z
PROBABILITY_OF_UNDERGROUND
field_31514
field_31514
f_160266_
private static final float
A
UNDERWATER_MOSSINESS
field_31508
field_31508
f_160260_
private static final float
B
JUNGLE_MOSSINESS
field_31509
field_31509
f_160261_
private static final float
C
SWAMP_MOSSINESS
field_31510
field_31510
f_160262_
private static final int
D
MIN_Y
field_31511
field_31511
f_160263_

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<RuinedPortalConfiguration> arg0)

Method summary

Modifier and TypeMethod
public StructureFeature$StructureStartFactory<RuinedPortalConfiguration>
a()
getStartFactory()
method_14016()
getStructureStartFactory()
m_6258_()
static boolean
a(gg arg0, bxp arg1)
isCold(BlockPos arg0, Biome arg1)
method_27209(class_2338 arg0, class_1959 arg1)
isColdAt(BlockPos pos, Biome biome)
m_66688_(C_4675_ p_66689_, C_1629_ p_66690_)
static int
a(Random arg0, cmo arg1, dbh$b arg2, boolean arg3, int arg4, int arg5, dar arg6, bws arg7)
findSuitableY(Random arg0, ChunkGenerator arg1, RuinedPortalPiece$VerticalPlacement arg2, boolean arg3, int arg4, int arg5, BoundingBox arg6, LevelHeightAccessor arg7)
method_27211(Random arg0, class_2794 arg1, class_5189$class_5191 arg2, boolean arg3, int arg4, int arg5, class_3341 arg6, class_5539 arg7)
getFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece$VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world)
m_160271_(Random p_160272_, C_2118_ p_160273_, C_2556_$C_2558_ p_160274_, boolean p_160275_, int p_160276_, int p_160277_, C_2478_ p_160278_, C_141183_ p_160279_)
private static int
a(Random arg0, int arg1, int arg2)
getRandomWithinInterval(Random arg0, int arg1, int arg2)
method_27210(Random arg0, int arg1, int arg2)
choosePlacementHeight(Random random, int min, int max)
m_66691_(Random p_66692_, int p_66693_, int p_66694_)