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

public class RuinedPortalStructure

extends Structure

ekz
net.minecraft.world.level.levelgen.structure.structures.RuinedPortalStructure
net.minecraft.class_5183
net.minecraft.unmapped.C_unuclzpi
net.minecraft.world.gen.structure.RuinedPortalStructure
net.minecraft.world.gen.feature.RuinedPortalFeature
net.minecraft.src.C_213263_
net.minecraft.world.level.levelgen.structure.structures.RuinedPortalPiece

Field summary

Modifier and TypeField
private static final String[]
e
STRUCTURE_LOCATION_PORTALS
field_23999
f_ztftvbsd
COMMON_PORTAL_STRUCTURE_IDS
PORTAL_STRUCTURE_IDS
f_229250_
private static final String[]
f
STRUCTURE_LOCATION_GIANT_PORTALS
field_23998
f_mrhshuig
RARE_PORTAL_STRUCTURE_IDS
GIANT_PORTAL_STRUCTURE_IDS
f_229251_
private static final float
g
PROBABILITY_OF_GIANT_PORTAL
field_31512
f_qaghhaed
RARE_PORTAL_CHANCE
GIANT_PORTAL_CHANCE
f_229252_
private static final int
h
MIN_Y_INDEX
field_31511
f_zvcytaey
MIN_BLOCKS_ABOVE_WORLD_BOTTOM
MIN_Y_INDEX
f_229253_
private final List<RuinedPortalStructure$Setup>
i
setups
field_37813
f_lkegdexv
setups
setups
f_229254_
public static final com.mojang.serialization.MapCodec<RuinedPortalStructure>
d
CODEC
field_37812
f_hgbeywjb
CODEC
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(eil$a arg0)
findGenerationPoint(Structure$GenerationContext arg0)
method_38676(class_3195$class_7149 arg0)
m_tgkjthyd(C_quklzgtb$C_ooyswlix arg0)
getStructurePosition(Structure$Context arg0)
findGenerationPos(StructureFeature$GenerationContext arg0)
m_214086_(C_213164_$C_213165_ arg0)
private static boolean
a(dyu arg0, float arg1)
sample(WorldgenRandom arg0, float arg1)
method_41682(class_2919 arg0, float arg1)
m_khcxvwcf(C_zorcemxg arg0, float arg1)
shouldPlaceAirPocket(ChunkRandom random, float probability)
sampleRandom(ChunkRandom random, float chance)
m_229281_(C_2202_ p_229282_, float p_229283_)
private static boolean
a(iz arg0, ji<dcy> arg1)
isCold(BlockPos arg0, Holder<Biome> arg1)
method_27209(class_2338 arg0, class_6880<class_1959> arg1)
m_zammmhkv(C_hynzadkk arg0, C_cjzoxshv<C_orlkpefs> arg1)
isColdAt(BlockPos pos, RegistryEntry<Biome> biome)
isCold(BlockPos pos, Holder<Biome> biome)
m_229300_(C_4675_ p_229301_, C_203228_<C_1629_> p_229302_)
private static int
a(azh arg0, dua arg1, eky$b arg2, boolean arg3, int arg4, int arg5, eid arg6, dcb arg7, dyj 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)
m_agnalusj(C_rlomrsco arg0, C_kgfalbim arg1, C_fdoivjea$C_rvhvhymy arg2, boolean arg3, int arg4, int arg5, C_hmqypqzz arg6, C_qpninoyb arg7, C_edfiqifk arg8)
getFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece$VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world, NoiseConfig noiseConfig)
findSuitableY(RandomGenerator random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece$VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox boundingBox, HeightLimitView world, RandomState randomState)
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(azh arg0, int arg1, int arg2)
getRandomWithinInterval(RandomSource arg0, int arg1, int arg2)
method_27210(class_5819 arg0, int arg1, int arg2)
m_bqwbriqo(C_rlomrsco arg0, int arg1, int arg2)
choosePlacementHeight(Random random, int min, int max)
getRandomInt(RandomGenerator random, int min, int max)
m_229262_(C_212974_ p_229263_, int p_229264_, int p_229265_)
public StructureType<?>
e()
type()
method_41618()
m_dckijrrf()
getType()
getType()
m_213658_()