Action.setToggleItem

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