Started by
Ali107
on
Topic category: Feature requests and ideas for MCreator
What would be a neat feature is when hovering over procedure blocks, a tooltip would show explaining what it does / what it returns.
You could have it be an optional behind the scenes, so that not all procedure blocks need to have tooltips.
Quite a Simple feature.
Though I only would like for the tooltip feature to work so that over time procedure blocks get a tooltip explaining them rather than everything at once. (which would take too much time)
How do I tell you that this is already a feature? Of course, not all procedures have them, but some do.

This is what the procedure json looks like
{"args0": [{"type": "input_value","name": "slotid","check": "Number"},{"type": "input_value","name": "entity","check": "Entity"}],"inputsInline": true,"output": "MCItem","colour": 350,"mcreator": {"group": "items","toolbox_id": "entitydata","toolbox_init": ["<value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value>","<value name=\"entity\"><block type=\"entity_from_deps\"></block></value>"],"inputs": ["slotid","entity"]}}Sorry, I don't think the json has anything to do with it; Seems like tooltips are simply added by defining them on Lang like so:
blockly.block.entity_get_armor_slot_item.tooltip=ID 3 is helmet, ID 0 are boots
blockly.block.entity_set_armor_slot_item.tooltip=ID 3 is helmet, ID 0 are boots
ooh, that's a thing!
I did not know that lol
tbh, it should be used more often.
Indeed :)