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> loadingCache,
int width,
int height,
int depth) |
Modifier and Type | Method and Description |
---|---|
Direction |
getForwards() |
BlockPos |
getFrontTopLeft() |
int |
getHeight() |
BlockPattern.TeleportTarget |
getTeleportTarget(Direction direction,
BlockPos blockPos,
double double2,
Vec3d vec3d,
double double3) |
Direction |
getUp() |
int |
getWidth() |
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> loadingCache, int width, int height, int depth)
public BlockPos getFrontTopLeft()
public Direction getForwards()
public Direction getUp()
public int getWidth()
public int getHeight()
public CachedBlockPosition translate(int int2, int int3, int int4)
public BlockPattern.TeleportTarget getTeleportTarget(Direction direction, BlockPos blockPos, double double2, Vec3d vec3d, double double3)