Package net.minecraft.structure.pool
Class StructurePoolElement
java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
- Direct Known Subclasses:
- EmptyPoolElement,- FeaturePoolElement,- ListPoolElement,- SinglePoolElement
- Mappings:
- Namespace - Name - named - net/minecraft/structure/pool/StructurePoolElement- intermediary - net/minecraft/class_3784- official - eov
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StructurePoolElement> private static final RegistryEntry<StructureProcessorList> private StructurePool.Projection
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedStructurePoolElement(StructurePool.Projection projection) 
- 
Method SummaryModifier and TypeMethodDescriptionabstract booleangenerate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) abstract BlockBoxgetBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) intabstract Vec3igetStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) abstract List<StructureTemplate.JigsawBlockInfo> getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) abstract StructurePoolElementType<?> getType()voidmethod_16756(WorldAccess world, StructureTemplate.StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box) ofEmpty()ofFeature(RegistryEntry<PlacedFeature> placedFeatureEntry) ofLegacySingle(String id) ofList(List<Function<StructurePool.Projection, ? extends StructurePoolElement>> elementGetters) ofProcessedLegacySingle(String id, RegistryEntry<StructureProcessorList> processorListEntry) ofProcessedSingle(String id, RegistryEntry<StructureProcessorList> processorListEntry) ofProcessedSingle(String id, RegistryEntry<StructureProcessorList> processorListEntry, StructureLiquidSettings liquidSettings) ofSingle(String id, StructureLiquidSettings liquidSettings) protected static <E extends StructurePoolElement>
 com.mojang.serialization.codecs.RecordCodecBuilder<E, StructurePool.Projection> setProjection(StructurePool.Projection projection) 
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/structure/pool/StructurePoolElement;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_24953- Lnet/minecraft/class_3784;field_24953:Lcom/mojang/serialization/Codec;- official - f- Leov;f:Lcom/mojang/serialization/Codec;
 
- 
EMPTY_PROCESSORS- Mappings:
- Namespace - Name - Mixin selector - named - EMPTY_PROCESSORS- Lnet/minecraft/structure/pool/StructurePoolElement;EMPTY_PROCESSORS:Lnet/minecraft/registry/entry/RegistryEntry;- intermediary - field_40924- Lnet/minecraft/class_3784;field_40924:Lnet/minecraft/class_6880;- official - a- Leov;a:Ljr;
 
- 
projection- Mappings:
- Namespace - Name - Mixin selector - named - projection- Lnet/minecraft/structure/pool/StructurePoolElement;projection:Lnet/minecraft/structure/pool/StructurePool$Projection;- intermediary - field_16862- Lnet/minecraft/class_3784;field_16862:Lnet/minecraft/class_3785$class_3786;- official - b- Leov;b:Leox$a;
 
 
- 
- 
Constructor Details- 
StructurePoolElement- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/structure/pool/StructurePoolElement;<init>(Lnet/minecraft/structure/pool/StructurePool$Projection;)V- intermediary - <init>- Lnet/minecraft/class_3784;<init>(Lnet/minecraft/class_3785$class_3786;)V- official - <init>- Leov;<init>(Leox$a;)V
 
 
- 
- 
Method Details- 
projectionGetterprotected static <E extends StructurePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E,StructurePool.Projection> projectionGetter()- Mappings:
- Namespace - Name - Mixin selector - named - projectionGetter- Lnet/minecraft/structure/pool/StructurePoolElement;projectionGetter()Lcom/mojang/serialization/codecs/RecordCodecBuilder;- intermediary - method_28883- Lnet/minecraft/class_3784;method_28883()Lcom/mojang/serialization/codecs/RecordCodecBuilder;- official - e- Leov;e()Lcom/mojang/serialization/codecs/RecordCodecBuilder;
 
- 
getStartpublic abstract Vec3i getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) - 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- Leov;a(Lerq;Ldqf;)Lkm;
 
