creates a NBT list from the array of doubles passed to this function
(double... numbers)
| 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 |
no test coverage detected