MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / getMazeMapID

Method getMazeMapID

src/main/java/gregapi/util/UT.java:2149–2153  ·  view source on GitHub ↗
(ItemStack aStack)

Source from the content-addressed store, hash-verified

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;

Callers 2

getDataToolTipMethod · 0.95
findRecipeMethod · 0.80

Calls 1

getNBTMethod · 0.95

Tested by

no test coverage detected