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

public class RuinedPortalStructure

extends Structure

eqz
net.minecraft.world.level.levelgen.structure.structures.RuinedPortalStructure
net.minecraft.class_5183
net.minecraft.world.gen.structure.RuinedPortalStructure
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
private static final String[]
f
STRUCTURE_LOCATION_GIANT_PORTALS
field_23998
RARE_PORTAL_STRUCTURE_IDS
private static final float
g
PROBABILITY_OF_GIANT_PORTAL
field_31512
RARE_PORTAL_CHANCE
private static final int
h
MIN_Y_INDEX
field_31511
MIN_BLOCKS_ABOVE_WORLD_BOTTOM
private final List<RuinedPortalStructure$Setup>
i
setups
field_37813
setups
public static final com.mojang.serialization.MapCodec<RuinedPortalStructure>
d
CODEC
field_37812
CODEC

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(eok$a arg0)
findGenerationPoint(Structure$GenerationContext arg0)
method_38676(class_3195$class_7149 arg0)
getStructurePosition(Structure$Context arg0)
private static boolean
a(eep arg0, float arg1)
sample(WorldgenRandom arg0, float arg1)
method_41682(class_2919 arg0, float arg1)
shouldPlaceAirPocket(ChunkRandom random, float probability)
private static boolean
a(jh arg0, jq<dik> arg1, int arg2)
isCold(BlockPos arg0, Holder<Biome> arg1, int arg2)
method_27209(class_2338 arg0, class_6880<class_1959> arg1, int arg2)
isColdAt(BlockPos pos, RegistryEntry<Biome> biome, int seaLevel)
private static int
a(bam arg0, dzr arg1, eqy$b arg2, boolean arg3, int arg4, int arg5, eoc arg6, dhk arg7, eee 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)
private static int
a(bam 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)
public StructureType<?>
e()
type()
method_41618()
getType()