- 
getStructureBlockInfospublic abstract List<StructureTemplate.JigsawBlockInfo> getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) - 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- Leov;a(Lerq;Lji;Ldqf;Lazh;)Ljava/util/List;
 
- 
getBoundingBoxpublic abstract BlockBox getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) - 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- Leov;a(Lerq;Lji;Ldqf;)Lenf;
 
- 
generatepublic abstract boolean generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) - 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- Leov;a(Lerq;Ldhh;Ldhf;Ldyu;Lji;Lji;Ldqf;Lenf;Lazh;Leqz;Z)Z
 
- 
getType- 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- Leov;a()Leow;
 
- 
method_16756public void method_16756(WorldAccess world, StructureTemplate.StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box) - Mappings:
- Namespace - Name - Mixin selector - named - method_16756- Lnet/minecraft/structure/pool/StructurePoolElement;method_16756(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/structure/StructureTemplate$StructureBlockInfo;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockBox;)V- intermediary - method_16756- Lnet/minecraft/class_3784;method_16756(Lnet/minecraft/class_1936;Lnet/minecraft/class_3499$class_3501;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_5819;Lnet/minecraft/class_3341;)V- official - a- Leov;a(Ldgk;Lerp$d;Lji;Ldqf;Lazh;Lenf;)V
 
- 
setProjection- 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- Leov;a(Leox$a;)Leov;
 
- 
getProjection- Mappings:
- Namespace - Name - Mixin selector - named - getProjection- Lnet/minecraft/structure/pool/StructurePoolElement;getProjection()Lnet/minecraft/structure/pool/StructurePool$Projection;- intermediary - method_16624- Lnet/minecraft/class_3784;method_16624()Lnet/minecraft/class_3785$class_3786;- official - f- Leov;f()Leox$a;
 
- 
getGroundLevelDeltapublic int getGroundLevelDelta()- Mappings:
- Namespace - Name - Mixin selector - named - getGroundLevelDelta- Lnet/minecraft/structure/pool/StructurePoolElement;getGroundLevelDelta()I- intermediary - method_19308- Lnet/minecraft/class_3784;method_19308()I- official - g- Leov;g()I
 
- 
ofEmpty- Mappings:
- Namespace - Name - Mixin selector - named - ofEmpty- Lnet/minecraft/structure/pool/StructurePoolElement;ofEmpty()Ljava/util/function/Function;- intermediary - method_30438- Lnet/minecraft/class_3784;method_30438()Ljava/util/function/Function;- official - h- Leov;h()Ljava/util/function/Function;
 
- 
ofLegacySingle- Mappings:
- Namespace - Name - Mixin selector - named - ofLegacySingle- Lnet/minecraft/structure/pool/StructurePoolElement;ofLegacySingle(Ljava/lang/String;)Ljava/util/function/Function;- intermediary - method_30425- Lnet/minecraft/class_3784;method_30425(Ljava/lang/String;)Ljava/util/function/Function;- official - a- Leov;a(Ljava/lang/String;)Ljava/util/function/Function;
 
- 
ofProcessedLegacySinglepublic static Function<StructurePool.Projection,LegacySinglePoolElement> ofProcessedLegacySingle(String id, RegistryEntry<StructureProcessorList> processorListEntry) - Mappings:
- Namespace - Name - Mixin selector - named - ofProcessedLegacySingle- Lnet/minecraft/structure/pool/StructurePoolElement;ofProcessedLegacySingle(Ljava/lang/String;Lnet/minecraft/registry/entry/RegistryEntry;)Ljava/util/function/Function;- intermediary - method_30426- Lnet/minecraft/class_3784;method_30426(Ljava/lang/String;Lnet/minecraft/class_6880;)Ljava/util/function/Function;- official - a- Leov;a(Ljava/lang/String;Ljr;)Ljava/util/function/Function;
 
