Class RuinedPortalFeature


public class RuinedPortalFeature extends StructureFeature<RuinedPortalFeatureConfig>
Mappings:
Namespace Name
official cys
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 Lcys;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 u Lcys;u:[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 v Lcys;v: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 w Lcys;w: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 x Lcys;x: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 y Lcys;y: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 z Lcys;z: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 A Lcys;A: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 B Lcys;B: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> Lcys;<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 Lcys;a(Ldfx$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, RegistryEntry<Biome> biome)
      Mappings:
      Namespace Name Mixin selector
      official a Lcys;a(Lgj;Lgs;)Z
      intermediary method_27209 Lnet/minecraft/class_5183;method_27209(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)Z
      named isColdAt Lnet/minecraft/world/gen/feature/RuinedPortalFeature;isColdAt(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/registry/RegistryEntry;)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 Lcys;a(Ljava/util/Random;Lcqr;Ldfg$b;ZIILdeo;Lcax;)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 Lcys;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