Class BuriedTreasureStructure

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

public class BuriedTreasureStructure extends Structure
Mappings:
Namespace Name
named net/minecraft/world/gen/structure/BuriedTreasureStructure
intermediary net/minecraft/class_2956
official eqd
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<BuriedTreasureStructure> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/structure/BuriedTreasureStructure;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_37790 Lnet/minecraft/class_2956;field_37790:Lcom/mojang/serialization/MapCodec;
      official d Leqd;d:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • BuriedTreasureStructure

      public BuriedTreasureStructure(Structure.Config config)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/structure/Structure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;)V
      intermediary <init> Lnet/minecraft/class_3195;<init>(Lnet/minecraft/class_3195$class_7302;)V
      official <init> Leoj;<init>(Leoj$c;)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 static void addPieces(StructurePiecesCollector collector, Structure.Context context)
      Mappings:
      Namespace Name Mixin selector
      named addPieces Lnet/minecraft/world/gen/structure/BuriedTreasureStructure;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/world/gen/structure/Structure$Context;)V
      intermediary method_38672 Lnet/minecraft/class_2956;method_38672(Lnet/minecraft/class_6626;Lnet/minecraft/class_3195$class_7149;)V
      official a Leqd;a(Lepb;Leoj$a;)V
    • 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;