net.minecraft.world.level.levelgen.feature

public class RuinedPortalFeature

extends StructureFeature<RuinedPortalConfiguration>

cys
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
private static final String[]
a
STRUCTURE_LOCATION_PORTALS
field_23999
COMMON_PORTAL_STRUCTURE_IDS
f_66664_
private static final String[]
u
STRUCTURE_LOCATION_GIANT_PORTALS
field_23998
RARE_PORTAL_STRUCTURE_IDS
f_66665_
private static final float
v
PROBABILITY_OF_GIANT_PORTAL
field_31512
field_31512
f_160264_
private static final float
w
PROBABILITY_OF_AIR_POCKET
field_31513
field_31513
f_160265_
private static final float
x
PROBABILITY_OF_UNDERGROUND
field_31514
field_31514
f_160266_
private static final float
y
UNDERWATER_MOSSINESS
field_31508
field_31508
f_160260_
private static final float
z
JUNGLE_MOSSINESS
field_31509
field_31509
f_160261_
private static final float
A
SWAMP_MOSSINESS
field_31510
field_31510
f_160262_
private static final int
B
MIN_Y_INDEX
field_31511
field_31511
f_191079_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static Optional<PieceGenerator<RuinedPortalConfiguration>>
a(dfx$a<dau> arg0)
pieceGeneratorSupplier(PieceGeneratorSupplier$Context<RuinedPortalConfiguration> arg0)
method_38684(class_6834$class_6835<class_5187> arg0)
addPieces(StructureGeneratorFactory$Context<RuinedPortalFeatureConfig> context)
m_197152_(C_196114_$C_196115_<C_2358_> p_197153_)
private static boolean
a(gj arg0, gs<cbr> arg1)
isCold(BlockPos arg0, Holder<Biome> arg1)
method_27209(class_2338 arg0, class_6880<class_1959> arg1)
isColdAt(BlockPos pos, RegistryEntry<Biome> biome)
m_204763_(C_4675_ p_204764_, C_203228_<C_1629_> p_204765_)
private static int
a(Random arg0, cqr arg1, dfg$b arg2, boolean arg3, int arg4, int arg5, deo arg6, cax 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_)