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

Method makeInt

src/main/java/gregapi/util/UT.java:1914–1918  ·  view source on GitHub ↗
(Object aTag, int aValue)

Source from the content-addressed store, hash-verified

1912 }
1913
1914 public static NBTTagCompound makeInt(Object aTag, int aValue) {
1915 NBTTagCompound aNBT = make();
1916 aNBT.setInteger(aTag.toString(), aValue);
1917 return aNBT;
1918 }
1919 public static NBTTagCompound makeInt(NBTTagCompound aNBT, Object aTag, int aValue) {
1920 if (aNBT == null) aNBT = make();
1921 aNBT.setInteger(aTag.toString(), aValue);

Callers 2

getNBTIntegerMethod · 0.95
onModInit2Method · 0.80

Calls 2

makeMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected