Package net.minecraft.structure
Class PoolStructurePiece
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.PoolStructurePiece
- Mappings:
Namespace Name named net/minecraft/structure/PoolStructurePieceintermediary net/minecraft/class_3790official ehf
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final List<JigsawJunction> private static final Loggerprotected final StructurePoolElementprotected BlockPosprotected final BlockRotationprivate final StructureTemplateManagerFields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength -
Constructor Summary
ConstructorsConstructorDescriptionPoolStructurePiece(StructureContext context, NbtCompound nbt) PoolStructurePiece(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) -
Method Summary
Modifier 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.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 named LOGGERLnet/minecraft/structure/PoolStructurePiece;LOGGER:Lorg/slf4j/Logger;intermediary field_24991Lnet/minecraft/class_3790;field_24991:Lorg/slf4j/Logger;official dLehf;d:Lorg/slf4j/Logger;
-
poolElement
- Mappings:
Namespace Name Mixin selector named poolElementLnet/minecraft/structure/PoolStructurePiece;poolElement:Lnet/minecraft/structure/pool/StructurePoolElement;intermediary field_16693Lnet/minecraft/class_3790;field_16693:Lnet/minecraft/class_3784;official aLehf;a:Leiq;
-
pos
- Mappings:
Namespace Name Mixin selector named posLnet/minecraft/structure/PoolStructurePiece;pos:Lnet/minecraft/util/math/BlockPos;intermediary field_16695Lnet/minecraft/class_3790;field_16695:Lnet/minecraft/class_2338;official bLehf;b:Lio;
-
groundLevelDelta
private final int groundLevelDelta- Mappings:
Namespace Name Mixin selector named groundLevelDeltaLnet/minecraft/structure/PoolStructurePiece;groundLevelDelta:Iintermediary field_16692Lnet/minecraft/class_3790;field_16692:Iofficial hLehf;h:I
-
rotation
- Mappings:
Namespace Name Mixin selector named rotationLnet/minecraft/structure/PoolStructurePiece;rotation:Lnet/minecraft/util/BlockRotation;intermediary field_16694Lnet/minecraft/class_3790;field_16694:Lnet/minecraft/class_2470;official cLehf;c:Ldkl;
-
junctions
- Mappings:
Namespace Name Mixin selector named junctionsLnet/minecraft/structure/PoolStructurePiece;junctions:Ljava/util/List;intermediary field_16696Lnet/minecraft/class_3790;field_16696:Ljava/util/List;official iLehf;i:Ljava/util/List;
-
structureTemplateManager
- Mappings:
Namespace Name Mixin selector named structureTemplateManagerLnet/minecraft/structure/PoolStructurePiece;structureTemplateManager:Lnet/minecraft/structure/StructureTemplateManager;intermediary field_17660Lnet/minecraft/class_3790;field_17660:Lnet/minecraft/class_3485;official jLehf;j:Lelk;
-
-
Constructor Details
-
PoolStructurePiece
public PoolStructurePiece(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) - 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;)Vintermediary <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;)Vofficial <init>Lehf;<init>(Lelk;Leiq;Lio;ILdkl;Lehb;)V
-
PoolStructurePiece
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/PoolStructurePiece;<init>(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)Vintermediary <init>Lnet/minecraft/class_3790;<init>(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)Vofficial <init>Lehf;<init>(Lehz;Lud;)V
-
-
Method Details
-
writeNbt
- Specified by:
writeNbtin classStructurePiece- Mappings:
Namespace Name Mixin selector named writeNbtLnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_14943Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)Vofficial aLehn;a(Lehz;Lud;)V
-
generate
public void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) - Specified by:
generatein classStructurePiece- Mappings:
Namespace Name Mixin selector named generateLnet/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;)Vintermediary method_14931Lnet/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;)Vofficial aLehn;a(Ldbs;Ldbq;Ldsy;Layk;Lehb;Ldae;Lio;)V
-
generate
public void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pivot, boolean keepJigsaws) - Mappings:
Namespace Name Mixin selector named generateLnet/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)Vintermediary method_27236Lnet/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)Vofficial aLehf;a(Ldbs;Ldbq;Ldsy;Layk;Lehb;Lio;Z)V
-
translate
public void translate(int x, int y, int z) - Overrides:
translatein classStructurePiece- Mappings:
Namespace Name Mixin selector named translateLnet/minecraft/structure/StructurePiece;translate(III)Vintermediary method_14922Lnet/minecraft/class_3443;method_14922(III)Vofficial aLehn;a(III)V
-
getRotation
- Overrides:
getRotationin classStructurePiece- Mappings:
Namespace Name Mixin selector named getRotationLnet/minecraft/structure/StructurePiece;getRotation()Lnet/minecraft/util/BlockRotation;intermediary method_16888Lnet/minecraft/class_3443;method_16888()Lnet/minecraft/class_2470;official aLehn;a()Ldkl;
-
toString
-
getPoolElement
- Mappings:
Namespace Name Mixin selector named getPoolElementLnet/minecraft/structure/PoolStructurePiece;getPoolElement()Lnet/minecraft/structure/pool/StructurePoolElement;intermediary method_16644Lnet/minecraft/class_3790;method_16644()Lnet/minecraft/class_3784;official bLehf;b()Leiq;
-
getPos
- Mappings:
Namespace Name Mixin selector named getPosLnet/minecraft/structure/PoolStructurePiece;getPos()Lnet/minecraft/util/math/BlockPos;intermediary method_16648Lnet/minecraft/class_3790;method_16648()Lnet/minecraft/class_2338;official cLehf;c()Lio;
-
getGroundLevelDelta
public int getGroundLevelDelta()- Mappings:
Namespace Name Mixin selector named getGroundLevelDeltaLnet/minecraft/structure/PoolStructurePiece;getGroundLevelDelta()Iintermediary method_16646Lnet/minecraft/class_3790;method_16646()Iofficial dLehf;d()I
-
addJunction
- Mappings:
Namespace Name Mixin selector named addJunctionLnet/minecraft/structure/PoolStructurePiece;addJunction(Lnet/minecraft/structure/JigsawJunction;)Vintermediary method_16647Lnet/minecraft/class_3790;method_16647(Lnet/minecraft/class_3780;)Vofficial aLehf;a(Leil;)V
-
getJunctions
- Mappings:
Namespace Name Mixin selector named getJunctionsLnet/minecraft/structure/PoolStructurePiece;getJunctions()Ljava/util/List;intermediary method_16645Lnet/minecraft/class_3790;method_16645()Ljava/util/List;official eLehf;e()Ljava/util/List;
-