GrindstoneEvent

Importing the class

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.

script.zs
import crafttweaker.neoforge.api.event.grindstone.GrindstoneEvent;

Extends

GrindstoneEvent extends Event.

Members

Getter
script.zs
// GrindstoneEvent.bottomItem as IItemStack
myGrindstoneEvent.bottomItem

Return Type: IItemStack

Getter
script.zs
// GrindstoneEvent.topItem as IItemStack
myGrindstoneEvent.topItem

Return Type: IItemStack

Getter
script.zs
// GrindstoneEvent.xp as int
myGrindstoneEvent.xp

Return Type: int

Setter
script.zs
// GrindstoneEvent.xp = (xp as int);
myGrindstoneEvent.xp = myInt;

Parameters:

xp Type: int