Sets the type id of this item Note that in doing so you will reset the MaterialData for this stack @param type New type id to set the items in this stack to
(int type)
| 91 | * @param type New type id to set the items in this stack to |
| 92 | */ |
| 93 | public void setTypeId(int type) { |
| 94 | this.type = type; |
| 95 | createData((byte) 0); |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Gets the amount of items in this stack |