Class EndCityGenerator.Piece

Enclosing class:
EndCityGenerator

public static class EndCityGenerator.Piece extends SimpleStructurePiece
Mappings:
Namespace Name
official dek$a
intermediary net/minecraft/class_3342$class_3343
named net/minecraft/structure/EndCityGenerator$Piece
  • Constructor Details

    • Piece

      public Piece(StructureManager manager, String template, BlockPos pos, BlockRotation rotation, boolean includeAir)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldek$a;<init>(Ldgp;Ljava/lang/String;Lgh;Lciu;Z)V
      intermediary <init> Lnet/minecraft/class_3342$class_3343;<init>(Lnet/minecraft/class_3485;Ljava/lang/String;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Z)V
      named <init> Lnet/minecraft/structure/EndCityGenerator$Piece;<init>(Lnet/minecraft/structure/StructureManager;Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Z)V
    • Piece

      public Piece(StructureManager manager, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldek$a;<init>(Ldgp;Loc;)V
      intermediary <init> Lnet/minecraft/class_3342$class_3343;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/structure/EndCityGenerator$Piece;<init>(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/nbt/NbtCompound;)V
  • Method Details

    • createPlacementData

      private static StructurePlacementData createPlacementData(boolean includeAir, BlockRotation rotation)
      Mappings:
      Namespace Name Mixin selector
      official a Ldek$a;a(ZLciu;)Ldgq;
      intermediary method_35427 Lnet/minecraft/class_3342$class_3343;method_35427(ZLnet/minecraft/class_2470;)Lnet/minecraft/class_3492;
      named createPlacementData Lnet/minecraft/structure/EndCityGenerator$Piece;createPlacementData(ZLnet/minecraft/util/BlockRotation;)Lnet/minecraft/structure/StructurePlacementData;
    • getId

      protected Identifier getId()
      Overrides:
      getId in class SimpleStructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Ldfj;a()Lyh;
      intermediary method_35470 Lnet/minecraft/class_3470;method_35470()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/structure/SimpleStructurePiece;getId()Lnet/minecraft/util/Identifier;
    • getId

      private static Identifier getId(String template)
      Mappings:
      Namespace Name Mixin selector
      official a Ldek$a;a(Ljava/lang/String;)Lyh;
      intermediary method_35425 Lnet/minecraft/class_3342$class_3343;method_35425(Ljava/lang/String;)Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/structure/EndCityGenerator$Piece;getId(Ljava/lang/String;)Lnet/minecraft/util/Identifier;
    • writeNbt

      protected void writeNbt(StructureContext context, NbtCompound nbt)
      Overrides:
      writeNbt in class SimpleStructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Ldff;a(Ldfp;Loc;)V
      intermediary method_14943 Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)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
      official a Ldfj;a(Ljava/lang/String;Lgh;Lcas;Ljava/util/Random;Ldeh;)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