Class BlockPattern.PatternHelper
- java.lang.Object
-
- net.minecraft.block.state.pattern.BlockPattern.PatternHelper
-
- Enclosing class:
- BlockPattern
public static class BlockPattern.PatternHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PatternHelper(BlockPos parBlockPos, EnumFacing parEnumFacing, EnumFacing parEnumFacing2, EaglerLoadingCache<BlockPos,BlockWorldState> parLoadingCache, int parInt1, int parInt2, int parInt3)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockPos
func_181117_a()
int
func_181118_d()
int
func_181119_e()
EnumFacing
getFinger()
EnumFacing
getThumb()
java.lang.String
toString()
BlockWorldState
translateOffset(int palmOffset, int thumbOffset, int fingerOffset)
+ Offsets the position of pos in the direction of finger and thumb facing by offset amounts, follows the right-hand rule for cross products (finger, thumb, palm) @return A new BlockPos offset in the facing directions
-
-
-
Constructor Detail
-
PatternHelper
public PatternHelper(BlockPos parBlockPos, EnumFacing parEnumFacing, EnumFacing parEnumFacing2, EaglerLoadingCache<BlockPos,BlockWorldState> parLoadingCache, int parInt1, int parInt2, int parInt3)
-
-
Method Detail
-
func_181117_a
public BlockPos func_181117_a()
-
getFinger
public EnumFacing getFinger()
-
getThumb
public EnumFacing getThumb()
-
func_181118_d
public int func_181118_d()
-
func_181119_e
public int func_181119_e()
-
translateOffset
public BlockWorldState translateOffset(int palmOffset, int thumbOffset, int fingerOffset)
+ Offsets the position of pos in the direction of finger and thumb facing by offset amounts, follows the right-hand rule for cross products (finger, thumb, palm) @return A new BlockPos offset in the facing directions
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-