If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at
the top of the file.
import crafttweaker . api.item . UseOnContext;
myUseOnContext . clickedFace
Return Type:
Direction
myUseOnContext . clickedFace();
Return Type:
Direction
myUseOnContext . clickedPos
Return Type:
BlockPos
// UseOnContext.clickedPos() as BlockPos ; myUseOnContext . clickedPos();
Return Type:
BlockPos
// UseOnContext.clickLocation as Vec3 myUseOnContext . clickLocation
Return Type:
Vec3
// UseOnContext.clickLocation() as Vec3 ; myUseOnContext . clickLocation();
Return Type:
Vec3
// UseOnContext.horizontalDirection as Direction myUseOnContext . horizontalDirection
Return Type:
Direction
// UseOnContext.horizontalDirection() as Direction ; myUseOnContext . horizontalDirection();
Return Type:
Direction
// UseOnContext.isInside as bool
Return Type:
bool
// UseOnContext.isInside() as bool;
myUseOnContext . isInside();
Return Type:
bool
// UseOnContext.isSecondaryUseActive as bool
myUseOnContext . isSecondaryUseActive
Return Type:
bool
// UseOnContext.isSecondaryUseActive() as bool;
myUseOnContext . isSecondaryUseActive();
Return Type:
bool
myUseOnContext . itemInHand
Return Type:
ItemStack
myUseOnContext . itemInHand();
Return Type:
ItemStack
// UseOnContext.level() as Level ;
Return Type:
Level
// UseOnContext.rotation as float
Return Type:
float
// UseOnContext.rotation() as float;
myUseOnContext . rotation();
Return Type:
float