public static class MineshaftGenerator.MineshaftCrossing extends MineshaftGenerator.MineshaftPart
StructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
private Direction |
direction |
private boolean |
twoFloors |
mineshaftTypeAIR, boundingBox, length| Constructor and Description |
|---|
MineshaftCrossing(int int2,
BlockBox blockBox,
Direction direction,
MineshaftFeature.Type type) |
MineshaftCrossing(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 BlockBox |
getBoundingBox(List<StructurePiece> list,
Random random,
int int2,
int int3,
int int4,
Direction facing) |
private void |
method_14716(IWorld iWorld,
BlockBox blockBox,
int int2,
int int3,
int int4,
int int5) |
void |
placeJigsaw(StructurePiece structurePiece,
List<StructurePiece> list,
Random random) |
protected void |
toNbt(CompoundTag tag) |
getFenceType, getPlanksType, method_14719addBlock, 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, translateprivate final Direction direction
private final boolean twoFloors
public MineshaftCrossing(StructureManager structureManager, CompoundTag compoundTag)
public MineshaftCrossing(int int2,
BlockBox blockBox,
@Nullable
Direction direction,
MineshaftFeature.Type type)
protected void toNbt(CompoundTag tag)
toNbt in class MineshaftGenerator.MineshaftPartpublic static BlockBox getBoundingBox(List<StructurePiece> list, Random random, int int2, int int3, int int4, Direction facing)
public void placeJigsaw(StructurePiece structurePiece, List<StructurePiece> list, Random random)
placeJigsaw in class StructurePiecepublic boolean generate(IWorld world, StructureAccessor structureAccessor, ChunkGenerator<?> chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate in class StructurePiece