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