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

Method setMazeMapID

src/main/java/gregapi/util/UT.java:2143–2148  ·  view source on GitHub ↗
(ItemStack aStack, short aMapID)

Source from the content-addressed store, hash-verified

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;

Callers 1

findRecipeMethod · 0.80

Calls 2

getNBTMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected