Class RuinedPortalStructurePiece


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

    • field_24992

      private static final Logger field_24992
      Mappings:
      Namespace Name Mixin selector
      official d Lcxc;d:Lorg/apache/logging/log4j/Logger;
      intermediary field_24992 Lnet/minecraft/class_5189;field_24992:Lorg/apache/logging/log4j/Logger;
      named field_24992 Lnet/minecraft/structure/RuinedPortalStructurePiece;field_24992:Lorg/apache/logging/log4j/Logger;
    • template

      private final Identifier template
      Mappings:
      Namespace Name Mixin selector
      official e Lcxc;e:Lwb;
      intermediary field_24018 Lnet/minecraft/class_5189;field_24018:Lnet/minecraft/class_2960;
      named template Lnet/minecraft/structure/RuinedPortalStructurePiece;template:Lnet/minecraft/util/Identifier;
    • rotation

      private final BlockRotation rotation
      Mappings:
      Namespace Name Mixin selector
      official f Lcxc;f:Lccm;
      intermediary field_24019 Lnet/minecraft/class_5189;field_24019:Lnet/minecraft/class_2470;
      named rotation Lnet/minecraft/structure/RuinedPortalStructurePiece;rotation:Lnet/minecraft/util/BlockRotation;
    • mirror

      private final BlockMirror mirror
      Mappings:
      Namespace Name Mixin selector
      official g Lcxc;g:Lcbb;
      intermediary field_24020 Lnet/minecraft/class_5189;field_24020:Lnet/minecraft/class_2415;
      named mirror Lnet/minecraft/structure/RuinedPortalStructurePiece;mirror:Lnet/minecraft/util/BlockMirror;
    • verticalPlacement

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

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

    • RuinedPortalStructurePiece

      public RuinedPortalStructurePiece​(BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier template, Structure structure, BlockRotation rotation, BlockMirror mirror, BlockPos center)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxc;<init>(Lfx;Lcxc$b;Lcxc$a;Lwb;Lcyo;Lccm;Lcbb;Lfx;)V
      intermediary <init> Lnet/minecraft/class_5189;<init>(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
      named <init> Lnet/minecraft/structure/RuinedPortalStructurePiece;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;Lnet/minecraft/structure/RuinedPortalStructurePiece$Properties;Lnet/minecraft/util/Identifier;Lnet/minecraft/structure/Structure;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/math/BlockPos;)V
    • RuinedPortalStructurePiece

      public RuinedPortalStructurePiece​(StructureManager manager, CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxc;<init>(Lcyj;Lmq;)V
      intermediary <init> Lnet/minecraft/class_5189;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/structure/RuinedPortalStructurePiece;<init>(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/nbt/CompoundTag;)V
  • Method Details

    • toNbt

      protected void toNbt​(CompoundTag tag)
      Overrides:
      toNbt in class SimpleStructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Lcxh;a(Lmq;)V
      intermediary method_14943 Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_2487;)V
      named toNbt Lnet/minecraft/structure/StructurePiece;toNbt(Lnet/minecraft/nbt/CompoundTag;)V
    • processProperties

      private void processProperties​(Structure structure, BlockPos center)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxc;a(Lcyo;Lfx;)V
      intermediary method_27242 Lnet/minecraft/class_5189;method_27242(Lnet/minecraft/class_3499;Lnet/minecraft/class_2338;)V
      named processProperties Lnet/minecraft/structure/RuinedPortalStructurePiece;processProperties(Lnet/minecraft/structure/Structure;Lnet/minecraft/util/math/BlockPos;)V
    • createLavaReplacementRule

      private StructureProcessorRule createLavaReplacementRule()
      Mappings:
      Namespace Name Mixin selector
      official c Lcxc;c()Lcyd;
      intermediary method_27247 Lnet/minecraft/class_5189;method_27247()Lnet/minecraft/class_3821;
      named createLavaReplacementRule Lnet/minecraft/structure/RuinedPortalStructurePiece;createLavaReplacementRule()Lnet/minecraft/structure/processor/StructureProcessorRule;
    • generate

      public boolean generate​(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
      Overrides:
      generate in class SimpleStructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Lcxh;a(Lbuq;Lbum;Lcjn;Ljava/util/Random;Lcwn;Lbta;Lfx;)Z
      intermediary method_14931 Lnet/minecraft/class_3443;method_14931(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;Lnet/minecraft/class_2338;)Z
      named generate Lnet/minecraft/structure/StructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/BlockPos;)Z
    • 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
      official a Lcxk;a(Ljava/lang/String;Lfx;Lbuj;Ljava/util/Random;Lcwn;)V
      intermediary method_15026 Lnet/minecraft/class_3470;method_15026(Ljava/lang/String;Lnet/minecraft/class_2338;Lnet/minecraft/class_5425;Ljava/util/Random;Lnet/minecraft/class_3341;)V
      named handleMetadata Lnet/minecraft/structure/SimpleStructurePiece;handleMetadata(Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/ServerWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockBox;)V
    • generateVines

      private void generateVines​(Random random, WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxc;a(Ljava/util/Random;Lbtw;Lfx;)V
      intermediary method_27244 Lnet/minecraft/class_5189;method_27244(Ljava/util/Random;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      named generateVines Lnet/minecraft/structure/RuinedPortalStructurePiece;generateVines(Ljava/util/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
    • generateOvergrownLeaves

      private void generateOvergrownLeaves​(Random random, WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lcxc;b(Ljava/util/Random;Lbtw;Lfx;)V
      intermediary method_27246 Lnet/minecraft/class_5189;method_27246(Ljava/util/Random;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      named generateOvergrownLeaves Lnet/minecraft/structure/RuinedPortalStructurePiece;generateOvergrownLeaves(Ljava/util/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
    • updateNetherracksInBound

      private void updateNetherracksInBound​(Random random, WorldAccess world)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxc;a(Ljava/util/Random;Lbtw;)V
      intermediary method_27243 Lnet/minecraft/class_5189;method_27243(Ljava/util/Random;Lnet/minecraft/class_1936;)V
      named updateNetherracksInBound Lnet/minecraft/structure/RuinedPortalStructurePiece;updateNetherracksInBound(Ljava/util/Random;Lnet/minecraft/world/WorldAccess;)V
    • updateNetherracks

      private void updateNetherracks​(Random random, WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Lcxc;c(Ljava/util/Random;Lbtw;Lfx;)V
      intermediary method_27248 Lnet/minecraft/class_5189;method_27248(Ljava/util/Random;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      named updateNetherracks Lnet/minecraft/structure/RuinedPortalStructurePiece;updateNetherracks(Ljava/util/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
    • placeNetherrackBase

      private void placeNetherrackBase​(Random random, WorldAccess world)
      Mappings:
      Namespace Name Mixin selector
      official b Lcxc;b(Ljava/util/Random;Lbtw;)V
      intermediary method_27245 Lnet/minecraft/class_5189;method_27245(Ljava/util/Random;Lnet/minecraft/class_1936;)V
      named placeNetherrackBase Lnet/minecraft/structure/RuinedPortalStructurePiece;placeNetherrackBase(Ljava/util/Random;Lnet/minecraft/world/WorldAccess;)V
    • canFillNetherrack

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

      private void placeNetherrackBottom​(Random random, WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lcxc;d(Ljava/util/Random;Lbtw;Lfx;)V
      intermediary method_27249 Lnet/minecraft/class_5189;method_27249(Ljava/util/Random;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      named placeNetherrackBottom Lnet/minecraft/structure/RuinedPortalStructurePiece;placeNetherrackBottom(Ljava/util/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
    • getBaseHeight

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

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

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

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