MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / newDoubleNBTList

Method newDoubleNBTList

src/main/java/net/minecraft/entity/Entity.java:1822–1832  ·  view source on GitHub ↗

creates a NBT list from the array of doubles passed to this function

(double... numbers)

Source from the content-addressed store, hash-verified

1820 * creates a NBT list from the array of doubles passed to this function
1821 */
1822 protected NBTTagList newDoubleNBTList(double... numbers)
1823 {
1824 NBTTagList nbttaglist = new NBTTagList();
1825
1826 for (double d0 : numbers)
1827 {
1828 nbttaglist.appendTag(new NBTTagDouble(d0));
1829 }
1830
1831 return nbttaglist;
1832 }
1833
1834 /**
1835 * Returns a new NBTTagList filled with the specified floats

Callers 2

writeToNBTMethod · 0.95
writeEntityToNBTMethod · 0.80

Calls 1

appendTagMethod · 0.95

Tested by

no test coverage detected