Topic category: User side tutorials
First load up mcreator
Second make the food you want to become an apple type deal.
Third if you want, make a second food (optional)
Anyway, follow this.
Once you have the food made, make a new mod named procedure(name it your food if you would like)
go to player management and add in potion effects, as many as you would like.
go to logic and loops and click the if and do thing
go to logic and loops and click the true and place it on the if area and choose true
go to world management and click play, set it up how you like and place it in the do bubble under the true
go to player management and do remove choose your apple
Go to player management and choose add (choose your apple that you want to receive back as like you didn't eat the whole food item)
save procedure, go to pie or whatever food you want it on and choose right click that procedure and when eaten that procedure
You are done.
change food items above in image to ones you want
than in your food item that you created go to this page and put the procedure on the two spots I have below
Hit next and you are done. You now have a gapple edible in creative and survival that doesn't require hunger and removes itself plus gives something else back on top of it. Enjoy. If you want it to require hunger, you will need to find the food hunger and mesh it in there somewhere