Sets the type of this item Note that in doing so you will reset the MaterialData for this stack @param type New type to set the items in this stack to
(Material type)
| 71 | * @param type New type to set the items in this stack to |
| 72 | */ |
| 73 | public void setType(Material type) { |
| 74 | setTypeId(type.getId()); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Gets the type id of this item |