public static class StrongholdGenerator.FiveWayCrossing extends StrongholdGenerator.Piece
StrongholdGenerator.Piece.EntranceType
StructurePiece.BlockRandomizer
Modifier and Type | Field and Description |
---|---|
private boolean |
lowerLeftExists |
private boolean |
lowerRightExists |
private boolean |
upperLeftExists |
private boolean |
upperRightExists |
entryDoor
AIR, boundingBox, length
Constructor and Description |
---|
FiveWayCrossing(int int2,
Random random,
BlockBox blockBox,
Direction direction) |
FiveWayCrossing(StructureManager structureManager,
CompoundTag compoundTag) |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(IWorld world,
StructureAccessor structureAccessor,
ChunkGenerator<?> chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
static StrongholdGenerator.FiveWayCrossing |
method_14858(List<StructurePiece> list,
Random random,
int int2,
int int3,
int int4,
Direction direction,
int int5) |
void |
placeJigsaw(StructurePiece structurePiece,
List<StructurePiece> list,
Random random) |
protected void |
toNbt(CompoundTag tag) |
generateEntrance, getRandomEntrance, method_14870, method_14871, method_14873, method_14874
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillWithOutline, fillWithOutline, fillWithOutlineUnderSealevel, getBlockAt, getBoundingBox, getFacing, getLength, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isUnderSeaLevel, method_14916, method_14919, method_14936, method_14937, setOrientation, translate
private final boolean lowerLeftExists
private final boolean upperLeftExists
private final boolean lowerRightExists
private final boolean upperRightExists
public FiveWayCrossing(int int2, Random random, BlockBox blockBox, Direction direction)
public FiveWayCrossing(StructureManager structureManager, CompoundTag compoundTag)
protected void toNbt(CompoundTag tag)
toNbt
in class StrongholdGenerator.Piece
public void placeJigsaw(StructurePiece structurePiece, List<StructurePiece> list, Random random)
placeJigsaw
in class StructurePiece
public static StrongholdGenerator.FiveWayCrossing method_14858(List<StructurePiece> list, Random random, int int2, int int3, int int4, Direction direction, int int5)
public boolean generate(IWorld world, StructureAccessor structureAccessor, ChunkGenerator<?> chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate
in class StructurePiece