Class RuinedPortalFeature


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

    • COMMON_PORTAL_STRUCTURE_IDS

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

      private static final String[] RARE_PORTAL_STRUCTURE_IDS
      Mappings:
      Namespace Name Mixin selector
      official w Lcxn;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:
      Mappings:
      Namespace Name Mixin selector
      official x Lcxn;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:
      Mappings:
      Namespace Name Mixin selector
      official y Lcxn;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:
      Mappings:
      Namespace Name Mixin selector
      official z Lcxn;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:
      Mappings:
      Namespace Name Mixin selector
      official A Lcxn;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:
      Mappings:
      Namespace Name Mixin selector
      official B Lcxn;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:
      Mappings:
      Namespace Name Mixin selector
      official C Lcxn;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:
      Mappings:
      Namespace Name Mixin selector
      official D Lcxn;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> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxn;<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 void addPieces(StructurePiecesCollector collector, RuinedPortalFeatureConfig config, StructurePiecesGenerator.Context context)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxn;a(Ldfd;Lczq;Ldfa$a;)V
      intermediary method_38684 Lnet/minecraft/class_5183;method_38684(Lnet/minecraft/class_6626;Lnet/minecraft/class_5187;Lnet/minecraft/class_6622$class_6623;)V
      named addPieces Lnet/minecraft/world/gen/feature/RuinedPortalFeature;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/world/gen/feature/RuinedPortalFeatureConfig;Lnet/minecraft/structure/StructurePiecesGenerator$Context;)V
    • isColdAt

      private static boolean isColdAt(BlockPos pos, Biome biome)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxn;a(Lgh;Lcas;)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

      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 Lcxn;a(Ljava/util/Random;Lcps;Ldeo$b;ZIILddx;Lbzy;)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 Lcxn;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