(ItemStack aStack, short aMapID)
| 2141 | } |
| 2142 | |
| 2143 | public static NBTTagCompound setMazeMapID(ItemStack aStack, short aMapID) { |
| 2144 | NBTTagCompound tNBT = getNBT(aStack); |
| 2145 | tNBT.setShort("maze_map_id", aMapID); |
| 2146 | set(aStack, tNBT); |
| 2147 | return tNBT; |
| 2148 | } |
| 2149 | public static short getMazeMapID(ItemStack aStack) { |
| 2150 | NBTTagCompound tNBT = getNBT(aStack); |
| 2151 | if (!tNBT.hasKey("maze_map_id")) return -1; |
no test coverage detected