Package net.minecraft.structure.pool
Class FeaturePoolElement
java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
net.minecraft.structure.pool.FeaturePoolElement
public class FeaturePoolElement extends StructurePoolElement
- Mappings:
Namespace Name official ctqintermediary net/minecraft/class_3776named net/minecraft/structure/pool/FeaturePoolElement
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<FeaturePoolElement>CODECprivate Supplier<ConfiguredFeature<?,?>>featureprivate CompoundTagtag -
Constructor Summary
Constructors Modifier Constructor Description protectedFeaturePoolElement(Supplier<ConfiguredFeature<?,?>> feature, StructurePool.Projection projection) -
Method Summary
Modifier and Type Method Description private CompoundTagcreateDefaultJigsawTag()booleangenerate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)BlockBoxgetBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)BlockPosgetStart(StructureManager structureManager, BlockRotation rotation)List<Structure.StructureBlockInfo>getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)StructurePoolElementType<?>getType()StringtoString()Methods inherited from class net.minecraft.structure.pool.StructurePoolElement
getGroundLevelDelta, getProjection, method_16756, method_28883, method_30421, method_30425, method_30426, method_30429, method_30434, method_30435, method_30438, setProjection
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLctq;a:Lcom/mojang/serialization/Codec;intermediary field_24948Lnet/minecraft/class_3776;field_24948:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/pool/FeaturePoolElement;CODEC:Lcom/mojang/serialization/Codec;
-
feature
- Mappings:
Namespace Name Mixin selector official bLctq;b:Ljava/util/function/Supplier;intermediary field_16661Lnet/minecraft/class_3776;field_16661:Ljava/util/function/Supplier;named featureLnet/minecraft/structure/pool/FeaturePoolElement;feature:Ljava/util/function/Supplier;
-
tag
- Mappings:
Namespace Name Mixin selector official cLctq;c:Lmq;intermediary field_16662Lnet/minecraft/class_3776;field_16662:Lnet/minecraft/class_2487;named tagLnet/minecraft/structure/pool/FeaturePoolElement;tag:Lnet/minecraft/nbt/CompoundTag;
-
-
Constructor Details
-
FeaturePoolElement
protected FeaturePoolElement(Supplier<ConfiguredFeature<?,?>> feature, StructurePool.Projection projection)- Mappings:
Namespace Name Mixin selector official <init>Lctq;<init>(Ljava/util/function/Supplier;Lcty$a;)Vintermediary <init>Lnet/minecraft/class_3776;<init>(Ljava/util/function/Supplier;Lnet/minecraft/class_3785$class_3786;)Vnamed <init>Lnet/minecraft/structure/pool/FeaturePoolElement;<init>(Ljava/util/function/Supplier;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
-
-
Method Details
-
createDefaultJigsawTag
- Mappings:
Namespace Name Mixin selector official bLctq;b()Lmq;intermediary method_19299Lnet/minecraft/class_3776;method_19299()Lnet/minecraft/class_2487;named createDefaultJigsawTagLnet/minecraft/structure/pool/FeaturePoolElement;createDefaultJigsawTag()Lnet/minecraft/nbt/CompoundTag;
-
getStart
- Mappings:
Namespace Name Mixin selector official aLctq;a(Lcyj;Lccm;)Lfx;intermediary method_16601Lnet/minecraft/class_3776;method_16601(Lnet/minecraft/class_3485;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2338;named getStartLnet/minecraft/structure/pool/FeaturePoolElement;getStart(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/BlockPos;
-
getStructureBlockInfos
public List<Structure.StructureBlockInfo> getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)- Specified by:
getStructureBlockInfosin classStructurePoolElement- Mappings:
Namespace Name Mixin selector official aLctw;a(Lcyj;Lfx;Lccm;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 BlockBox getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)- Specified by:
getBoundingBoxin classStructurePoolElement- Mappings:
Namespace Name Mixin selector official aLctw;a(Lcyj;Lfx;Lccm;)Lcwn;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 boolean generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)- Specified by:
generatein classStructurePoolElement- Mappings:
Namespace Name Mixin selector official aLctw;a(Lcyj;Lbuq;Lbum;Lcjn;Lfx;Lfx;Lccm;Lcwn;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
- Specified by:
getTypein classStructurePoolElement- Mappings:
Namespace Name Mixin selector official aLctw;a()Lctx;intermediary method_16757Lnet/minecraft/class_3784;method_16757()Lnet/minecraft/class_3816;named getTypeLnet/minecraft/structure/pool/StructurePoolElement;getType()Lnet/minecraft/structure/pool/StructurePoolElementType;
-
toString
-