Item Stack
Defaults stack size to 1, with no extra data
Parameters
type
item material
An item stack with no extra data
Parameters
type
item material
amount
stack size
An item stack with the specified damage / durabiltiy
Parameters
type
item material
amount
stack size
damage
durability / damage
Creates getClassById new item stack derived from the specified stack
Parameters
stack
the stack to copy
Throws
if the specified stack is null or returns an item meta not created by the item factory