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 cpyintermediary net/minecraft/class_5183named net/minecraft/world/gen/feature/RuinedPortalFeature
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuinedPortalFeature.Startstatic classRuinedPortalFeature.TypeNested 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_IDSprivate static String[]RARE_PORTAL_STRUCTURE_IDSFields 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 intchoosePlacementHeight(Random random, int min, int max)StructureFeature.StructureStartFactory<RuinedPortalFeatureConfig>getStructureStartFactory()private static booleanisColdAt(BlockPos pos, Biome biome)private static intmethod_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 uLcpy;u:[Ljava/lang/String;intermediary field_23999Lnet/minecraft/class_5183;field_23999:[Ljava/lang/String;named COMMON_PORTAL_STRUCTURE_IDSLnet/minecraft/world/gen/feature/RuinedPortalFeature;COMMON_PORTAL_STRUCTURE_IDS:[Ljava/lang/String;
-
RARE_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector official vLcpy;v:[Ljava/lang/String;intermediary field_23998Lnet/minecraft/class_5183;field_23998:[Ljava/lang/String;named RARE_PORTAL_STRUCTURE_IDSLnet/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;)Vintermediary <init>Lnet/minecraft/class_3195;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/feature/StructureFeature;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
getStructureStartFactory
- Specified by:
getStructureStartFactoryin classStructureFeature<RuinedPortalFeatureConfig>- Mappings:
Namespace Name Mixin selector official aLcqj;a()Lcqj$a;intermediary method_14016Lnet/minecraft/class_3195;method_14016()Lnet/minecraft/class_3195$class_3774;named getStructureStartFactoryLnet/minecraft/world/gen/feature/StructureFeature;getStructureStartFactory()Lnet/minecraft/world/gen/feature/StructureFeature$StructureStartFactory;
-
isColdAt
- Mappings:
Namespace Name Mixin selector official bLcpy;b(Lfx;Lbuu;)Zintermediary method_27209Lnet/minecraft/class_5183;method_27209(Lnet/minecraft/class_2338;Lnet/minecraft/class_1959;)Znamed isColdAtLnet/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 bLcpy;b(Ljava/util/Random;Lcjn;Lcxc$b;ZIILcwn;Lbtx;)Iintermediary method_27211Lnet/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;)Inamed method_27211Lnet/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 aLcpy;a(Ljava/util/Random;II)Iintermediary method_27210Lnet/minecraft/class_5183;method_27210(Ljava/util/Random;II)Inamed choosePlacementHeightLnet/minecraft/world/gen/feature/RuinedPortalFeature;choosePlacementHeight(Ljava/util/Random;II)I
-