Class RuinedPortalFeature


public class RuinedPortalFeature extends StructureFeature<RuinedPortalFeatureConfig>
Mappings:
Namespace Name
official ctq
intermediary net/minecraft/class_5183
named net/minecraft/world/gen/feature/RuinedPortalFeature
  • Field Details

    • COMMON_PORTAL_STRUCTURE_IDS

      static final String[] COMMON_PORTAL_STRUCTURE_IDS
      Mappings:
      Namespace Name Mixin selector
      official v Lctq;v:[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

      static final String[] RARE_PORTAL_STRUCTURE_IDS
      Mappings:
      Namespace Name Mixin selector
      official w Lctq;w:[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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official x Lctq;x: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official y Lctq;y: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official z Lctq;z: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official A Lctq;A: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official B Lctq;B: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official C Lctq;C: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official D Lctq;D: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

      public RuinedPortalFeature(com.mojang.serialization.Codec<RuinedPortalFeatureConfig> codec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcuc;<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 class StructureFeature<RuinedPortalFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lcuc;a()Lcuc$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

      static boolean isColdAt(BlockPos pos, Biome biome)
      Mappings:
      Namespace Name Mixin selector
      official a Lctq;a(Lgg;Lbxo;)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
    • getFloorHeight

      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 Lctq;a(Ljava/util/Random;Lcmn;Ldbg$b;ZIILdaq;Lbwr;)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

      private static int choosePlacementHeight(Random random, int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official a Lctq;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