Package net.minecraft.world.gen.feature
Class RuinedPortalFeature
java.lang.Object
net.minecraft.world.gen.feature.StructureFeature<RuinedPortalFeatureConfig>
net.minecraft.world.gen.feature.RuinedPortalFeature
public class RuinedPortalFeature extends StructureFeature<RuinedPortalFeatureConfig>
- Mappings:
Namespace Name official cpy
intermediary net/minecraft/class_5183
named net/minecraft/world/gen/feature/RuinedPortalFeature
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RuinedPortalFeature.Start
static class
RuinedPortalFeature.Type
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.StructureFeature
StructureFeature.StructureStartFactory<C extends FeatureConfig>
-
Field Summary
Fields Modifier and Type Field Description private static String[]
COMMON_PORTAL_STRUCTURE_IDS
private static String[]
RARE_PORTAL_STRUCTURE_IDS
Fields inherited from class net.minecraft.world.gen.feature.StructureFeature
BASTION_REMNANT, BURIED_TREASURE, DESERT_PYRAMID, END_CITY, FORTRESS, IGLOO, JIGSAW_STRUCTURES, JUNGLE_PYRAMID, MANSION, MINESHAFT, MONUMENT, NETHER_FOSSIL, OCEAN_RUIN, PILLAGER_OUTPOST, RUINED_PORTAL, SHIPWRECK, STRONGHOLD, STRUCTURES, SWAMP_HUT, VILLAGE
-
Constructor Summary
Constructors Constructor Description RuinedPortalFeature(com.mojang.serialization.Codec<RuinedPortalFeatureConfig> codec)
-
Method Summary
Modifier and Type Method Description private static int
choosePlacementHeight(Random random, int min, int max)
StructureFeature.StructureStartFactory<RuinedPortalFeatureConfig>
getStructureStartFactory()
private static boolean
isColdAt(BlockPos pos, Biome biome)
private static int
method_27211(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean bool, int int2, int int3, BlockBox blockBox, HeightLimitView heightLimitView)
Methods inherited from class net.minecraft.world.gen.feature.StructureFeature
configure, getCodec, getCreatureSpawns, getGenerationStep, getMonsterSpawns, getName, getStartChunk, isUniformDistribution, locateStructure, method_28664, readStructureStart, shouldStartAt, tryPlaceStart
-
Field Details
-
COMMON_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector official u
Lcpy;u:[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 v
Lcpy;v:[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;
-
-
Constructor Details
-
RuinedPortalFeature
- Mappings:
Namespace Name Mixin selector official <init>
Lcqj;<init>(Lcom/mojang/serialization/Codec;)V
intermediary <init>
Lnet/minecraft/class_3195;<init>(Lcom/mojang/serialization/Codec;)V
named <init>
Lnet/minecraft/world/gen/feature/StructureFeature;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
getStructureStartFactory
- Specified by:
getStructureStartFactory
in classStructureFeature<RuinedPortalFeatureConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcqj;a()Lcqj$a;
intermediary method_14016
Lnet/minecraft/class_3195;method_14016()Lnet/minecraft/class_3195$class_3774;
named getStructureStartFactory
Lnet/minecraft/world/gen/feature/StructureFeature;getStructureStartFactory()Lnet/minecraft/world/gen/feature/StructureFeature$StructureStartFactory;
-
isColdAt
- Mappings:
Namespace Name Mixin selector official b
Lcpy;b(Lfx;Lbuu;)Z
intermediary method_27209
Lnet/minecraft/class_5183;method_27209(Lnet/minecraft/class_2338;Lnet/minecraft/class_1959;)Z
named isColdAt
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;isColdAt(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/Biome;)Z
-
method_27211
private static int method_27211(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean bool, int int2, int int3, BlockBox blockBox, HeightLimitView heightLimitView)- Mappings:
Namespace Name Mixin selector official b
Lcpy;b(Ljava/util/Random;Lcjn;Lcxc$b;ZIILcwn;Lbtx;)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 method_27211
Lnet/minecraft/world/gen/feature/RuinedPortalFeature;method_27211(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
Lcpy;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
-