Package net.minecraft.structure.pool
Class FeaturePoolElement
java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
net.minecraft.structure.pool.FeaturePoolElement
- Mappings:
Namespace Name named net/minecraft/structure/pool/FeaturePoolElementintermediary net/minecraft/class_3776official etp
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<FeaturePoolElement> private static final Identifierprivate final RegistryEntry<PlacedFeature> private final NbtCompound -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFeaturePoolElement(RegistryEntry<PlacedFeature> feature, StructurePool.Projection projection) -
Method Summary
Modifier and TypeMethodDescriptionprivate NbtCompoundbooleangenerate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) getType()toString()Methods inherited from class net.minecraft.structure.pool.StructurePoolElement
getGroundLevelDelta, getProjection, method_16756, ofEmpty, ofFeature, ofLegacySingle, ofList, ofProcessedLegacySingle, ofProcessedSingle, ofProcessedSingle, ofSingle, ofSingle, projectionGetter, setProjection
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/structure/pool/FeaturePoolElement;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_24948Lnet/minecraft/class_3776;field_24948:Lcom/mojang/serialization/MapCodec;official aLetp;a:Lcom/mojang/serialization/MapCodec;
-
DEFAULT_NAME
- Mappings:
Namespace Name Mixin selector named DEFAULT_NAMELnet/minecraft/structure/pool/FeaturePoolElement;DEFAULT_NAME:Lnet/minecraft/util/Identifier;intermediary field_57830Lnet/minecraft/class_3776;field_57830:Lnet/minecraft/class_2960;official bLetp;b:Lalr;
-
feature
- Mappings:
Namespace Name Mixin selector named featureLnet/minecraft/structure/pool/FeaturePoolElement;feature:Lnet/minecraft/registry/entry/RegistryEntry;intermediary field_16661Lnet/minecraft/class_3776;field_16661:Lnet/minecraft/class_6880;official cLetp;c:Ljg;
-
nbt
- Mappings:
Namespace Name Mixin selector named nbtLnet/minecraft/structure/pool/FeaturePoolElement;nbt:Lnet/minecraft/nbt/NbtCompound;intermediary field_16662Lnet/minecraft/class_3776;field_16662:Lnet/minecraft/class_2487;official dLetp;d:Lua;
-
-
Constructor Details
-
FeaturePoolElement
protected FeaturePoolElement(RegistryEntry<PlacedFeature> feature, StructurePool.Projection projection) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/pool/FeaturePoolElement;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/structure/pool/StructurePool$Projection;)Vintermediary <init>Lnet/minecraft/class_3776;<init>(Lnet/minecraft/class_6880;Lnet/minecraft/class_3785$class_3786;)Vofficial <init>Letp;<init>(Ljg;Letx$a;)V
-
-
Method Details
-
createDefaultJigsawNbt
- Mappings:
Namespace Name Mixin selector named createDefaultJigsawNbtLnet/minecraft/structure/pool/FeaturePoolElement;createDefaultJigsawNbt()Lnet/minecraft/nbt/NbtCompound;intermediary method_19299Lnet/minecraft/class_3776;method_19299()Lnet/minecraft/class_2487;official bLetp;b()Lua;
-
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 aLetv;a(Lewq;Ldui;)Lkb;
-
getStructureBlockInfos
public List<StructureTemplate.JigsawBlockInfo> 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 aLetv;a(Lewq;Liw;Ldui;Lbai;)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 aLetv;a(Lewq;Liw;Ldui;)Lesf;
-
generate
public boolean generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) - 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/structure/StructureLiquidSettings;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 aLetv;a(Lewq;Ldli;Ldlf;Ledo;Liw;Liw;Ldui;Lesf;Lbai;Levz;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 aLetv;a()Letw;
-
toString
-