Package net.minecraft.structure.pool
Class FeaturePoolElement
java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
net.minecraft.structure.pool.FeaturePoolElement
- Mappings:
- Namespace - Name - official - dtb- intermediary - net/minecraft/class_3776- named - net/minecraft/structure/pool/FeaturePoolElement
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FeaturePoolElement>private final RegistryEntry<PlacedFeature>private final NbtCompound
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedFeaturePoolElement(RegistryEntry<PlacedFeature> feature, StructurePool.Projection projection) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate NbtCompoundbooleangenerate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) getType()toString()Methods inherited from class net.minecraft.structure.pool.StructurePoolElementgetGroundLevelDelta, getProjection, method_16756, ofEmpty, ofFeature, ofLegacySingle, ofList, ofProcessedLegacySingle, ofProcessedSingle, ofSingle, projectionGetter, setProjection
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldtb;a:Lcom/mojang/serialization/Codec;- intermediary - field_24948- Lnet/minecraft/class_3776;field_24948:Lcom/mojang/serialization/Codec;- named - CODEC- Lnet/minecraft/structure/pool/FeaturePoolElement;CODEC:Lcom/mojang/serialization/Codec;
 
- 
feature- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldtb;b:Lhe;- intermediary - field_16661- Lnet/minecraft/class_3776;field_16661:Lnet/minecraft/class_6880;- named - feature- Lnet/minecraft/structure/pool/FeaturePoolElement;feature:Lnet/minecraft/registry/entry/RegistryEntry;
 
- 
nbt- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldtb;c:Lqr;- intermediary - field_16662- Lnet/minecraft/class_3776;field_16662:Lnet/minecraft/class_2487;- named - nbt- Lnet/minecraft/structure/pool/FeaturePoolElement;nbt:Lnet/minecraft/nbt/NbtCompound;
 
 
- 
- 
Constructor Details- 
FeaturePoolElementprotected FeaturePoolElement(RegistryEntry<PlacedFeature> feature, StructurePool.Projection projection) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldtb;<init>(Lhe;Ldtj$a;)V- intermediary - <init>- Lnet/minecraft/class_3776;<init>(Lnet/minecraft/class_6880;Lnet/minecraft/class_3785$class_3786;)V- named - <init>- Lnet/minecraft/structure/pool/FeaturePoolElement;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
 
 
- 
- 
Method Details- 
createDefaultJigsawNbt- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldtb;b()Lqr;- intermediary - method_19299- Lnet/minecraft/class_3776;method_19299()Lnet/minecraft/class_2487;- named - createDefaultJigsawNbt- Lnet/minecraft/structure/pool/FeaturePoolElement;createDefaultJigsawNbt()Lnet/minecraft/nbt/NbtCompound;
 
- 
getStart- Specified by:
- getStartin class- StructurePoolElement
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldth;a(Ldvu;Lcvz;)Lhz;- intermediary - method_16601- Lnet/minecraft/class_3784;method_16601(Lnet/minecraft/class_3485;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2382;- named - getStart- Lnet/minecraft/structure/pool/StructurePoolElement;getStart(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/Vec3i;
 
- 
getStructureBlockInfospublic List<StructureTemplate.StructureBlockInfo> getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) - Specified by:
- getStructureBlockInfosin class- StructurePoolElement
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldth;a(Ldvu;Lgu;Lcvz;Lapf;)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;- 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;
 
- 
getBoundingBoxpublic BlockBox getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) - Specified by:
- getBoundingBoxin class- StructurePoolElement
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldth;a(Ldvu;Lgu;Lcvz;)Ldrs;- 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;- 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;
 
- 
generatepublic boolean generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) - Specified by:
- generatein class- StructurePoolElement
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldth;a(Ldvu;Lcng;Lcne;Lddy;Lgu;Lgu;Lcvz;Ldrs;Lapf;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- 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
 
- 
getType- Specified by:
- getTypein class- StructurePoolElement
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldth;a()Ldti;- 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
 
-