Action.toggleItem

Sets the item of the Action when it is toggled
overload 1:
Action:toggleItem(item)
Method Property Fluent Description Representation
item accepts an ItemStack
Return Value an Action
overload 2:
Action:toggleItem(item)
Method Property Fluent Description Representation
item accepts a String
Return Value an Action
a a