public static class BlockPattern.Result extends Object
Modifier and Type | Field and Description |
---|---|
private LoadingCache<BlockPos,CachedBlockPosition> |
cache |
private int |
depth |
private Direction |
forwards |
private BlockPos |
frontTopLeft |
private int |
height |
private Direction |
up |
private int |
width |
Constructor and Description |
---|
Result(BlockPos frontTopLeft,
Direction forwards,
Direction up,
LoadingCache<BlockPos,CachedBlockPosition> cache,
int width,
int height,
int depth) |
Modifier and Type | Method and Description |
---|---|
Direction |
getForwards() |
BlockPos |
getFrontTopLeft() |
Direction |
getUp() |
String |
toString() |
CachedBlockPosition |
translate(int int2,
int int3,
int int4) |
private final BlockPos frontTopLeft
private final Direction forwards
private final Direction up
private final LoadingCache<BlockPos,CachedBlockPosition> cache
private final int width
private final int height
private final int depth
public Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth)