(ItemStack aStack)
| 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; |
| 2152 | return tNBT.getShort("maze_map_id"); |
| 2153 | } |
| 2154 | public static NBTTagCompound setMazeMapID(NBTTagCompound aNBT, short aMapID) { |
| 2155 | aNBT.setShort("maze_map_id", aMapID); |
| 2156 | return aNBT; |
no test coverage detected