MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / writeDoubleArray

Method writeDoubleArray

common/buildcraft/lib/misc/NBTUtils.java:250–256  ·  view source on GitHub ↗
(double[] data)

Source from the content-addressed store, hash-verified

248 }
249
250 public static NBTBase writeDoubleArray(double[] data) {
251 NBTTagList list = new NBTTagList();
252 for (double d : data) {
253 list.appendTag(new NBTTagDouble(d));
254 }
255 return list;
256 }
257
258 public static double[] readDoubleArray(NBTBase tag, int intendedLength) {
259 double[] arr = new double[intendedLength];

Callers 1

serializeNBTMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected