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

Method makeBool

src/main/java/gregapi/util/UT.java:1881–1885  ·  view source on GitHub ↗
(Object aTag, boolean aValue)

Source from the content-addressed store, hash-verified

1879 }
1880
1881 public static NBTTagCompound makeBool(Object aTag, boolean aValue) {
1882 NBTTagCompound aNBT = make();
1883 aNBT.setBoolean(aTag.toString(), aValue);
1884 return aNBT;
1885 }
1886 public static NBTTagCompound makeBool(NBTTagCompound aNBT, Object aTag, boolean aValue) {
1887 if (aNBT == null) aNBT = make();
1888 aNBT.setBoolean(aTag.toString(), aValue);

Callers 1

getNBTBooleanMethod · 0.95

Calls 3

makeMethod · 0.95
setBooleanMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected