Class MineshaftStructure

java.lang.Object
net.minecraft.world.gen.structure.Structure
net.minecraft.world.gen.structure.MineshaftStructure

public class MineshaftStructure extends Structure
Mappings:
Namespace Name
named net/minecraft/world/gen/structure/MineshaftStructure
intermediary net/minecraft/class_3098
official eqo
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<MineshaftStructure> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/structure/MineshaftStructure;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_37801 Lnet/minecraft/class_3098;field_37801:Lcom/mojang/serialization/MapCodec;
      official d Leqo;d:Lcom/mojang/serialization/MapCodec;
    • type

      private final MineshaftStructure.Type type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/world/gen/structure/MineshaftStructure;type:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;
      intermediary field_37802 Lnet/minecraft/class_3098;field_37802:Lnet/minecraft/class_3098$class_3100;
      official e Leqo;e:Leqo$a;
  • Constructor Details

    • MineshaftStructure

      public MineshaftStructure(Structure.Config config, MineshaftStructure.Type type)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/structure/MineshaftStructure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;)V
      intermediary <init> Lnet/minecraft/class_3098;<init>(Lnet/minecraft/class_3195$class_7302;Lnet/minecraft/class_3098$class_3100;)V
      official <init> Leqo;<init>(Leoj$c;Leqo$a;)V
  • Method Details

    • getStructurePosition

      public Optional<Structure.StructurePosition> getStructurePosition(Structure.Context context)
      Specified by:
      getStructurePosition in class Structure
      Mappings:
      Namespace Name Mixin selector
      named getStructurePosition Lnet/minecraft/world/gen/structure/Structure;getStructurePosition(Lnet/minecraft/world/gen/structure/Structure$Context;)Ljava/util/Optional;
      intermediary method_38676 Lnet/minecraft/class_3195;method_38676(Lnet/minecraft/class_3195$class_7149;)Ljava/util/Optional;
      official a Leoj;a(Leoj$a;)Ljava/util/Optional;
    • addPieces

      private int addPieces(StructurePiecesCollector collector, Structure.Context context)
      Mappings:
      Namespace Name Mixin selector
      named addPieces Lnet/minecraft/world/gen/structure/MineshaftStructure;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/world/gen/structure/Structure$Context;)I
      intermediary method_38678 Lnet/minecraft/class_3098;method_38678(Lnet/minecraft/class_6626;Lnet/minecraft/class_3195$class_7149;)I
      official a Leqo;a(Lepb;Leoj$a;)I
    • getType

      public StructureType<?> getType()
      Specified by:
      getType in class Structure
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/world/gen/structure/Structure;getType()Lnet/minecraft/world/gen/structure/StructureType;
      intermediary method_41618 Lnet/minecraft/class_3195;method_41618()Lnet/minecraft/class_7151;
      official e Leoj;e()Leos;