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
official dtp
intermediary net/minecraft/class_3098
named net/minecraft/world/gen/structure/MineshaftStructure
  • Field Details

    • CODEC

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

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

    • MineshaftStructure

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

    • getStructurePosition

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

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

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