MCItemUseContext

Link to mcitemusecontext

A class to handle some data when using item.

Diese Klasse importieren

Link to diese-klasse-importieren

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;
NameTypeHas GetterHas SetterBeschreibung
Name
direction
Type
Direction
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
hand
Type
MCHand
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
hasSecondaryUseForPlayer
Type
boolean
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
hitVector
Type
MCVector3d
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
placementHorizontalFacing
Type
Direction
Has Getter
true
Has Setter
false
Beschreibung
‚Äč
Name
player
Type
MCPlayerEntity?
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
pos
Type
BlockPos
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
world
Type
MCWorld
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided