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

Method makeFloat

src/main/java/gregapi/util/UT.java:1936–1940  ·  view source on GitHub ↗
(Object aTag, float aValue)

Source from the content-addressed store, hash-verified

1934 }
1935
1936 public static NBTTagCompound makeFloat(Object aTag, float aValue) {
1937 NBTTagCompound aNBT = make();
1938 aNBT.setFloat(aTag.toString(), aValue);
1939 return aNBT;
1940 }
1941 public static NBTTagCompound makeFloat(NBTTagCompound aNBT, Object aTag, float aValue) {
1942 if (aNBT == null) aNBT = make();
1943 aNBT.setFloat(aTag.toString(), aValue);

Callers 1

getNBTFloatMethod · 0.95

Calls 2

makeMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected