Class LegacySinglePoolElement


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

    • CODEC

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

    • LegacySinglePoolElement

      protected LegacySinglePoolElement(com.mojang.datafixers.util.Either<Identifier,Structure> location, Supplier<StructureProcessorList> processors, StructurePool.Projection projection)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldbx;<init>(Lcom/mojang/datafixers/util/Either;Ljava/util/function/Supplier;Ldca$a;)V
      intermediary <init> Lnet/minecraft/class_3781;<init>(Lcom/mojang/datafixers/util/Either;Ljava/util/function/Supplier;Lnet/minecraft/class_3785$class_3786;)V
      named <init> Lnet/minecraft/structure/pool/SinglePoolElement;<init>(Lcom/mojang/datafixers/util/Either;Ljava/util/function/Supplier;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
  • Method Details

    • createPlacementData

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

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

      public String toString()
      Overrides:
      toString in class SinglePoolElement