Class SwampHutStructure

java.lang.Object
net.minecraft.world.gen.structure.StructureType
net.minecraft.world.gen.structure.SwampHutStructure

public class SwampHutStructure extends StructureType
Mappings:
Namespace Name
official dmq
intermediary net/minecraft/class_3197
named net/minecraft/world/gen/structure/SwampHutStructure
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SwampHutStructure> CODEC
      Mappings:
      Namespace Name Mixin selector
      official d Ldmq;d:Lcom/mojang/serialization/Codec;
      intermediary field_37818 Lnet/minecraft/class_3197;field_37818:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/structure/SwampHutStructure;CODEC:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • SwampHutStructure

      public SwampHutStructure(StructureType.Config config)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldkd;<init>(Ldkd$c;)V
      intermediary <init> Lnet/minecraft/class_3195;<init>(Lnet/minecraft/class_3195$class_7302;)V
      named <init> Lnet/minecraft/world/gen/structure/StructureType;<init>(Lnet/minecraft/world/gen/structure/StructureType$Config;)V
  • Method Details

    • getStructurePosition

      public Optional<StructureType.StructurePosition> getStructurePosition(StructureType.Context context)
      Specified by:
      getStructurePosition in class StructureType
      Mappings:
      Namespace Name Mixin selector
      official a Ldkd;a(Ldkd$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/StructureType;getStructurePosition(Lnet/minecraft/world/gen/structure/StructureType$Context;)Ljava/util/Optional;
    • addPieces

      private static void addPieces(StructurePiecesCollector collector, StructureType.Context context)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmq;a(Ldkv;Ldkd$a;)V
      intermediary method_38693 Lnet/minecraft/class_3197;method_38693(Lnet/minecraft/class_6626;Lnet/minecraft/class_3195$class_7149;)V
      named addPieces Lnet/minecraft/world/gen/structure/SwampHutStructure;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/world/gen/structure/StructureType$Context;)V
    • getType

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