Package net.minecraft.structure
Class PoolStructurePiece
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.PoolStructurePiece
- Mappings:
- Namespace - Name - named - net/minecraft/structure/PoolStructurePiece- intermediary - net/minecraft/class_3790- official - enj
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.structure.StructurePieceStructurePiece.BlockRandomizer
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intprivate final List<JigsawJunction> private final StructureLiquidSettingsprivate static final Loggerprotected final StructurePoolElementprotected BlockPosprotected final BlockRotationprivate final StructureTemplateManagerFields inherited from class net.minecraft.structure.StructurePieceAIR, boundingBox, chainLength
- 
Constructor SummaryConstructorsConstructorDescriptionPoolStructurePiece(StructureContext context, NbtCompound nbt) PoolStructurePiece(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox, StructureLiquidSettings liquidSettings) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddJunction(JigsawJunction junction) voidgenerate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pivot, boolean keepJigsaws) voidgenerate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) intgetPos()toString()voidtranslate(int x, int y, int z) protected voidwriteNbt(StructureContext context, NbtCompound nbt) Methods inherited from class net.minecraft.structure.StructurePieceaddBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, boundingBox, canAddBlock, canReplace, createBox, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, firstIntersecting, getBlockAt, getBoundingBox, getCenter, getChainLength, getFacing, getMirror, getRandomHorizontalDirection, getType, intersectsChunk, isUnderSeaLevel, offsetPos, orientateChest, setChainLength, setOrientation, toNbt
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - named - LOGGER- Lnet/minecraft/structure/PoolStructurePiece;LOGGER:Lorg/slf4j/Logger;- intermediary - field_24991- Lnet/minecraft/class_3790;field_24991:Lorg/slf4j/Logger;- official - d- Lenj;d:Lorg/slf4j/Logger;
 
- 
poolElement- Mappings:
- Namespace - Name - Mixin selector - named - poolElement- Lnet/minecraft/structure/PoolStructurePiece;poolElement:Lnet/minecraft/structure/pool/StructurePoolElement;- intermediary - field_16693- Lnet/minecraft/class_3790;field_16693:Lnet/minecraft/class_3784;- official - a- Lenj;a:Leov;
 
- 
pos- Mappings:
- Namespace - Name - Mixin selector - named - pos- Lnet/minecraft/structure/PoolStructurePiece;pos:Lnet/minecraft/util/math/BlockPos;- intermediary - field_16695- Lnet/minecraft/class_3790;field_16695:Lnet/minecraft/class_2338;- official - b- Lenj;b:Lji;
 
- 
groundLevelDeltaprivate final int groundLevelDelta- Mappings:
- Namespace - Name - Mixin selector - named - groundLevelDelta- Lnet/minecraft/structure/PoolStructurePiece;groundLevelDelta:I- intermediary - field_16692- Lnet/minecraft/class_3790;field_16692:I- official - h- Lenj;h:I
 
- 
rotation- Mappings:
- Namespace - Name - Mixin selector - named - rotation- Lnet/minecraft/structure/PoolStructurePiece;rotation:Lnet/minecraft/util/BlockRotation;- intermediary - field_16694- Lnet/minecraft/class_3790;field_16694:Lnet/minecraft/class_2470;- official - c- Lenj;c:Ldqf;
 
- 
junctions- Mappings:
- Namespace - Name - Mixin selector - named - junctions- Lnet/minecraft/structure/PoolStructurePiece;junctions:Ljava/util/List;- intermediary - field_16696- Lnet/minecraft/class_3790;field_16696:Ljava/util/List;- official - i- Lenj;i:Ljava/util/List;
 
- 
structureTemplateManager- Mappings:
- Namespace - Name - Mixin selector - named - structureTemplateManager- Lnet/minecraft/structure/PoolStructurePiece;structureTemplateManager:Lnet/minecraft/structure/StructureTemplateManager;- intermediary - field_17660- Lnet/minecraft/class_3790;field_17660:Lnet/minecraft/class_3485;- official - j- Lenj;j:Lerq;
 
- 
liquidSettings- Mappings:
- Namespace - Name - Mixin selector - named - liquidSettings- Lnet/minecraft/structure/PoolStructurePiece;liquidSettings:Lnet/minecraft/structure/StructureLiquidSettings;- intermediary - field_52228- Lnet/minecraft/class_3790;field_52228:Lnet/minecraft/class_9822;- official - k- Lenj;k:Leqz;
 
 
- 
- 
Constructor Details- 
PoolStructurePiecepublic PoolStructurePiece(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox, StructureLiquidSettings liquidSettings) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/structure/PoolStructurePiece;<init>(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/structure/pool/StructurePoolElement;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/structure/StructureLiquidSettings;)V- intermediary - <init>- Lnet/minecraft/class_3790;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_3784;Lnet/minecraft/class_2338;ILnet/minecraft/class_2470;Lnet/minecraft/class_3341;Lnet/minecraft/class_9822;)V- official - <init>- Lenj;<init>(Lerq;Leov;Lji;ILdqf;Lenf;Leqz;)V
 
