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

Method makeDouble

src/main/java/gregapi/util/UT.java:1947–1951  ·  view source on GitHub ↗
(Object aTag, double aValue)

Source from the content-addressed store, hash-verified

1945 }
1946
1947 public static NBTTagCompound makeDouble(Object aTag, double aValue) {
1948 NBTTagCompound aNBT = make();
1949 aNBT.setDouble(aTag.toString(), aValue);
1950 return aNBT;
1951 }
1952 public static NBTTagCompound makeDouble(NBTTagCompound aNBT, Object aTag, double aValue) {
1953 if (aNBT == null) aNBT = make();
1954 aNBT.setDouble(aTag.toString(), aValue);

Callers 1

getNBTDoubleMethod · 0.95

Calls 2

makeMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected