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

Method makeByte

src/main/java/gregapi/util/UT.java:1892–1896  ·  view source on GitHub ↗
(Object aTag, byte aValue)

Source from the content-addressed store, hash-verified

1890 }
1891
1892 public static NBTTagCompound makeByte(Object aTag, byte aValue) {
1893 NBTTagCompound aNBT = make();
1894 aNBT.setByte(aTag.toString(), aValue);
1895 return aNBT;
1896 }
1897 public static NBTTagCompound makeByte(NBTTagCompound aNBT, Object aTag, byte aValue) {
1898 if (aNBT == null) aNBT = make();
1899 aNBT.setByte(aTag.toString(), aValue);

Callers 1

getNBTByteMethod · 0.95

Calls 2

makeMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected