Package net.minecraft.world.gen.feature
Class RuinedPortalFeature
java.lang.Object
net.minecraft.world.gen.feature.StructureFeature<RuinedPortalFeatureConfig>
net.minecraft.world.gen.feature.RuinedPortalFeature
- Mappings:
Namespace Name official cys
intermediary net/minecraft/class_5183
named net/minecraft/world/gen/feature/RuinedPortalFeature
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String[]
private static final float
private static final float
private static final float
private static final int
private static final float
private static final float
private static final float
private static final String[]
Fields inherited from class net.minecraft.world.gen.feature.StructureFeature
BASTION_REMNANT, BURIED_TREASURE, DESERT_PYRAMID, ENDCITY, field_31518, FORTRESS, IGLOO, JUNGLE_PYRAMID, MANSION, MINESHAFT, MONUMENT, NETHER_FOSSIL, OCEAN_RUIN, PILLAGER_OUTPOST, RUINED_PORTAL, SHIPWRECK, STRONGHOLD, SWAMP_HUT, VILLAGE
-
Constructor Summary
ConstructorDescriptionRuinedPortalFeature
(com.mojang.serialization.Codec<RuinedPortalFeatureConfig> configCodec) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Optional<StructurePiecesGenerator<RuinedPortalFeatureConfig>>
private 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) private static boolean
isColdAt
(BlockPos pos, RegistryEntry<Biome> biome) Methods inherited from class net.minecraft.world.gen.feature.StructureFeature
canGenerate, configure, configure, configure, configure, getCodec, getGenerationStep, getLocatedPos, getPostProcessor, init, method_41138, readStructureStart
-
Field Details
-
COMMON_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector official a
Lcys;a:[Ljava/lang/String;
intermediary field_23999
Lnet/minecraft/class_5183;field_23999:[Ljava/lang/String;
named COMMON_PORTAL_STRUCTURE_IDS
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;COMMON_PORTAL_STRUCTURE_IDS:[Ljava/lang/String;
-
RARE_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector official u
Lcys;u:[Ljava/lang/String;
intermediary field_23998
Lnet/minecraft/class_5183;field_23998:[Ljava/lang/String;
named RARE_PORTAL_STRUCTURE_IDS
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;RARE_PORTAL_STRUCTURE_IDS:[Ljava/lang/String;
-
field_31512
private static final float field_31512- See Also:
- Mappings:
Namespace Name Mixin selector official v
Lcys;v:F
intermediary field_31512
Lnet/minecraft/class_5183;field_31512:F
named field_31512
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;field_31512:F
-
field_31513
private static final float field_31513- See Also:
- Mappings:
Namespace Name Mixin selector official w
Lcys;w:F
intermediary field_31513
Lnet/minecraft/class_5183;field_31513:F
named field_31513
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;field_31513:F
-
field_31514
private static final float field_31514- See Also:
- Mappings:
Namespace Name Mixin selector official x
Lcys;x:F
intermediary field_31514
Lnet/minecraft/class_5183;field_31514:F
named field_31514
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;field_31514:F
-
field_31508
private static final float field_31508- See Also:
- Mappings:
Namespace Name Mixin selector official y
Lcys;y:F
intermediary field_31508
Lnet/minecraft/class_5183;field_31508:F
named field_31508
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;field_31508:F
-
field_31509
private static final float field_31509- See Also:
- Mappings:
Namespace Name Mixin selector official z
Lcys;z:F
intermediary field_31509
Lnet/minecraft/class_5183;field_31509:F
named field_31509
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;field_31509:F
-
field_31510
private static final float field_31510- See Also:
- Mappings:
Namespace Name Mixin selector official A
Lcys;A:F
intermediary field_31510
Lnet/minecraft/class_5183;field_31510:F
named field_31510
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;field_31510:F
-
field_31511
private static final int field_31511- See Also:
- Mappings:
Namespace Name Mixin selector official B
Lcys;B:I
intermediary field_31511
Lnet/minecraft/class_5183;field_31511:I
named field_31511
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;field_31511:I
-
-
Constructor Details
-
RuinedPortalFeature
- Mappings:
Namespace Name Mixin selector official <init>
Lcys;<init>(Lcom/mojang/serialization/Codec;)V
intermediary <init>
Lnet/minecraft/class_5183;<init>(Lcom/mojang/serialization/Codec;)V
named <init>
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
addPieces
private static Optional<StructurePiecesGenerator<RuinedPortalFeatureConfig>> addPieces(StructureGeneratorFactory.Context<RuinedPortalFeatureConfig> context) - Mappings:
Namespace Name Mixin selector official a
Lcys;a(Ldfx$a;)Ljava/util/Optional;
intermediary method_38684
Lnet/minecraft/class_5183;method_38684(Lnet/minecraft/class_6834$class_6835;)Ljava/util/Optional;
named addPieces
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;addPieces(Lnet/minecraft/structure/StructureGeneratorFactory$Context;)Ljava/util/Optional;
-
isColdAt
- Mappings:
Namespace Name Mixin selector official a
Lcys;a(Lgj;Lgs;)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/feature/RuinedPortalFeature;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) - Mappings:
Namespace Name Mixin selector official a
Lcys;a(Ljava/util/Random;Lcqr;Ldfg$b;ZIILdeo;Lcax;)I
intermediary method_27211
Lnet/minecraft/class_5183;method_27211(Ljava/util/Random;Lnet/minecraft/class_2794;Lnet/minecraft/class_5189$class_5191;ZIILnet/minecraft/class_3341;Lnet/minecraft/class_5539;)I
named getFloorHeight
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;getFloorHeight(Ljava/util/Random;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;ZIILnet/minecraft/util/math/BlockBox;Lnet/minecraft/world/HeightLimitView;)I
-
choosePlacementHeight
- Mappings:
Namespace Name Mixin selector official a
Lcys;a(Ljava/util/Random;II)I
intermediary method_27210
Lnet/minecraft/class_5183;method_27210(Ljava/util/Random;II)I
named choosePlacementHeight
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;choosePlacementHeight(Ljava/util/Random;II)I
-