Class RuinedPortalStructurePiece


public class RuinedPortalStructurePiece extends SimpleStructurePiece
Mappings:
Namespace Name
named net/minecraft/structure/RuinedPortalStructurePiece
intermediary net/minecraft/class_5189
official ema
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/structure/RuinedPortalStructurePiece;LOGGER:Lorg/slf4j/Logger;
      intermediary field_24992 Lnet/minecraft/class_5189;field_24992:Lorg/slf4j/Logger;
      official h Lema;h:Lorg/slf4j/Logger;
    • field_31620

      private static final float field_31620
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31620 Lnet/minecraft/structure/RuinedPortalStructurePiece;field_31620:F
      intermediary field_31620 Lnet/minecraft/class_5189;field_31620:F
      official i Lema;i:F
    • field_31621

      private static final float field_31621
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31621 Lnet/minecraft/structure/RuinedPortalStructurePiece;field_31621:F
      intermediary field_31621 Lnet/minecraft/class_5189;field_31621:F
      official j Lema;j:F
    • field_31622

      private static final float field_31622
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31622 Lnet/minecraft/structure/RuinedPortalStructurePiece;field_31622:F
      intermediary field_31622 Lnet/minecraft/class_5189;field_31622:F
      official k Lema;k:F
    • verticalPlacement

      private final RuinedPortalStructurePiece.VerticalPlacement verticalPlacement
      Mappings:
      Namespace Name Mixin selector
      named verticalPlacement Lnet/minecraft/structure/RuinedPortalStructurePiece;verticalPlacement:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
      intermediary field_24021 Lnet/minecraft/class_5189;field_24021:Lnet/minecraft/class_5189$class_5191;
      official l Lema;l:Lema$b;
    • properties

      private final RuinedPortalStructurePiece.Properties properties
      Mappings:
      Namespace Name Mixin selector
      named properties Lnet/minecraft/structure/RuinedPortalStructurePiece;properties:Lnet/minecraft/structure/RuinedPortalStructurePiece$Properties;
      intermediary field_24022 Lnet/minecraft/class_5189;field_24022:Lnet/minecraft/class_5189$class_5190;
      official m Lema;m:Lema$a;
  • Constructor Details

    • RuinedPortalStructurePiece

      public RuinedPortalStructurePiece(StructureTemplateManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, StructureTemplate template, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/RuinedPortalStructurePiece;<init>(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;Lnet/minecraft/structure/RuinedPortalStructurePiece$Properties;Lnet/minecraft/util/Identifier;Lnet/minecraft/structure/StructureTemplate;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/math/BlockPos;)V
      intermediary <init> Lnet/minecraft/class_5189;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_5189$class_5191;Lnet/minecraft/class_5189$class_5190;Lnet/minecraft/class_2960;Lnet/minecraft/class_3499;Lnet/minecraft/class_2470;Lnet/minecraft/class_2415;Lnet/minecraft/class_2338;)V
      official <init> Lema;<init>(Leno;Ljd;Lema$b;Lema$a;Lakq;Lenn;Ldmk;Ldkt;Ljd;)V
    • RuinedPortalStructurePiece

      public RuinedPortalStructurePiece(StructureTemplateManager manager, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/RuinedPortalStructurePiece;<init>(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/nbt/NbtCompound;)V
      intermediary <init> Lnet/minecraft/class_5189;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_2487;)V
      official <init> Lema;<init>(Leno;Lua;)V
  • Method Details

    • writeNbt

      protected void writeNbt(StructureContext context, NbtCompound nbt)
      Overrides:
      writeNbt in class SimpleStructurePiece
      Mappings:
      Namespace Name Mixin selector
      named writeNbt Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_14943 Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
      official a Lejq;a(Lekc;Lua;)V
    • createPlacementData

      private static StructurePlacementData createPlacementData(StructureTemplateManager manager, NbtCompound nbt, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named createPlacementData Lnet/minecraft/structure/RuinedPortalStructurePiece;createPlacementData(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/util/Identifier;)Lnet/minecraft/structure/StructurePlacementData;
      intermediary method_35449 Lnet/minecraft/class_5189;method_35449(Lnet/minecraft/class_3485;Lnet/minecraft/class_2487;Lnet/minecraft/class_2960;)Lnet/minecraft/class_3492;
      official a Lema;a(Leno;Lua;Lakq;)Lenj;
    • createPlacementData

      private static StructurePlacementData createPlacementData(BlockMirror mirror, BlockRotation rotation, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, BlockPos pos, RuinedPortalStructurePiece.Properties properties)
      Mappings:
      Namespace Name Mixin selector
      named createPlacementData Lnet/minecraft/structure/RuinedPortalStructurePiece;createPlacementData(Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/RuinedPortalStructurePiece$Properties;)Lnet/minecraft/structure/StructurePlacementData;
      intermediary method_35450 Lnet/minecraft/class_5189;method_35450(Lnet/minecraft/class_2415;Lnet/minecraft/class_2470;Lnet/minecraft/class_5189$class_5191;Lnet/minecraft/class_2338;Lnet/minecraft/class_5189$class_5190;)Lnet/minecraft/class_3492;
      official a Lema;a(Ldkt;Ldmk;Lema$b;Ljd;Lema$a;)Lenj;
    • createLavaReplacementRule

      private static StructureProcessorRule createLavaReplacementRule(RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties)
      Mappings:
      Namespace Name Mixin selector
      named createLavaReplacementRule Lnet/minecraft/structure/RuinedPortalStructurePiece;createLavaReplacementRule(Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;Lnet/minecraft/structure/RuinedPortalStructurePiece$Properties;)Lnet/minecraft/structure/processor/StructureProcessorRule;
      intermediary method_27247 Lnet/minecraft/class_5189;method_27247(Lnet/minecraft/class_5189$class_5191;Lnet/minecraft/class_5189$class_5190;)Lnet/minecraft/class_3821;
      official a Lema;a(Lema$b;Lema$a;)Lenc;
    • generate

      public void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot)
      Overrides:
      generate in class SimpleStructurePiece
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/structure/StructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_14931 Lnet/minecraft/class_3443;method_14931(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_5819;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;Lnet/minecraft/class_2338;)V
      official a Lejq;a(Lddq;Lddo;Ldux;Layv;Leje;Ldcb;Ljd;)V
    • handleMetadata

      protected void handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox)
      Specified by:
      handleMetadata in class SimpleStructurePiece
      Mappings:
      Namespace Name Mixin selector
      named handleMetadata Lnet/minecraft/structure/SimpleStructurePiece;handleMetadata(Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockBox;)V
      intermediary method_15026 Lnet/minecraft/class_3470;method_15026(Ljava/lang/String;Lnet/minecraft/class_2338;Lnet/minecraft/class_5425;Lnet/minecraft/class_5819;Lnet/minecraft/class_3341;)V
      official a Lejw;a(Ljava/lang/String;Ljd;Lddj;Layv;Leje;)V
    • generateVines

      private void generateVines(Random random, WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named generateVines Lnet/minecraft/structure/RuinedPortalStructurePiece;generateVines(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_27244 Lnet/minecraft/class_5189;method_27244(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      official a Lema;a(Layv;Ldcv;Ljd;)V
    • generateOvergrownLeaves

      private void generateOvergrownLeaves(Random random, WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named generateOvergrownLeaves Lnet/minecraft/structure/RuinedPortalStructurePiece;generateOvergrownLeaves(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_27246 Lnet/minecraft/class_5189;method_27246(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      official b Lema;b(Layv;Ldcv;Ljd;)V
    • updateNetherracksInBound

      private void updateNetherracksInBound(Random random, WorldAccess world)
      Mappings:
      Namespace Name Mixin selector
      named updateNetherracksInBound Lnet/minecraft/structure/RuinedPortalStructurePiece;updateNetherracksInBound(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;)V
      intermediary method_27243 Lnet/minecraft/class_5189;method_27243(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;)V
      official a Lema;a(Layv;Ldcv;)V
    • updateNetherracks

      private void updateNetherracks(Random random, WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named updateNetherracks Lnet/minecraft/structure/RuinedPortalStructurePiece;updateNetherracks(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_27248 Lnet/minecraft/class_5189;method_27248(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      official c Lema;c(Layv;Ldcv;Ljd;)V
    • placeNetherrackBase

      private void placeNetherrackBase(Random random, WorldAccess world)
      Mappings:
      Namespace Name Mixin selector
      named placeNetherrackBase Lnet/minecraft/structure/RuinedPortalStructurePiece;placeNetherrackBase(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;)V
      intermediary method_27245 Lnet/minecraft/class_5189;method_27245(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;)V
      official b Lema;b(Layv;Ldcv;)V
    • canFillNetherrack

      private boolean canFillNetherrack(WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named canFillNetherrack Lnet/minecraft/structure/RuinedPortalStructurePiece;canFillNetherrack(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_27238 Lnet/minecraft/class_5189;method_27238(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
      official a Lema;a(Ldcv;Ljd;)Z
    • placeNetherrackBottom

      private void placeNetherrackBottom(Random random, WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named placeNetherrackBottom Lnet/minecraft/structure/RuinedPortalStructurePiece;placeNetherrackBottom(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_27249 Lnet/minecraft/class_5189;method_27249(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      official d Lema;d(Layv;Ldcv;Ljd;)V
    • getBaseHeight

      private static int getBaseHeight(WorldAccess world, int x, int y, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement)
      Mappings:
      Namespace Name Mixin selector
      named getBaseHeight Lnet/minecraft/structure/RuinedPortalStructurePiece;getBaseHeight(Lnet/minecraft/world/WorldAccess;IILnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;)I
      intermediary method_27237 Lnet/minecraft/class_5189;method_27237(Lnet/minecraft/class_1936;IILnet/minecraft/class_5189$class_5191;)I
      official a Lema;a(Ldcv;IILema$b;)I
    • getHeightmapType

      public static Heightmap.Type getHeightmapType(RuinedPortalStructurePiece.VerticalPlacement verticalPlacement)
      Mappings:
      Namespace Name Mixin selector
      named getHeightmapType Lnet/minecraft/structure/RuinedPortalStructurePiece;getHeightmapType(Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;)Lnet/minecraft/world/Heightmap$Type;
      intermediary method_27241 Lnet/minecraft/class_5189;method_27241(Lnet/minecraft/class_5189$class_5191;)Lnet/minecraft/class_2902$class_2903;
      official a Lema;a(Lema$b;)Ldyv$a;
    • createReplacementRule

      private static StructureProcessorRule createReplacementRule(Block old, float chance, Block updated)
      Mappings:
      Namespace Name Mixin selector
      named createReplacementRule Lnet/minecraft/structure/RuinedPortalStructurePiece;createReplacementRule(Lnet/minecraft/block/Block;FLnet/minecraft/block/Block;)Lnet/minecraft/structure/processor/StructureProcessorRule;
      intermediary method_27239 Lnet/minecraft/class_5189;method_27239(Lnet/minecraft/class_2248;FLnet/minecraft/class_2248;)Lnet/minecraft/class_3821;
      official a Lema;a(Ldfw;FLdfw;)Lenc;
    • createReplacementRule

      private static StructureProcessorRule createReplacementRule(Block old, Block updated)
      Mappings:
      Namespace Name Mixin selector
      named createReplacementRule Lnet/minecraft/structure/RuinedPortalStructurePiece;createReplacementRule(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)Lnet/minecraft/structure/processor/StructureProcessorRule;
      intermediary method_27240 Lnet/minecraft/class_5189;method_27240(Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)Lnet/minecraft/class_3821;
      official a Lema;a(Ldfw;Ldfw;)Lenc;