Parses and creates a new ItemStack from the given string
A count and damage can be given, to be applied on this itemstack
overload 1:
world.newItem(item)
Method Property | Fluent Description | Representation |
item accepts | a String | |
Return Value | an ItemStack | |
overload 2:
world.newItem(item, count)
Method Property | Fluent Description | Representation |
item accepts | a String | |
count accepts | an Integer | |
Return Value | an ItemStack | |
overload 3:
world.newItem(item, count, damage)
Method Property | Fluent Description | Representation |
item accepts | a String | |
count accepts | an Integer | |
damage accepts | an Integer | |
Return Value | an ItemStack | |