Class LegacySinglePoolElement


public class LegacySinglePoolElement extends SinglePoolElement
Mappings:
Namespace Name
named net/minecraft/structure/pool/LegacySinglePoolElement
intermediary net/minecraft/class_5188
official ejq
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<LegacySinglePoolElement> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/structure/pool/LegacySinglePoolElement;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_24949 Lnet/minecraft/class_5188;field_24949:Lcom/mojang/serialization/MapCodec;
      official a Lejq;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • LegacySinglePoolElement

      protected LegacySinglePoolElement(com.mojang.datafixers.util.Either<Identifier,StructureTemplate> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/pool/SinglePoolElement;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
      intermediary <init> Lnet/minecraft/class_3781;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/class_6880;Lnet/minecraft/class_3785$class_3786;)V
      official <init> Lejs;<init>(Lcom/mojang/datafixers/util/Either;Lji;Lejv$a;)V
  • Method Details

    • createPlacementData

      protected StructurePlacementData createPlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws)
      Overrides:
      createPlacementData in class SinglePoolElement
      Mappings:
      Namespace Name Mixin selector
      named createPlacementData Lnet/minecraft/structure/pool/SinglePoolElement;createPlacementData(Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;Z)Lnet/minecraft/structure/StructurePlacementData;
      intermediary method_16616 Lnet/minecraft/class_3781;method_16616(Lnet/minecraft/class_2470;Lnet/minecraft/class_3341;Z)Lnet/minecraft/class_3492;
      official a Lejs;a(Ldlo;Leie;Z)Lemi;
    • getType

      public StructurePoolElementType<?> getType()
      Overrides:
      getType in class SinglePoolElement
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/structure/pool/StructurePoolElement;getType()Lnet/minecraft/structure/pool/StructurePoolElementType;
      intermediary method_16757 Lnet/minecraft/class_3784;method_16757()Lnet/minecraft/class_3816;
      official a Lejt;a()Leju;
    • toString

      public String toString()
      Overrides:
      toString in class SinglePoolElement