- 
ofSingle- Mappings:
- Namespace - Name - Mixin selector - named - ofSingle- Lnet/minecraft/structure/pool/StructurePoolElement;ofSingle(Ljava/lang/String;)Ljava/util/function/Function;- intermediary - method_30434- Lnet/minecraft/class_3784;method_30434(Ljava/lang/String;)Ljava/util/function/Function;- official - b- Leov;b(Ljava/lang/String;)Ljava/util/function/Function;
 
- 
ofProcessedSinglepublic static Function<StructurePool.Projection,SinglePoolElement> ofProcessedSingle(String id, RegistryEntry<StructureProcessorList> processorListEntry) - Mappings:
- Namespace - Name - Mixin selector - named - ofProcessedSingle- Lnet/minecraft/structure/pool/StructurePoolElement;ofProcessedSingle(Ljava/lang/String;Lnet/minecraft/registry/entry/RegistryEntry;)Ljava/util/function/Function;- intermediary - method_30435- Lnet/minecraft/class_3784;method_30435(Ljava/lang/String;Lnet/minecraft/class_6880;)Ljava/util/function/Function;- official - b- Leov;b(Ljava/lang/String;Ljr;)Ljava/util/function/Function;
 
- 
ofSinglepublic static Function<StructurePool.Projection,SinglePoolElement> ofSingle(String id, StructureLiquidSettings liquidSettings) - Mappings:
- Namespace - Name - Mixin selector - named - ofSingle- Lnet/minecraft/structure/pool/StructurePoolElement;ofSingle(Ljava/lang/String;Lnet/minecraft/structure/StructureLiquidSettings;)Ljava/util/function/Function;- intermediary - method_61014- Lnet/minecraft/class_3784;method_61014(Ljava/lang/String;Lnet/minecraft/class_9822;)Ljava/util/function/Function;- official - a- Leov;a(Ljava/lang/String;Leqz;)Ljava/util/function/Function;
 
- 
ofProcessedSinglepublic static Function<StructurePool.Projection,SinglePoolElement> ofProcessedSingle(String id, RegistryEntry<StructureProcessorList> processorListEntry, StructureLiquidSettings liquidSettings) - Mappings:
- Namespace - Name - Mixin selector - named - ofProcessedSingle- Lnet/minecraft/structure/pool/StructurePoolElement;ofProcessedSingle(Ljava/lang/String;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/structure/StructureLiquidSettings;)Ljava/util/function/Function;- intermediary - method_61016- Lnet/minecraft/class_3784;method_61016(Ljava/lang/String;Lnet/minecraft/class_6880;Lnet/minecraft/class_9822;)Ljava/util/function/Function;- official - a- Leov;a(Ljava/lang/String;Ljr;Leqz;)Ljava/util/function/Function;
 
- 
ofFeaturepublic static Function<StructurePool.Projection,FeaturePoolElement> ofFeature(RegistryEntry<PlacedFeature> placedFeatureEntry) - Mappings:
- Namespace - Name - Mixin selector - named - ofFeature- Lnet/minecraft/structure/pool/StructurePoolElement;ofFeature(Lnet/minecraft/registry/entry/RegistryEntry;)Ljava/util/function/Function;- intermediary - method_30421- Lnet/minecraft/class_3784;method_30421(Lnet/minecraft/class_6880;)Ljava/util/function/Function;- official - a- Leov;a(Ljr;)Ljava/util/function/Function;
 
- 
ofListpublic static Function<StructurePool.Projection,ListPoolElement> ofList(List<Function<StructurePool.Projection, ? extends StructurePoolElement>> elementGetters) - Mappings:
- Namespace - Name - Mixin selector - named - ofList- Lnet/minecraft/structure/pool/StructurePoolElement;ofList(Ljava/util/List;)Ljava/util/function/Function;- intermediary - method_30429- Lnet/minecraft/class_3784;method_30429(Ljava/util/List;)Ljava/util/function/Function;- official - b- Leov;b(Ljava/util/List;)Ljava/util/function/Function;
 
 
-