Class RuinedPortalStructure
java.lang.Object
net.minecraft.world.gen.structure.StructureType
net.minecraft.world.gen.structure.RuinedPortalStructure
- Mappings:
Namespace Name official dmk
intermediary net/minecraft/class_5183
named net/minecraft/world/gen/structure/RuinedPortalStructure
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.structure.StructureType
StructureType.Config, StructureType.Context, StructureType.StructurePosition
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<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.StructureType
config, ENTRY_CODEC, STRUCTURE_TYPE_CODEC
-
Constructor Summary
ConstructorDescriptionRuinedPortalStructure
(StructureType.Config config, List<RuinedPortalStructure.Setup> setups) RuinedPortalStructure
(StructureType.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) getType()
private static boolean
isColdAt
(BlockPos pos, RegistryEntry<Biome> biome) private static boolean
method_41682
(ChunkRandom chunkRandom, float float2) Methods inherited from class net.minecraft.world.gen.structure.StructureType
configCodecBuilder, createCodec, createStructureStart, expandBoxIfShouldAdaptNoise, getFeatureGenerationStep, getMinCornerHeight, getMinCornerHeight, getShiftedPos, getStructurePosition, getStructureSpawns, getTerrainAdaptation, getValidBiomes, postPlace
-
Field Details
-
COMMON_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector official e
Ldmk;e:[Ljava/lang/String;
intermediary field_23999
Lnet/minecraft/class_5183;field_23999:[Ljava/lang/String;
named COMMON_PORTAL_STRUCTURE_IDS
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;COMMON_PORTAL_STRUCTURE_IDS:[Ljava/lang/String;
-
RARE_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector official f
Ldmk;f:[Ljava/lang/String;
intermediary field_23998
Lnet/minecraft/class_5183;field_23998:[Ljava/lang/String;
named RARE_PORTAL_STRUCTURE_IDS
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;RARE_PORTAL_STRUCTURE_IDS:[Ljava/lang/String;
-
field_31512
private static final float field_31512- See Also:
- Mappings:
Namespace Name Mixin selector official g
Ldmk;g:F
intermediary field_31512
Lnet/minecraft/class_5183;field_31512:F
named field_31512
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;field_31512:F
-
field_31511
private static final int field_31511- See Also:
- Mappings:
Namespace Name Mixin selector official h
Ldmk;h:I
intermediary field_31511
Lnet/minecraft/class_5183;field_31511:I
named field_31511
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;field_31511:I
-
CODEC
- Mappings:
Namespace Name Mixin selector official d
Ldmk;d:Lcom/mojang/serialization/Codec;
intermediary field_37812
Lnet/minecraft/class_5183;field_37812:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;CODEC:Lcom/mojang/serialization/Codec;
-
setups
- Mappings:
Namespace Name Mixin selector official i
Ldmk;i:Ljava/util/List;
intermediary field_37813
Lnet/minecraft/class_5183;field_37813:Ljava/util/List;
named setups
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;setups:Ljava/util/List;
-
-
Constructor Details
-
RuinedPortalStructure
- Mappings:
Namespace Name Mixin selector official <init>
Ldmk;<init>(Ldkd$c;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_5183;<init>(Lnet/minecraft/class_3195$class_7302;Ljava/util/List;)V
named <init>
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;<init>(Lnet/minecraft/world/gen/structure/StructureType$Config;Ljava/util/List;)V
-
RuinedPortalStructure
- Mappings:
Namespace Name Mixin selector official <init>
Ldmk;<init>(Ldkd$c;Ldmk$a;)V
intermediary <init>
Lnet/minecraft/class_5183;<init>(Lnet/minecraft/class_3195$class_7302;Lnet/minecraft/class_5183$class_7155;)V
named <init>
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;<init>(Lnet/minecraft/world/gen/structure/StructureType$Config;Lnet/minecraft/world/gen/structure/RuinedPortalStructure$Setup;)V
-
-
Method Details
-
getStructurePosition
public Optional<StructureType.StructurePosition> getStructurePosition(StructureType.Context context) - Specified by:
getStructurePosition
in classStructureType
- Mappings:
Namespace Name Mixin selector official a
Ldkd;a(Ldkd$a;)Ljava/util/Optional;
intermediary method_38676
Lnet/minecraft/class_3195;method_38676(Lnet/minecraft/class_3195$class_7149;)Ljava/util/Optional;
named getStructurePosition
Lnet/minecraft/world/gen/structure/StructureType;getStructurePosition(Lnet/minecraft/world/gen/structure/StructureType$Context;)Ljava/util/Optional;
-
method_41682
- Mappings:
Namespace Name Mixin selector official a
Ldmk;a(Ldaq;F)Z
intermediary method_41682
Lnet/minecraft/class_5183;method_41682(Lnet/minecraft/class_2919;F)Z
named method_41682
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;method_41682(Lnet/minecraft/util/math/random/ChunkRandom;F)Z
-
isColdAt
- Mappings:
Namespace Name Mixin selector official a
Ldmk;a(Lgt;Lhc;)Z
intermediary method_27209
Lnet/minecraft/class_5183;method_27209(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)Z
named isColdAt
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;isColdAt(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/registry/RegistryEntry;)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 official a
Ldmk;a(Lalu;Lcwn;Ldmj$b;ZIILdjv;Lcgc;Ldah;)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
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
-
choosePlacementHeight
- Mappings:
Namespace Name Mixin selector official a
Ldmk;a(Lalu;II)I
intermediary method_27210
Lnet/minecraft/class_5183;method_27210(Lnet/minecraft/class_5819;II)I
named choosePlacementHeight
Lnet/minecraft/world/gen/structure/RuinedPortalStructure;choosePlacementHeight(Lnet/minecraft/util/math/random/Random;II)I
-
getType
- Specified by:
getType
in classStructureType
- Mappings:
Namespace Name Mixin selector official e
Ldkd;e()Ldkm;
intermediary method_41618
Lnet/minecraft/class_3195;method_41618()Lnet/minecraft/class_7151;
named getType
Lnet/minecraft/world/gen/structure/StructureType;getType()Lnet/minecraft/structure/StructureType;
-