Class ListPoolElement

java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
net.minecraft.structure.pool.ListPoolElement

public class ListPoolElement extends StructurePoolElement
Mappings:
Namespace Name
named net/minecraft/structure/pool/ListPoolElement
intermediary net/minecraft/class_3782
official epp
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<ListPoolElement> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/structure/pool/ListPoolElement;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_24950 Lnet/minecraft/class_3782;field_24950:Lcom/mojang/serialization/MapCodec;
      official a Lepp;a:Lcom/mojang/serialization/MapCodec;
    • elements

      private final List<StructurePoolElement> elements
      Mappings:
      Namespace Name Mixin selector
      named elements Lnet/minecraft/structure/pool/ListPoolElement;elements:Ljava/util/List;
      intermediary field_16676 Lnet/minecraft/class_3782;field_16676:Ljava/util/List;
      official b Lepp;b:Ljava/util/List;
  • Constructor Details

    • ListPoolElement

      public ListPoolElement(List<StructurePoolElement> elements, StructurePool.Projection projection)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/pool/ListPoolElement;<init>(Ljava/util/List;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
      intermediary <init> Lnet/minecraft/class_3782;<init>(Ljava/util/List;Lnet/minecraft/class_3785$class_3786;)V
      official <init> Lepp;<init>(Ljava/util/List;Lept$a;)V
  • Method Details

    • getStart

      public Vec3i getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation)
      Specified by:
      getStart in class StructurePoolElement
      Mappings:
      Namespace Name Mixin selector
      named getStart Lnet/minecraft/structure/pool/StructurePoolElement;getStart(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/Vec3i;
      intermediary method_16601 Lnet/minecraft/class_3784;method_16601(Lnet/minecraft/class_3485;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2382;
      official a Lepr;a(Lesm;Ldrb;)Lkl;
    • getStructureBlockInfos

      public List<StructureTemplate.JigsawBlockInfo> getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random)
      Specified by:
      getStructureBlockInfos in class StructurePoolElement
      Mappings:
      Namespace Name Mixin selector
      named getStructureBlockInfos Lnet/minecraft/structure/pool/StructurePoolElement;getStructureBlockInfos(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/random/Random;)Ljava/util/List;
      intermediary method_16627 Lnet/minecraft/class_3784;method_16627(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_5819;)Ljava/util/List;
      official a Lepr;a(Lesm;Ljh;Ldrb;Lbam;)Ljava/util/List;
    • getBoundingBox

      public BlockBox getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation)
      Specified by:
      getBoundingBox in class StructurePoolElement
      Mappings:
      Namespace Name Mixin selector
      named getBoundingBox Lnet/minecraft/structure/pool/StructurePoolElement;getBoundingBox(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/BlockBox;
      intermediary method_16628 Lnet/minecraft/class_3784;method_16628(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;)Lnet/minecraft/class_3341;
      official a Lepr;a(Lesm;Ljh;Ldrb;)Leob;
    • generate

      public boolean generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws)
      Specified by:
      generate in class StructurePoolElement
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/structure/pool/StructurePoolElement;generate(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/structure/StructureLiquidSettings;Z)Z
      intermediary method_16626 Lnet/minecraft/class_3784;method_16626(Lnet/minecraft/class_3485;Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_3341;Lnet/minecraft/class_5819;Lnet/minecraft/class_9822;Z)Z
      official a Lepr;a(Lesm;Ldif;Ldid;Ldzq;Ljh;Ljh;Ldrb;Leob;Lbam;Lerv;Z)Z
    • getType

      public StructurePoolElementType<?> getType()
      Specified by:
      getType in class StructurePoolElement
      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 Lepr;a()Leps;
    • setProjection

      public StructurePoolElement setProjection(StructurePool.Projection projection)
      Overrides:
      setProjection in class StructurePoolElement
      Mappings:
      Namespace Name Mixin selector
      named setProjection Lnet/minecraft/structure/pool/StructurePoolElement;setProjection(Lnet/minecraft/structure/pool/StructurePool$Projection;)Lnet/minecraft/structure/pool/StructurePoolElement;
      intermediary method_16622 Lnet/minecraft/class_3784;method_16622(Lnet/minecraft/class_3785$class_3786;)Lnet/minecraft/class_3784;
      official a Lepr;a(Lept$a;)Lepr;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setAllElementsProjection

      private void setAllElementsProjection(StructurePool.Projection projection)
      Mappings:
      Namespace Name Mixin selector
      named setAllElementsProjection Lnet/minecraft/structure/pool/ListPoolElement;setAllElementsProjection(Lnet/minecraft/structure/pool/StructurePool$Projection;)V
      intermediary method_19307 Lnet/minecraft/class_3782;method_19307(Lnet/minecraft/class_3785$class_3786;)V
      official b Lepp;b(Lept$a;)V