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 crpintermediary 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)private static intgetFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world)StructureFeature.StructureStartFactory<RuinedPortalFeatureConfig>getStructureStartFactory()private static booleanisColdAt(BlockPos pos, Biome biome)Methods inherited from class net.minecraft.world.gen.feature.StructureFeature
configure, getCodec, getCreatureSpawns, getGenerationStep, getMonsterSpawns, getName, getStartChunk, init, isUniformDistribution, locateStructure, readStructureStart, shouldStartAt, tryPlaceStart
-
Field Details
-
COMMON_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector official uLcrp;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 vLcrp;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>Lcsb;<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 aLcsb;a()Lcsb$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 bLcrp;b(Lfx;Lbvz;)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
-
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 bLcrp;b(Ljava/util/Random;Lcku;Lczf$b;ZIILcyp;Lbvc;)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 getFloorHeightLnet/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 aLcrp;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
-