public class PoolStructurePiece extends StructurePiece
StructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
private static Logger |
field_24991 |
private int |
groundLevelDelta |
private List<JigsawJunction> |
junctions |
protected StructurePoolElement |
poolElement |
protected BlockPos |
pos |
protected BlockRotation |
rotation |
private StructureManager |
structureManager |
AIR, boundingBox, chainLength| Constructor and Description |
|---|
PoolStructurePiece(StructureManager manager,
CompoundTag tag) |
PoolStructurePiece(StructureManager structureManager,
StructurePoolElement structurePoolElement,
BlockPos blockPos,
int int2,
BlockRotation blockRotation,
BlockBox blockBox) |
| Modifier and Type | Method and Description |
|---|---|
void |
addJunction(JigsawJunction junction) |
boolean |
generate(StructureWorldAccess structureWorldAccess,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
int |
getGroundLevelDelta() |
List<JigsawJunction> |
getJunctions() |
StructurePoolElement |
getPoolElement() |
BlockPos |
getPos() |
BlockRotation |
getRotation() |
boolean |
method_27236(StructureWorldAccess structureWorldAccess,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox blockBox,
BlockPos blockPos,
boolean keepJigsaws) |
protected void |
toNbt(CompoundTag tag) |
String |
toString() |
void |
translate(int x,
int y,
int z) |
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientationprivate static final Logger field_24991
protected final StructurePoolElement poolElement
protected BlockPos pos
private final int groundLevelDelta
protected final BlockRotation rotation
private final List<JigsawJunction> junctions
private final StructureManager structureManager
public PoolStructurePiece(StructureManager structureManager, StructurePoolElement structurePoolElement, BlockPos blockPos, int int2, BlockRotation blockRotation, BlockBox blockBox)
public PoolStructurePiece(StructureManager manager, CompoundTag tag)
protected void toNbt(CompoundTag tag)
toNbt in class StructurePiecepublic boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate in class StructurePiecepublic boolean method_27236(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox blockBox, BlockPos blockPos, boolean keepJigsaws)
public void translate(int x,
int y,
int z)
translate in class StructurePiecepublic BlockRotation getRotation()
getRotation in class StructurePiecepublic StructurePoolElement getPoolElement()
public BlockPos getPos()
public int getGroundLevelDelta()
public void addJunction(JigsawJunction junction)
public List<JigsawJunction> getJunctions()