Package net.minecraft.structure.pool
Class ListPoolElement
java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
net.minecraft.structure.pool.ListPoolElement
- Mappings:
Namespace Name named net/minecraft/structure/pool/ListPoolElementintermediary net/minecraft/class_3782official ekv
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<ListPoolElement> private final List<StructurePoolElement> -
Constructor Summary
ConstructorsConstructorDescriptionListPoolElement(List<StructurePoolElement> elements, StructurePool.Projection projection) -
Method Summary
Modifier and TypeMethodDescriptionbooleangenerate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, class_9822 class_9822, boolean bool) getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) getType()private voidsetAllElementsProjection(StructurePool.Projection projection) setProjection(StructurePool.Projection projection) toString()Methods inherited from class net.minecraft.structure.pool.StructurePoolElement
getGroundLevelDelta, getProjection, method_16756, method_61014, method_61016, ofEmpty, ofFeature, ofLegacySingle, ofList, ofProcessedLegacySingle, ofProcessedSingle, ofSingle, projectionGetter
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/structure/pool/ListPoolElement;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_24950Lnet/minecraft/class_3782;field_24950:Lcom/mojang/serialization/MapCodec;official aLekv;a:Lcom/mojang/serialization/MapCodec;
-
elements
- Mappings:
Namespace Name Mixin selector named elementsLnet/minecraft/structure/pool/ListPoolElement;elements:Ljava/util/List;intermediary field_16676Lnet/minecraft/class_3782;field_16676:Ljava/util/List;official bLekv;b:Ljava/util/List;
-
-
Constructor Details
-
ListPoolElement
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/pool/ListPoolElement;<init>(Ljava/util/List;Lnet/minecraft/structure/pool/StructurePool$Projection;)Vintermediary <init>Lnet/minecraft/class_3782;<init>(Ljava/util/List;Lnet/minecraft/class_3785$class_3786;)Vofficial <init>Lekv;<init>(Ljava/util/List;Lekz$a;)V
-
-
Method Details
-
getStart
- Specified by:
getStartin classStructurePoolElement- Mappings:
Namespace Name Mixin selector named getStartLnet/minecraft/structure/pool/StructurePoolElement;getStart(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/Vec3i;intermediary method_16601Lnet/minecraft/class_3784;method_16601(Lnet/minecraft/class_3485;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2382;official aLekx;a(Lens;Ldmm;)Lkh;
-
getStructureBlockInfos
public List<StructureTemplate.StructureBlockInfo> getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) - Specified by:
getStructureBlockInfosin classStructurePoolElement- Mappings:
Namespace Name Mixin selector named getStructureBlockInfosLnet/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_16627Lnet/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 aLekx;a(Lens;Ljd;Ldmm;Layw;)Ljava/util/List;
-
getBoundingBox
public BlockBox getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) - Specified by:
getBoundingBoxin classStructurePoolElement- Mappings:
Namespace Name Mixin selector named getBoundingBoxLnet/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_16628Lnet/minecraft/class_3784;method_16628(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;)Lnet/minecraft/class_3341;official aLekx;a(Lens;Ljd;Ldmm;)Lejh;
-
generate
public boolean generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, class_9822 class_9822, boolean bool) - Specified by:
generatein classStructurePoolElement- Mappings:
Namespace Name Mixin selector named generateLnet/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/class_9822;Z)Zintermediary method_16626Lnet/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)Zofficial aLekx;a(Lens;Ldds;Lddq;Lduz;Ljd;Ljd;Ldmm;Lejh;Layw;Lenb;Z)Z
-
getType
- Specified by:
getTypein classStructurePoolElement- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/structure/pool/StructurePoolElement;getType()Lnet/minecraft/structure/pool/StructurePoolElementType;intermediary method_16757Lnet/minecraft/class_3784;method_16757()Lnet/minecraft/class_3816;official aLekx;a()Leky;
-
setProjection
- Overrides:
setProjectionin classStructurePoolElement- Mappings:
Namespace Name Mixin selector named setProjectionLnet/minecraft/structure/pool/StructurePoolElement;setProjection(Lnet/minecraft/structure/pool/StructurePool$Projection;)Lnet/minecraft/structure/pool/StructurePoolElement;intermediary method_16622Lnet/minecraft/class_3784;method_16622(Lnet/minecraft/class_3785$class_3786;)Lnet/minecraft/class_3784;official aLekx;a(Lekz$a;)Lekx;
-
toString
-
setAllElementsProjection
- Mappings:
Namespace Name Mixin selector named setAllElementsProjectionLnet/minecraft/structure/pool/ListPoolElement;setAllElementsProjection(Lnet/minecraft/structure/pool/StructurePool$Projection;)Vintermediary method_19307Lnet/minecraft/class_3782;method_19307(Lnet/minecraft/class_3785$class_3786;)Vofficial bLekv;b(Lekz$a;)V
-