Class RuinedPortalStructure
java.lang.Object
net.minecraft.world.gen.structure.Structure
net.minecraft.world.gen.structure.RuinedPortalStructure
- Mappings:
Namespace Name named net/minecraft/world/gen/structure/RuinedPortalStructure
intermediary net/minecraft/class_5183
official emb
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.structure.Structure
Structure.Config, Structure.Context, Structure.StructurePosition
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<RuinedPortalStructure> private static final String[]
private static final int
private static final float
private static final String[]
private final List
<RuinedPortalStructure.Setup> Fields inherited from class net.minecraft.world.gen.structure.Structure
config, ENTRY_CODEC, STRUCTURE_CODEC
-
Constructor Summary
ConstructorDescriptionRuinedPortalStructure
(Structure.Config config, List<RuinedPortalStructure.Setup> setups) RuinedPortalStructure
(Structure.Config config, RuinedPortalStructure.Setup setup) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
choosePlacementHeight
(Random random, int min, int max) private static int
getFloorHeight
(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world, NoiseConfig noiseConfig) getStructurePosition
(Structure.Context context) getType()
private static boolean
isColdAt
(BlockPos pos, RegistryEntry<Biome> biome) private static boolean
shouldPlaceAirPocket
(ChunkRandom random, float probability) Methods inherited from class net.minecraft.world.gen.structure.Structure
configCodecBuilder, createCodec, createStructureStart, expandBoxIfShouldAdaptNoise, getAverageCornerHeights, getFeatureGenerationStep, getMinCornerHeight, getMinCornerHeight, getShiftedPos, getStructurePosition, getStructureSpawns, getTerrainAdaptation, getValidBiomes, getValidStructurePosition, postPlace
-
Field Details
-
COMMON_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector named COMMON_PORTAL_STRUCTURE_IDS
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;COMMON_PORTAL_STRUCTURE_IDS:[Ljava/lang/String;
intermediary field_23999
Lnet/minecraft/class_5183;field_23999:[Ljava/lang/String;
official e
Lemb;e:[Ljava/lang/String;
-
RARE_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector named RARE_PORTAL_STRUCTURE_IDS
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;RARE_PORTAL_STRUCTURE_IDS:[Ljava/lang/String;
intermediary field_23998
Lnet/minecraft/class_5183;field_23998:[Ljava/lang/String;
official f
Lemb;f:[Ljava/lang/String;
-
RARE_PORTAL_CHANCE
private static final float RARE_PORTAL_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named RARE_PORTAL_CHANCE
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;RARE_PORTAL_CHANCE:F
intermediary field_31512
Lnet/minecraft/class_5183;field_31512:F
official g
Lemb;g:F
-
MIN_BLOCKS_ABOVE_WORLD_BOTTOM
private static final int MIN_BLOCKS_ABOVE_WORLD_BOTTOM- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_BLOCKS_ABOVE_WORLD_BOTTOM
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;MIN_BLOCKS_ABOVE_WORLD_BOTTOM:I
intermediary field_31511
Lnet/minecraft/class_5183;field_31511:I
official h
Lemb;h:I
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_37812
Lnet/minecraft/class_5183;field_37812:Lcom/mojang/serialization/MapCodec;
official d
Lemb;d:Lcom/mojang/serialization/MapCodec;
-
setups
- Mappings:
Namespace Name Mixin selector named setups
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;setups:Ljava/util/List;
intermediary field_37813
Lnet/minecraft/class_5183;field_37813:Ljava/util/List;
official i
Lemb;i:Ljava/util/List;
-
-
Constructor Details
-
RuinedPortalStructure
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_5183;<init>(Lnet/minecraft/class_3195$class_7302;Ljava/util/List;)V
official <init>
Lemb;<init>(Lejm$c;Ljava/util/List;)V
-
RuinedPortalStructure
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;Lnet/minecraft/world/gen/structure/RuinedPortalStructure$Setup;)V
intermediary <init>
Lnet/minecraft/class_5183;<init>(Lnet/minecraft/class_3195$class_7302;Lnet/minecraft/class_5183$class_7155;)V
official <init>
Lemb;<init>(Lejm$c;Lemb$a;)V
-
-
Method Details
-
getStructurePosition
- Specified by:
getStructurePosition
in classStructure
- Mappings:
Namespace Name Mixin selector named getStructurePosition
Lnet/minecraft/world/gen/structure/Structure;getStructurePosition(Lnet/minecraft/world/gen/structure/Structure$Context;)Ljava/util/Optional;
intermediary method_38676
Lnet/minecraft/class_3195;method_38676(Lnet/minecraft/class_3195$class_7149;)Ljava/util/Optional;
official a
Lejm;a(Lejm$a;)Ljava/util/Optional;
-
shouldPlaceAirPocket
- Mappings:
Namespace Name Mixin selector named shouldPlaceAirPocket
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;shouldPlaceAirPocket(Lnet/minecraft/util/math/random/ChunkRandom;F)Z
intermediary method_41682
Lnet/minecraft/class_5183;method_41682(Lnet/minecraft/class_2919;F)Z
official a
Lemb;a(Ldzu;F)Z
-
isColdAt
- Mappings:
Namespace Name Mixin selector named isColdAt
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;isColdAt(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;)Z
intermediary method_27209
Lnet/minecraft/class_5183;method_27209(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)Z
official a
Lemb;a(Ljd;Ljm;)Z
-
getFloorHeight
private static int getFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world, NoiseConfig noiseConfig) - Mappings:
Namespace Name Mixin selector named getFloorHeight
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;getFloorHeight(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;ZIILnet/minecraft/util/math/BlockBox;Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/world/gen/noise/NoiseConfig;)I
intermediary method_27211
Lnet/minecraft/class_5183;method_27211(Lnet/minecraft/class_5819;Lnet/minecraft/class_2794;Lnet/minecraft/class_5189$class_5191;ZIILnet/minecraft/class_3341;Lnet/minecraft/class_5539;Lnet/minecraft/class_7138;)I
official a
Lemb;a(Layv;Ldux;Lema$b;ZIILeje;Ldcw;Ldzj;)I
-
choosePlacementHeight
- Mappings:
Namespace Name Mixin selector named choosePlacementHeight
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;choosePlacementHeight(Lnet/minecraft/util/math/random/Random;II)I
intermediary method_27210
Lnet/minecraft/class_5183;method_27210(Lnet/minecraft/class_5819;II)I
official a
Lemb;a(Layv;II)I
-
getType
- Specified by:
getType
in classStructure
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/world/gen/structure/Structure;getType()Lnet/minecraft/world/gen/structure/StructureType;
intermediary method_41618
Lnet/minecraft/class_3195;method_41618()Lnet/minecraft/class_7151;
official e
Lejm;e()Lejv;
-