- 
PoolStructurePiece- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/structure/PoolStructurePiece;<init>(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V- intermediary - <init>- Lnet/minecraft/class_3790;<init>(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V- official - <init>- Lenj;<init>(Leod;Ltq;)V
 
 
- 
- 
Method Details- 
writeNbt- Specified by:
- writeNbtin class- StructurePiece
- Mappings:
- Namespace - Name - Mixin selector - named - writeNbt- Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V- intermediary - method_14943- Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V- official - a- Lenr;a(Leod;Ltq;)V
 
- 
generatepublic void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) - Specified by:
- generatein class- StructurePiece
- Mappings:
- Namespace - Name - Mixin selector - named - generate- Lnet/minecraft/structure/StructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/BlockPos;)V- intermediary - method_14931- Lnet/minecraft/class_3443;method_14931(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_5819;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;Lnet/minecraft/class_2338;)V- official - a- Lenr;a(Ldhh;Ldhf;Ldyu;Lazh;Lenf;Ldfp;Lji;)V
 
- 
generatepublic void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pivot, boolean keepJigsaws) - Mappings:
- Namespace - Name - Mixin selector - named - generate- Lnet/minecraft/structure/PoolStructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/BlockPos;Z)V- intermediary - method_27236- Lnet/minecraft/class_3790;method_27236(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_5819;Lnet/minecraft/class_3341;Lnet/minecraft/class_2338;Z)V- official - a- Lenj;a(Ldhh;Ldhf;Ldyu;Lazh;Lenf;Lji;Z)V
 
- 
translatepublic void translate(int x, int y, int z) - Overrides:
- translatein class- StructurePiece
- Mappings:
- Namespace - Name - Mixin selector - named - translate- Lnet/minecraft/structure/StructurePiece;translate(III)V- intermediary - method_14922- Lnet/minecraft/class_3443;method_14922(III)V- official - a- Lenr;a(III)V
 
- 
getRotation- Overrides:
- getRotationin class- StructurePiece
- Mappings:
- Namespace - Name - Mixin selector - named - getRotation- Lnet/minecraft/structure/StructurePiece;getRotation()Lnet/minecraft/util/BlockRotation;- intermediary - method_16888- Lnet/minecraft/class_3443;method_16888()Lnet/minecraft/class_2470;- official - a- Lenr;a()Ldqf;
 
- 
toString
- 
getPoolElement- Mappings:
- Namespace - Name - Mixin selector - named - getPoolElement- Lnet/minecraft/structure/PoolStructurePiece;getPoolElement()Lnet/minecraft/structure/pool/StructurePoolElement;- intermediary - method_16644- Lnet/minecraft/class_3790;method_16644()Lnet/minecraft/class_3784;- official - b- Lenj;b()Leov;
 
- 
getPos- Mappings:
- Namespace - Name - Mixin selector - named - getPos- Lnet/minecraft/structure/PoolStructurePiece;getPos()Lnet/minecraft/util/math/BlockPos;- intermediary - method_16648- Lnet/minecraft/class_3790;method_16648()Lnet/minecraft/class_2338;- official - c- Lenj;c()Lji;
 
- 
getGroundLevelDeltapublic int getGroundLevelDelta()- Mappings:
- Namespace - Name - Mixin selector - named - getGroundLevelDelta- Lnet/minecraft/structure/PoolStructurePiece;getGroundLevelDelta()I- intermediary - method_16646- Lnet/minecraft/class_3790;method_16646()I- official - d- Lenj;d()I
 
- 
addJunction- Mappings:
- Namespace - Name - Mixin selector - named - addJunction- Lnet/minecraft/structure/PoolStructurePiece;addJunction(Lnet/minecraft/structure/JigsawJunction;)V- intermediary - method_16647- Lnet/minecraft/class_3790;method_16647(Lnet/minecraft/class_3780;)V- official - a- Lenj;a(Leoq;)V
 
- 
getJunctions- Mappings:
- Namespace - Name - Mixin selector - named - getJunctions- Lnet/minecraft/structure/PoolStructurePiece;getJunctions()Ljava/util/List;- intermediary - method_16645- Lnet/minecraft/class_3790;method_16645()Ljava/util/List;- official - e- Lenj;e()Ljava/util/List;
 
 
-