03-25-2017, 12:07 AM
(03-25-2017, 12:00 AM)xoft Wrote: I know it's gonna sound weird coming from me, but would it make sense to make the m_ItemMeta member contain a JSON object? It could be made transparent to Lua (so one could set "m_ItemMeta = LuaTable") and it would be much easier to work with on the C++-side.I can't think of a reason why not.
xoft Wrote:One thing though - how will we decide what properties get parsed into their specific member variables, and what properties stay in the ItemMeta object?You mean what is an NBT-tag and what isn't? I'd say we move all NBT tags over to the ItemMeta object. So things like Lore, CustomName, Enchantments and so on.