Class MineshaftGenerator.MineshaftPart

java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.MineshaftGenerator.MineshaftPart
Direct Known Subclasses:
MineshaftGenerator.MineshaftCorridor, MineshaftGenerator.MineshaftCrossing, MineshaftGenerator.MineshaftRoom, MineshaftGenerator.MineshaftStairs
Enclosing class:
MineshaftGenerator

private abstract static class MineshaftGenerator.MineshaftPart extends StructurePiece
Mappings:
Namespace Name
named net/minecraft/structure/MineshaftGenerator$MineshaftPart
intermediary net/minecraft/class_3353$class_3356
official elb$c
  • Field Details

    • mineshaftType

      protected MineshaftStructure.Type mineshaftType
      Mappings:
      Namespace Name Mixin selector
      named mineshaftType Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;mineshaftType:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;
      intermediary field_14421 Lnet/minecraft/class_3353$class_3356;field_14421:Lnet/minecraft/class_3098$class_3100;
      official a Lelb$c;a:Lelc$a;
  • Constructor Details

    • MineshaftPart

      public MineshaftPart(StructurePieceType structurePieceType, int chainLength, MineshaftStructure.Type type, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/world/gen/structure/MineshaftStructure$Type;Lnet/minecraft/util/math/BlockBox;)V
      intermediary <init> Lnet/minecraft/class_3353$class_3356;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3098$class_3100;Lnet/minecraft/class_3341;)V
      official <init> Lelb$c;<init>(Lejo;ILelc$a;Leip;)V
    • MineshaftPart

      public MineshaftPart(StructurePieceType type, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)V
      intermediary <init> Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)V
      official <init> Lejb;<init>(Lejo;Ltx;)V
  • Method Details

    • canAddBlock

      protected boolean canAddBlock(WorldView world, int x, int y, int z, BlockBox box)
      Overrides:
      canAddBlock in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      named canAddBlock Lnet/minecraft/structure/StructurePiece;canAddBlock(Lnet/minecraft/world/WorldView;IIILnet/minecraft/util/math/BlockBox;)Z
      intermediary method_33780 Lnet/minecraft/class_3443;method_33780(Lnet/minecraft/class_4538;IIILnet/minecraft/class_3341;)Z
      official a Lejb;a(Ldcj;IIILeip;)Z
    • writeNbt

      protected void writeNbt(StructureContext context, NbtCompound nbt)
      Specified by:
      writeNbt in class StructurePiece
      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 Lejb;a(Lejn;Ltx;)V
    • isSolidCeiling

      protected boolean isSolidCeiling(BlockView world, BlockBox boundingBox, int minX, int maxX, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named isSolidCeiling Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;isSolidCeiling(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockBox;IIII)Z
      intermediary method_14719 Lnet/minecraft/class_3353$class_3356;method_14719(Lnet/minecraft/class_1922;Lnet/minecraft/class_3341;IIII)Z
      official a Lelb$c;a(Ldbm;Leip;IIII)Z
    • cannotGenerate

      protected boolean cannotGenerate(WorldAccess world, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named cannotGenerate Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;cannotGenerate(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockBox;)Z
      intermediary method_33999 Lnet/minecraft/class_3353$class_3356;method_33999(Lnet/minecraft/class_1936;Lnet/minecraft/class_3341;)Z
      official a Lelb$c;a(Ldch;Leip;)Z
    • tryPlaceFloor

      protected void tryPlaceFloor(StructureWorldAccess world, BlockBox box, BlockState state, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named tryPlaceFloor Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;tryPlaceFloor(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/block/BlockState;III)V
      intermediary method_33880 Lnet/minecraft/class_3353$class_3356;method_33880(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_2680;III)V
      official a Lelb$c;a(Lddc;Leip;Ldsl;III)V