public static class BlockPattern.PatternHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
depth |
private EnumFacing |
forwards |
private BlockPos |
frontTopLeft |
private int |
height |
private com.google.common.cache.LoadingCache<BlockPos,BlockWorldState> |
lcache |
private EnumFacing |
up |
private int |
width |
Constructor and Description |
---|
PatternHelper(BlockPos posIn,
EnumFacing fingerIn,
EnumFacing thumbIn,
com.google.common.cache.LoadingCache<BlockPos,BlockWorldState> lcacheIn,
int widthIn,
int heightIn,
int depthIn) |
Modifier and Type | Method and Description |
---|---|
EnumFacing |
getForwards() |
BlockPos |
getFrontTopLeft() |
int |
getHeight() |
EnumFacing |
getUp() |
int |
getWidth() |
java.lang.String |
toString() |
BlockWorldState |
translateOffset(int palmOffset,
int thumbOffset,
int fingerOffset) |
private final BlockPos frontTopLeft
private final EnumFacing forwards
private final EnumFacing up
private final com.google.common.cache.LoadingCache<BlockPos,BlockWorldState> lcache
private final int width
private final int height
private final int depth
public PatternHelper(BlockPos posIn, EnumFacing fingerIn, EnumFacing thumbIn, com.google.common.cache.LoadingCache<BlockPos,BlockWorldState> lcacheIn, int widthIn, int heightIn, int depthIn)
public BlockPos getFrontTopLeft()
public EnumFacing getForwards()
public EnumFacing getUp()
public int getWidth()
public int getHeight()
public BlockWorldState translateOffset(int palmOffset, int thumbOffset, int fingerOffset)
public java.lang.String toString()
toString
in class java.lang.Object