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

Method makeLong

src/main/java/gregapi/util/UT.java:1925–1929  ·  view source on GitHub ↗
(Object aTag, long aValue)

Source from the content-addressed store, hash-verified

1923 }
1924
1925 public static NBTTagCompound makeLong(Object aTag, long aValue) {
1926 NBTTagCompound aNBT = make();
1927 setNumber(aNBT, aTag.toString(), aValue);
1928 return aNBT;
1929 }
1930 public static NBTTagCompound makeLong(NBTTagCompound aNBT, Object aTag, long aValue) {
1931 if (aNBT == null) aNBT = make();
1932 setNumber(aNBT, aTag.toString(), aValue);

Callers 4

getNBTLongMethod · 0.95
generateMethod · 0.80
ic2_orewasherMethod · 0.80
ic2_centrifugeMethod · 0.80

Calls 3

makeMethod · 0.95
setNumberMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected