FormSpec Gurus... help please
How to...
append an ItemStack's meta string onto an inventory tooltip?
edit: I should probably explain myself a bit better. I know how to do it, by using...
...in the formspec. What I would like to do is something like this example...
Given some node: "test:test". Now lets say I have an itemstack for said node and I set it's metadata to "fast". In an inventory it's tooltip will say "test", because that is it's name. I want it to say "test fast".
Do you think this is possible without having to edit existing inventory/chest mods?
append an ItemStack's meta string onto an inventory tooltip?
edit: I should probably explain myself a bit better. I know how to do it, by using...
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
tooltip[<gui_element_name>;<tooltip_text>]
...in the formspec. What I would like to do is something like this example...
Given some node: "test:test". Now lets say I have an itemstack for said node and I set it's metadata to "fast". In an inventory it's tooltip will say "test", because that is it's name. I want it to say "test fast".
Do you think this is possible without having to edit existing inventory/chest mods?