Package net.minecraft.structure
Class PoolStructurePiece
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.PoolStructurePiece
- Mappings:
Namespace Name official drl
intermediary net/minecraft/class_3790
named net/minecraft/structure/PoolStructurePiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final List<JigsawJunction>
private static final Logger
protected final StructurePoolElement
protected BlockPos
protected final BlockRotation
private final StructureTemplateManager
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
ConstructorDescriptionPoolStructurePiece
(StructureContext context, NbtCompound nbt) PoolStructurePiece
(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addJunction
(JigsawJunction junction) void
generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pivot, boolean keepJigsaws) void
generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) int
getPos()
toString()
void
translate
(int x, int y, int z) protected void
writeNbt
(StructureContext context, NbtCompound nbt) Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, 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 official d
Ldrl;d:Lorg/slf4j/Logger;
intermediary field_24991
Lnet/minecraft/class_3790;field_24991:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/structure/PoolStructurePiece;LOGGER:Lorg/slf4j/Logger;
-
poolElement
- Mappings:
Namespace Name Mixin selector official a
Ldrl;a:Ldsw;
intermediary field_16693
Lnet/minecraft/class_3790;field_16693:Lnet/minecraft/class_3784;
named poolElement
Lnet/minecraft/structure/PoolStructurePiece;poolElement:Lnet/minecraft/structure/pool/StructurePoolElement;
-
pos
- Mappings:
Namespace Name Mixin selector official b
Ldrl;b:Lgt;
intermediary field_16695
Lnet/minecraft/class_3790;field_16695:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/structure/PoolStructurePiece;pos:Lnet/minecraft/util/math/BlockPos;
-
groundLevelDelta
private final int groundLevelDelta- Mappings:
Namespace Name Mixin selector official h
Ldrl;h:I
intermediary field_16692
Lnet/minecraft/class_3790;field_16692:I
named groundLevelDelta
Lnet/minecraft/structure/PoolStructurePiece;groundLevelDelta:I
-
rotation
- Mappings:
Namespace Name Mixin selector official c
Ldrl;c:Lcvq;
intermediary field_16694
Lnet/minecraft/class_3790;field_16694:Lnet/minecraft/class_2470;
named rotation
Lnet/minecraft/structure/PoolStructurePiece;rotation:Lnet/minecraft/util/BlockRotation;
-
junctions
- Mappings:
Namespace Name Mixin selector official i
Ldrl;i:Ljava/util/List;
intermediary field_16696
Lnet/minecraft/class_3790;field_16696:Ljava/util/List;
named junctions
Lnet/minecraft/structure/PoolStructurePiece;junctions:Ljava/util/List;
-
structureTemplateManager
- Mappings:
Namespace Name Mixin selector official j
Ldrl;j:Ldvi;
intermediary field_17660
Lnet/minecraft/class_3790;field_17660:Lnet/minecraft/class_3485;
named structureTemplateManager
Lnet/minecraft/structure/PoolStructurePiece;structureTemplateManager:Lnet/minecraft/structure/StructureTemplateManager;
-
-
Constructor Details
-
PoolStructurePiece
public PoolStructurePiece(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) - Mappings:
Namespace Name Mixin selector official <init>
Ldrl;<init>(Ldvi;Ldsw;Lgt;ILcvq;Ldrh;)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;)V
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;)V
-
PoolStructurePiece
- Mappings:
Namespace Name Mixin selector official <init>
Ldrl;<init>(Ldsf;Lre;)V
intermediary <init>
Lnet/minecraft/class_3790;<init>(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/structure/PoolStructurePiece;<init>(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
writeNbt
- Specified by:
writeNbt
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldrt;a(Ldsf;Lre;)V
intermediary method_14943
Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
named writeNbt
Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V
-
generate
public void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) - Specified by:
generate
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldrt;a(Lcnb;Lcmz;Lddo;Lapo;Ldrh;Lclp;Lgt;)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
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
-
generate
public void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pivot, boolean keepJigsaws) - Mappings:
Namespace Name Mixin selector official a
Ldrl;a(Lcnb;Lcmz;Lddo;Lapo;Ldrh;Lgt;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
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
-
translate
public void translate(int x, int y, int z) - Overrides:
translate
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldrt;a(III)V
intermediary method_14922
Lnet/minecraft/class_3443;method_14922(III)V
named translate
Lnet/minecraft/structure/StructurePiece;translate(III)V
-
getRotation
- Overrides:
getRotation
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldrt;a()Lcvq;
intermediary method_16888
Lnet/minecraft/class_3443;method_16888()Lnet/minecraft/class_2470;
named getRotation
Lnet/minecraft/structure/StructurePiece;getRotation()Lnet/minecraft/util/BlockRotation;
-
toString
-
getPoolElement
- Mappings:
Namespace Name Mixin selector official b
Ldrl;b()Ldsw;
intermediary method_16644
Lnet/minecraft/class_3790;method_16644()Lnet/minecraft/class_3784;
named getPoolElement
Lnet/minecraft/structure/PoolStructurePiece;getPoolElement()Lnet/minecraft/structure/pool/StructurePoolElement;
-
getPos
- Mappings:
Namespace Name Mixin selector official c
Ldrl;c()Lgt;
intermediary method_16648
Lnet/minecraft/class_3790;method_16648()Lnet/minecraft/class_2338;
named getPos
Lnet/minecraft/structure/PoolStructurePiece;getPos()Lnet/minecraft/util/math/BlockPos;
-
getGroundLevelDelta
public int getGroundLevelDelta()- Mappings:
Namespace Name Mixin selector official d
Ldrl;d()I
intermediary method_16646
Lnet/minecraft/class_3790;method_16646()I
named getGroundLevelDelta
Lnet/minecraft/structure/PoolStructurePiece;getGroundLevelDelta()I
-
addJunction
- Mappings:
Namespace Name Mixin selector official a
Ldrl;a(Ldsr;)V
intermediary method_16647
Lnet/minecraft/class_3790;method_16647(Lnet/minecraft/class_3780;)V
named addJunction
Lnet/minecraft/structure/PoolStructurePiece;addJunction(Lnet/minecraft/structure/JigsawJunction;)V
-
getJunctions
- Mappings:
Namespace Name Mixin selector official e
Ldrl;e()Ljava/util/List;
intermediary method_16645
Lnet/minecraft/class_3790;method_16645()Ljava/util/List;
named getJunctions
Lnet/minecraft/structure/PoolStructurePiece;getJunctions()Ljava/util/List;
-