Class RuinedPortalFeature


public class RuinedPortalFeature extends StructureFeature<RuinedPortalFeatureConfig>
Mappings:
Namespace Name
official cxx
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 Lcxx;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 Lcxx;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 Lcxx;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 Lcxx;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 Lcxx;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 Lcxx;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 Lcxx;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 Lcxx;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 Lcxx;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> Lcxx;<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

      Mappings:
      Namespace Name Mixin selector
      official a Lcxx;a(Ldfn$a;)Ljava/util/Optional;
      intermediary method_38684 Lnet/minecraft/class_5183;method_38684(Lnet/minecraft/class_6834$class_6835;)Ljava/util/Optional;
      named addPieces Lnet/minecraft/world/gen/feature/RuinedPortalFeature;addPieces(Lnet/minecraft/structure/StructureGeneratorFactory$Context;)Ljava/util/Optional;
    • isColdAt

      private static boolean isColdAt(BlockPos pos, Biome biome)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxx;a(Lgh;Lcaz;)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 Lcxx;a(Ljava/util/Random;Lcpz;Ldey$b;ZIILdeh;Lcaf;)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 Lcxx;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