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;
// UseOnContext.clickedFace as Direction
myUseOnContext . clickedFace
Return Type:
Direction
// UseOnContext.clickedFace() as Direction;
myUseOnContext . clickedFace();
Return Type:
Direction
// UseOnContext.clickedPos as BlockPos
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
// UseOnContext.itemInHand as ItemStack
myUseOnContext . itemInHand
Return Type:
ItemStack
// UseOnContext.itemInHand() as ItemStack;
myUseOnContext . itemInHand();
Return Type:
ItemStack
// UseOnContext.level as Level
Return Type:
Level
// UseOnContext.level() as Level;
Return Type:
Level
// UseOnContext.player as Player
Return Type:
Player
// UseOnContext.player() as Player;
Return Type:
Player
// UseOnContext.rotation as float
Return Type:
float
// UseOnContext.rotation() as float;
myUseOnContext . rotation();
Return Type:
float