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 official cxzintermediary net/minecraft/class_3784named net/minecraft/structure/pool/StructurePoolElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<StructurePoolElement>private StructurePool.Projection -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStructurePoolElement(StructurePool.Projection projection) -
Method Summary
Modifier and TypeMethodDescriptionabstract booleangenerate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)abstract BlockBoxgetBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)intabstract Vec3igetStart(StructureManager structureManager, BlockRotation blockRotation)abstract List<Structure.StructureBlockInfo>getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)abstract StructurePoolElementType<?>getType()voidmethod_16756(WorldAccess worldAccess, Structure.StructureBlockInfo structureBlockInfo, BlockPos blockPos, BlockRotation blockRotation, Random random, BlockBox blockBox)protected static <E extends StructurePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E,StructurePool.Projection>method_30421(ConfiguredFeature<?,?> configuredFeature)method_30425(String string)method_30426(String string, StructureProcessorList structureProcessorList)method_30429(List<Function<StructurePool.Projection,? extends StructurePoolElement>> list)method_30434(String string)method_30435(String string, StructureProcessorList structureProcessorList)setProjection(StructurePool.Projection projection)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official eLcxz;e:Lcom/mojang/serialization/Codec;intermediary field_24953Lnet/minecraft/class_3784;field_24953:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/pool/StructurePoolElement;CODEC:Lcom/mojang/serialization/Codec;
-
projection
- Mappings:
Namespace Name Mixin selector official aLcxz;a:Lcyb$a;intermediary field_16862Lnet/minecraft/class_3784;field_16862:Lnet/minecraft/class_3785$class_3786;named projectionLnet/minecraft/structure/pool/StructurePoolElement;projection:Lnet/minecraft/structure/pool/StructurePool$Projection;
-
-
Constructor Details
-
StructurePoolElement
- Mappings:
Namespace Name Mixin selector official <init>Lcxz;<init>(Lcyb$a;)Vintermediary <init>Lnet/minecraft/class_3784;<init>(Lnet/minecraft/class_3785$class_3786;)Vnamed <init>Lnet/minecraft/structure/pool/StructurePoolElement;<init>(Lnet/minecraft/structure/pool/StructurePool$Projection;)V
-
-
Method Details
-
method_28883
protected static <E extends StructurePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E,StructurePool.Projection> method_28883()- Mappings:
Namespace Name Mixin selector official dLcxz;d()Lcom/mojang/serialization/codecs/RecordCodecBuilder;intermediary method_28883Lnet/minecraft/class_3784;method_28883()Lcom/mojang/serialization/codecs/RecordCodecBuilder;named method_28883Lnet/minecraft/structure/pool/StructurePoolElement;method_28883()Lcom/mojang/serialization/codecs/RecordCodecBuilder;
-
getStart
- Mappings:
Namespace Name Mixin selector official aLcxz;a(Ldcp;Lcfk;)Lhb;intermediary method_16601Lnet/minecraft/class_3784;method_16601(Lnet/minecraft/class_3485;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2382;named getStartLnet/minecraft/structure/pool/StructurePoolElement;getStart(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/Vec3i;
-
getStructureBlockInfos
public abstract List<Structure.StructureBlockInfo> getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)- Mappings:
Namespace Name Mixin selector official aLcxz;a(Ldcp;Lgg;Lcfk;Ljava/util/Random;)Ljava/util/List;intermediary method_16627Lnet/minecraft/class_3784;method_16627(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Ljava/util/Random;)Ljava/util/List;named getStructureBlockInfosLnet/minecraft/structure/pool/StructurePoolElement;getStructureBlockInfos(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Ljava/util/Random;)Ljava/util/List;
-
getBoundingBox
public abstract BlockBox getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)- Mappings:
Namespace Name Mixin selector official aLcxz;a(Ldcp;Lgg;Lcfk;)Ldaq;intermediary method_16628Lnet/minecraft/class_3784;method_16628(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;)Lnet/minecraft/class_3341;named getBoundingBoxLnet/minecraft/structure/pool/StructurePoolElement;getBoundingBox(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/BlockBox;
-
generate
public abstract boolean generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)- Mappings:
Namespace Name Mixin selector official aLcxz;a(Ldcp;Lbxk;Lbxg;Lcmn;Lgg;Lgg;Lcfk;Ldaq;Ljava/util/Random;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;Ljava/util/Random;Z)Znamed generateLnet/minecraft/structure/pool/StructurePoolElement;generate(Lnet/minecraft/structure/StructureManager;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;Ljava/util/Random;Z)Z
-
getType
- Mappings:
Namespace Name Mixin selector official aLcxz;a()Lcya;intermediary method_16757Lnet/minecraft/class_3784;method_16757()Lnet/minecraft/class_3816;named getTypeLnet/minecraft/structure/pool/StructurePoolElement;getType()Lnet/minecraft/structure/pool/StructurePoolElementType;
-
method_16756
public void method_16756(WorldAccess worldAccess, Structure.StructureBlockInfo structureBlockInfo, BlockPos blockPos, BlockRotation blockRotation, Random random, BlockBox blockBox)- Mappings:
Namespace Name Mixin selector official aLcxz;a(Lbwq;Ldcu$c;Lgg;Lcfk;Ljava/util/Random;Ldaq;)Vintermediary method_16756Lnet/minecraft/class_3784;method_16756(Lnet/minecraft/class_1936;Lnet/minecraft/class_3499$class_3501;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Ljava/util/Random;Lnet/minecraft/class_3341;)Vnamed method_16756Lnet/minecraft/structure/pool/StructurePoolElement;method_16756(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/structure/Structure$StructureBlockInfo;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Ljava/util/Random;Lnet/minecraft/util/math/BlockBox;)V
-
setProjection
- Mappings:
Namespace Name Mixin selector official aLcxz;a(Lcyb$a;)Lcxz;intermediary method_16622Lnet/minecraft/class_3784;method_16622(Lnet/minecraft/class_3785$class_3786;)Lnet/minecraft/class_3784;named setProjectionLnet/minecraft/structure/pool/StructurePoolElement;setProjection(Lnet/minecraft/structure/pool/StructurePool$Projection;)Lnet/minecraft/structure/pool/StructurePoolElement;
-
getProjection
- Mappings:
Namespace Name Mixin selector official eLcxz;e()Lcyb$a;intermediary method_16624Lnet/minecraft/class_3784;method_16624()Lnet/minecraft/class_3785$class_3786;named getProjectionLnet/minecraft/structure/pool/StructurePoolElement;getProjection()Lnet/minecraft/structure/pool/StructurePool$Projection;
-
getGroundLevelDelta
public int getGroundLevelDelta()- Mappings:
Namespace Name Mixin selector official fLcxz;f()Iintermediary method_19308Lnet/minecraft/class_3784;method_19308()Inamed getGroundLevelDeltaLnet/minecraft/structure/pool/StructurePoolElement;getGroundLevelDelta()I
-
method_30438
- Mappings:
Namespace Name Mixin selector official gLcxz;g()Ljava/util/function/Function;intermediary method_30438Lnet/minecraft/class_3784;method_30438()Ljava/util/function/Function;named method_30438Lnet/minecraft/structure/pool/StructurePoolElement;method_30438()Ljava/util/function/Function;
-
method_30425
public static Function<StructurePool.Projection,LegacySinglePoolElement> method_30425(String string)- Mappings:
Namespace Name Mixin selector official aLcxz;a(Ljava/lang/String;)Ljava/util/function/Function;intermediary method_30425Lnet/minecraft/class_3784;method_30425(Ljava/lang/String;)Ljava/util/function/Function;named method_30425Lnet/minecraft/structure/pool/StructurePoolElement;method_30425(Ljava/lang/String;)Ljava/util/function/Function;
-
method_30426
public static Function<StructurePool.Projection,LegacySinglePoolElement> method_30426(String string, StructureProcessorList structureProcessorList)- Mappings:
Namespace Name Mixin selector official aLcxz;a(Ljava/lang/String;Ldcs;)Ljava/util/function/Function;intermediary method_30426Lnet/minecraft/class_3784;method_30426(Ljava/lang/String;Lnet/minecraft/class_5497;)Ljava/util/function/Function;named method_30426Lnet/minecraft/structure/pool/StructurePoolElement;method_30426(Ljava/lang/String;Lnet/minecraft/structure/processor/StructureProcessorList;)Ljava/util/function/Function;
-
method_30434
- Mappings:
Namespace Name Mixin selector official bLcxz;b(Ljava/lang/String;)Ljava/util/function/Function;intermediary method_30434Lnet/minecraft/class_3784;method_30434(Ljava/lang/String;)Ljava/util/function/Function;named method_30434Lnet/minecraft/structure/pool/StructurePoolElement;method_30434(Ljava/lang/String;)Ljava/util/function/Function;
-
method_30435
public static Function<StructurePool.Projection,SinglePoolElement> method_30435(String string, StructureProcessorList structureProcessorList)- Mappings:
Namespace Name Mixin selector official bLcxz;b(Ljava/lang/String;Ldcs;)Ljava/util/function/Function;intermediary method_30435Lnet/minecraft/class_3784;method_30435(Ljava/lang/String;Lnet/minecraft/class_5497;)Ljava/util/function/Function;named method_30435Lnet/minecraft/structure/pool/StructurePoolElement;method_30435(Ljava/lang/String;Lnet/minecraft/structure/processor/StructureProcessorList;)Ljava/util/function/Function;
-
method_30421
public static Function<StructurePool.Projection,FeaturePoolElement> method_30421(ConfiguredFeature<?,?> configuredFeature)- Mappings:
Namespace Name Mixin selector official aLcxz;a(Lcrn;)Ljava/util/function/Function;intermediary method_30421Lnet/minecraft/class_3784;method_30421(Lnet/minecraft/class_2975;)Ljava/util/function/Function;named method_30421Lnet/minecraft/structure/pool/StructurePoolElement;method_30421(Lnet/minecraft/world/gen/feature/ConfiguredFeature;)Ljava/util/function/Function;
-
method_30429
public static Function<StructurePool.Projection,ListPoolElement> method_30429(List<Function<StructurePool.Projection,? extends StructurePoolElement>> list)- Mappings:
Namespace Name Mixin selector official aLcxz;a(Ljava/util/List;)Ljava/util/function/Function;intermediary method_30429Lnet/minecraft/class_3784;method_30429(Ljava/util/List;)Ljava/util/function/Function;named method_30429Lnet/minecraft/structure/pool/StructurePoolElement;method_30429(Ljava/util/List;)Ljava/util/function/Function;
-