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

Method makeShort

src/main/java/gregapi/util/UT.java:1903–1907  ·  view source on GitHub ↗
(Object aTag, short aValue)

Source from the content-addressed store, hash-verified

1901 }
1902
1903 public static NBTTagCompound makeShort(Object aTag, short aValue) {
1904 NBTTagCompound aNBT = make();
1905 aNBT.setShort(aTag.toString(), aValue);
1906 return aNBT;
1907 }
1908 public static NBTTagCompound makeShort(NBTTagCompound aNBT, Object aTag, short aValue) {
1909 if (aNBT == null) aNBT = make();
1910 aNBT.setShort(aTag.toString(), aValue);

Callers 14

makeInvMethod · 0.95
getNBTShortMethod · 0.95
generateMethod · 0.80
generateMethod · 0.80
generateMethod · 0.80
generateMethod · 0.80
generateMethod · 0.80
generateMethod · 0.80
generateMethod · 0.80
findRecipeMethod · 0.80
findRecipeMethod · 0.80
writeToNBT2Method · 0.80

Calls 2

makeMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected