Depending on the implementation of the DynamicOps used, this may throw an exception or return an empty object if the two formats are incompatible.
Depending on the implementation of the DynamicOps used, this may throw an exception or return an empty object if the two formats are incompatible.
−
In particular, it is *not* safe to convert lists of numbers to NBT in this manner, due to the NBT format's strong typing and the way the NBTDynamicOps attempts to create lists of numbers.
+
In particular, it is '''not''' safe to convert lists of numbers to NBT in this manner, due to the NBT format's strong typing and the way the NBTDynamicOps attempts to create lists of numbers.