MCItemUseContext

Link to mcitemusecontext

A class to handle some data when using item.

Importing the class

Link to importing-the-class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.item.MCItemUseContext;
NombreTypeHas GetterHas SetterDescription
Nombre
direction
Type
Direction
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
hand
Type
MCHand
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
hasSecondaryUseForPlayer
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
hitVector
Type
MCVector3d
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
placementHorizontalFacing
Type
Direction
Has Getter
true
Has Setter
false
Description
Nombre
player
Type
MCPlayerEntity?
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
pos
Type
BlockPos
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
world
Type
MCWorld
Has Getter
true
Has Setter
false
Description
No Description Provided