Code: Select all
itemstack:get_meta():set_string("tool_capabilities", "{}")
But when I actually write some sort of capability I want to edit, it dosen't work...
For example, if I try to change the full_punch_interval:
Code: Select all
itemstack:get_meta():set_string("tool_capabilities", "{full_punch_interval=1.0}")
So how do I make it work?