Class FeaturePoolElement

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

public class FeaturePoolElement extends StructurePoolElement
Mappings:
Namespace Name
named net/minecraft/structure/pool/FeaturePoolElement
intermediary net/minecraft/class_3776
official ejm
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<FeaturePoolElement> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/structure/pool/FeaturePoolElement;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_24948 Lnet/minecraft/class_3776;field_24948:Lcom/mojang/serialization/MapCodec;
      official a Lejm;a:Lcom/mojang/serialization/MapCodec;
    • feature

      private final RegistryEntry<PlacedFeature> feature
      Mappings:
      Namespace Name Mixin selector
      named feature Lnet/minecraft/structure/pool/FeaturePoolElement;feature:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_16661 Lnet/minecraft/class_3776;field_16661:Lnet/minecraft/class_6880;
      official b Lejm;b:Lji;
    • nbt

      private final NbtCompound nbt
      Mappings:
      Namespace Name Mixin selector
      named nbt Lnet/minecraft/structure/pool/FeaturePoolElement;nbt:Lnet/minecraft/nbt/NbtCompound;
      intermediary field_16662 Lnet/minecraft/class_3776;field_16662:Lnet/minecraft/class_2487;
      official c Lejm;c:Lus;
  • Constructor Details

    • FeaturePoolElement

      protected FeaturePoolElement(RegistryEntry<PlacedFeature> feature, StructurePool.Projection projection)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/pool/FeaturePoolElement;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
      intermediary <init> Lnet/minecraft/class_3776;<init>(Lnet/minecraft/class_6880;Lnet/minecraft/class_3785$class_3786;)V
      official <init> Lejm;<init>(Lji;Leju$a;)V
  • Method Details

    • createDefaultJigsawNbt

      private NbtCompound createDefaultJigsawNbt()
      Mappings:
      Namespace Name Mixin selector
      named createDefaultJigsawNbt Lnet/minecraft/structure/pool/FeaturePoolElement;createDefaultJigsawNbt()Lnet/minecraft/nbt/NbtCompound;
      intermediary method_19299 Lnet/minecraft/class_3776;method_19299()Lnet/minecraft/class_2487;
      official b Lejm;b()Lus;
    • 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 Lejs;a(Lemm;Ldln;)Lkd;
    • getStructureBlockInfos

      public List<StructureTemplate.StructureBlockInfo> 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 Lejs;a(Lemm;Liz;Ldln;Lazh;)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 Lejs;a(Lemm;Liz;Ldln;)Leid;
    • generate

      public boolean generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, 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;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;Z)Z
      official a Lejs;a(Lemm;Ldcu;Ldcs;Ldua;Liz;Liz;Ldln;Leid;Lazh;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 Lejs;a()Lejt;
    • toString

      public String toString()
      Overrides:
      toString in class Object