Class MineshaftGenerator.MineshaftCorridor

Enclosing class:
MineshaftGenerator

public static class MineshaftGenerator.MineshaftCorridor extends MineshaftGenerator.MineshaftPart
Mappings:
Namespace Name
official dax$a
intermediary net/minecraft/class_3353$class_3354
named net/minecraft/structure/MineshaftGenerator$MineshaftCorridor
  • Field Details

    • hasRails

      private final boolean hasRails
      Mappings:
      Namespace Name Mixin selector
      official b Ldax$a;b:Z
      intermediary field_14416 Lnet/minecraft/class_3353$class_3354;field_14416:Z
      named hasRails Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;hasRails:Z
    • hasCobwebs

      private final boolean hasCobwebs
      Mappings:
      Namespace Name Mixin selector
      official c Ldax$a;c:Z
      intermediary field_14415 Lnet/minecraft/class_3353$class_3354;field_14415:Z
      named hasCobwebs Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;hasCobwebs:Z
    • hasSpawner

      private boolean hasSpawner
      Mappings:
      Namespace Name Mixin selector
      official d Ldax$a;d:Z
      intermediary field_14414 Lnet/minecraft/class_3353$class_3354;field_14414:Z
      named hasSpawner Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;hasSpawner:Z
    • length

      private final int length
      Mappings:
      Namespace Name Mixin selector
      official e Ldax$a;e:I
      intermediary field_14413 Lnet/minecraft/class_3353$class_3354;field_14413:I
      named length Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;length:I
  • Constructor Details

    • MineshaftCorridor

      public MineshaftCorridor(ServerWorld serverWorld, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldax$a;<init>(Labr;Lna;)V
      intermediary <init> Lnet/minecraft/class_3353$class_3354;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/NbtCompound;)V
    • MineshaftCorridor

      public MineshaftCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation, MineshaftFeature.Type type)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldax$a;<init>(ILjava/util/Random;Ldaq;Lgl;Lctb$b;)V
      intermediary <init> Lnet/minecraft/class_3353$class_3354;<init>(ILjava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_2350;Lnet/minecraft/class_3098$class_3100;)V
      named <init> Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;<init>(ILjava/util/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/Direction;Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;)V
  • Method Details

    • writeNbt

      protected void writeNbt(ServerWorld world, NbtCompound nbt)
      Overrides:
      writeNbt in class MineshaftGenerator.MineshaftPart
      Mappings:
      Namespace Name Mixin selector
      official a Ldbl;a(Labr;Lna;)V
      intermediary method_14943 Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/NbtCompound;)V
    • getBoundingBox

      @Nullable public static @Nullable BlockBox getBoundingBox(StructurePiecesHolder structurePiecesHolder, Random random, int x, int y, int z, Direction orientation)
      Mappings:
      Namespace Name Mixin selector
      official a Ldax$a;a(Ldbm;Ljava/util/Random;IIILgl;)Ldaq;
      intermediary method_14714 Lnet/minecraft/class_3353$class_3354;method_14714(Lnet/minecraft/class_6130;Ljava/util/Random;IIILnet/minecraft/class_2350;)Lnet/minecraft/class_3341;
      named getBoundingBox Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;getBoundingBox(Lnet/minecraft/structure/StructurePiecesHolder;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/BlockBox;
    • fillOpenings

      public void fillOpenings(StructurePiece start, StructurePiecesHolder structurePiecesHolder, Random random)
      Overrides:
      fillOpenings in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Ldbl;a(Ldbl;Ldbm;Ljava/util/Random;)V
      intermediary method_14918 Lnet/minecraft/class_3443;method_14918(Lnet/minecraft/class_3443;Lnet/minecraft/class_6130;Ljava/util/Random;)V
      named fillOpenings Lnet/minecraft/structure/StructurePiece;fillOpenings(Lnet/minecraft/structure/StructurePiece;Lnet/minecraft/structure/StructurePiecesHolder;Ljava/util/Random;)V
    • addChest

      protected boolean addChest(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Identifier lootTableId)
      Overrides:
      addChest in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Ldbl;a(Lbxk;Ldaq;Ljava/util/Random;IIILww;)Z
      intermediary method_14915 Lnet/minecraft/class_3443;method_14915(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Ljava/util/Random;IIILnet/minecraft/class_2960;)Z
      named addChest Lnet/minecraft/structure/StructurePiece;addChest(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Ljava/util/Random;IIILnet/minecraft/util/Identifier;)Z
    • generate

      public boolean generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
      Specified by:
      generate in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Ldbl;a(Lbxk;Lbxg;Lcmn;Ljava/util/Random;Ldaq;Lbvu;Lgg;)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
    • fillSupportBeam

      private void fillSupportBeam(StructureWorldAccess world, BlockBox box, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldax$a;a(Lbxk;Ldaq;III)V
      intermediary method_33776 Lnet/minecraft/class_3353$class_3354;method_33776(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;III)V
      named fillSupportBeam Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;fillSupportBeam(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;III)V
    • fillDownwards

      protected void fillDownwards(StructureWorldAccess world, BlockState state, int x, int int2, int int3, BlockBox box)
      Overrides:
      fillDownwards in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Ldbl;a(Lbxk;Lcks;IIILdaq;)V
      intermediary method_14936 Lnet/minecraft/class_3443;method_14936(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;IIILnet/minecraft/class_3341;)V
      named fillDownwards Lnet/minecraft/structure/StructurePiece;fillDownwards(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;IIILnet/minecraft/util/math/BlockBox;)V
    • method_33879

      protected void method_33879(StructureWorldAccess structureWorldAccess, BlockState blockState, int int2, int int3, int int4, BlockBox blockBox)
      Mappings:
      Namespace Name Mixin selector
      official b Ldax$a;b(Lbxk;Lcks;IIILdaq;)V
      intermediary method_33879 Lnet/minecraft/class_3353$class_3354;method_33879(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;IIILnet/minecraft/class_3341;)V
      named method_33879 Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;method_33879(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;IIILnet/minecraft/util/math/BlockBox;)V
    • method_33878

      private static void method_33878(StructureWorldAccess structureWorldAccess, BlockState blockState, BlockPos.Mutable mutable, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Ldax$a;a(Lbxk;Lcks;Lgg$a;II)V
      intermediary method_33878 Lnet/minecraft/class_3353$class_3354;method_33878(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338$class_2339;II)V
      named method_33878 Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;method_33878(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos$Mutable;II)V
    • isNotRailOrLava

      private boolean isNotRailOrLava(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official b Ldax$a;b(Lcks;)Z
      intermediary method_33777 Lnet/minecraft/class_3353$class_3354;method_33777(Lnet/minecraft/class_2680;)Z
      named isNotRailOrLava Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;isNotRailOrLava(Lnet/minecraft/block/BlockState;)Z
    • method_33877

      private boolean method_33877(WorldView worldView, BlockPos blockPos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official a Ldax$a;a(Lbws;Lgg;Lcks;)Z
      intermediary method_33877 Lnet/minecraft/class_3353$class_3354;method_33877(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
      named method_33877 Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;method_33877(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • generateSupports

      private void generateSupports(StructureWorldAccess world, BlockBox boundingBox, int minX, int minY, int z, int maxY, int maxX, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Ldax$a;a(Lbxk;Ldaq;IIIIILjava/util/Random;)V
      intermediary method_14713 Lnet/minecraft/class_3353$class_3354;method_14713(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIILjava/util/Random;)V
      named generateSupports Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;generateSupports(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIILjava/util/Random;)V
    • addCobwebsUnderground

      private void addCobwebsUnderground(StructureWorldAccess world, BlockBox blockBox, Random random, float threshold, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldax$a;a(Lbxk;Ldaq;Ljava/util/Random;FIII)V
      intermediary method_14715 Lnet/minecraft/class_3353$class_3354;method_14715(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Ljava/util/Random;FIII)V
      named addCobwebsUnderground Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;addCobwebsUnderground(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Ljava/util/Random;FIII)V
    • method_36422

      private boolean method_36422(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      official a Ldax$a;a(Lbxk;Ldaq;IIII)Z
      intermediary method_36422 Lnet/minecraft/class_3353$class_3354;method_36422(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIII)Z
      named method_36422 Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;method_36422(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIII)Z