Topic category: Feature requests and ideas for MCreator
Hi, I would love to make vanilla items (e.g. Sugar) edible in my mod, but this is currently impossible to do in MCreator, without hacky methods using global triggers which are mentioned in other forum posts.
It would be great if the 'Item Extension' mod element included an option to make a vanilla item edible. Triggers are not required, as the global trigger "When player finishes using item" should work just fine for detecting when the item is eaten.
If the chosen vanilla item is already edible, it would be cool if there were options to change how it behaves. For example, item use duration and whether the food can be eaten all the time. Basically, just copy the same options from the 'Food properties' tab of the Item mod element. Heck, this system could even replace that tab entirely, like it did for modded furnace fuels.
An example of a use case would be expanding on Glow Berries. I would love to make it so that they give the player Night Vision when eaten. This is possible to code right now, however the berries can only be eaten when the player is hungry, which is annoying. It would be great if I could modify the Glow Berries to be edible all the time, using this proposed feature.