Package net.minecraft.structure.pool
Class FeaturePoolElement
java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
net.minecraft.structure.pool.FeaturePoolElement
- Mappings:
Namespace Name official dbs
intermediary net/minecraft/class_3776
named net/minecraft/structure/pool/FeaturePoolElement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FeaturePoolElement>
private final Supplier<PlacedFeature>
private final NbtCompound
-
Constructor Summary
ModifierConstructorDescriptionprotected
FeaturePoolElement
(Supplier<PlacedFeature> feature, StructurePool.Projection projection) -
Method Summary
Modifier and TypeMethodDescriptionprivate NbtCompound
boolean
generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) getStart
(StructureManager structureManager, BlockRotation rotation) getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) getType()
toString()
Methods inherited from class net.minecraft.structure.pool.StructurePoolElement
getGroundLevelDelta, getProjection, method_16756, method_28883, ofEmpty, ofFeature, ofLegacySingle, ofList, ofProcessedLegacySingle, ofProcessedSingle, ofSingle, setProjection
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldbs;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
Ldbs;b:Ljava/util/function/Supplier;
intermediary field_16661
Lnet/minecraft/class_3776;field_16661:Ljava/util/function/Supplier;
named feature
Lnet/minecraft/structure/pool/FeaturePoolElement;feature:Ljava/util/function/Supplier;
-
nbt
- Mappings:
Namespace Name Mixin selector official c
Ldbs;c:Loc;
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
-
FeaturePoolElement
- Mappings:
Namespace Name Mixin selector official <init>
Ldbs;<init>(Ljava/util/function/Supplier;Ldca$a;)V
intermediary <init>
Lnet/minecraft/class_3776;<init>(Ljava/util/function/Supplier;Lnet/minecraft/class_3785$class_3786;)V
named <init>
Lnet/minecraft/structure/pool/FeaturePoolElement;<init>(Ljava/util/function/Supplier;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
-
-
Method Details
-
createDefaultJigsawNbt
- Mappings:
Namespace Name Mixin selector official b
Ldbs;b()Loc;
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:
getStart
in classStructurePoolElement
- Mappings:
Namespace Name Mixin selector official a
Ldby;a(Ldgp;Lciu;)Lhc;
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/StructureManager;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/Vec3i;
-
getStructureBlockInfos
public List<Structure.StructureBlockInfo> getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) - Specified by:
getStructureBlockInfos
in classStructurePoolElement
- Mappings:
Namespace Name Mixin selector official a
Ldby;a(Ldgp;Lgh;Lciu;Ljava/util/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;Ljava/util/Random;)Ljava/util/List;
named getStructureBlockInfos
Lnet/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:
getBoundingBox
in classStructurePoolElement
- Mappings:
Namespace Name Mixin selector official a
Ldby;a(Ldgp;Lgh;Lciu;)Ldeh;
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/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:
generate
in classStructurePoolElement
- Mappings:
Namespace Name Mixin selector official a
Ldby;a(Ldgp;Lcav;Lcau;Lcpz;Lgh;Lgh;Lciu;Ldeh;Ljava/util/Random;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;Ljava/util/Random;Z)Z
named generate
Lnet/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:
getType
in classStructurePoolElement
- Mappings:
Namespace Name Mixin selector official a
Ldby;a()Ldbz;
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
-