Topic category: Feature requests and ideas for MCreator
Right now, whenever you want to make a procedure have custom dependencies, you have to use it somewhere in the procedure in order for it to be a "required" dependency.
At first, it sounds like a good feature, why would you include dependencies you are not using? Well, there's a reason.
When you make procedures and treat them like functions, you'll hit a lot of road blocks, mainly the fact you can't predefine all of its parameters when you first create the procedure. You have a large procedure, you want to define all the parameters and use them in other procedures first before making the procedure code. You do cheesy tactics like make local variables that hold your dependency or get annoying with dependency issues when you begin working on your procedure and dependencies change as you add stuff.
I think it would be a good feature to add something like a procedure block or something similar to how local variables are created, where you could tell the procedure element that it would require this dependency. When defining a single dependency, there's the dependency name, dependency type, checkbox for null checking, and whether it should have a default value if the dependency is not passed.
I always had the trouble of wanting to add to my old procedure only for it to change dependencies and breaking every other procedure that uses it because it did not have that dependency and I have to manually go to each procedure and hit save. Would be nice to have a way to predefine dependencies so that will not be an issue.