Started by
SparkleArts
on
Topic category: Plugins and third-party tools
I want to dive into Java Plugin Creation (Custom Mod Elements) but I need a basic Tutorial like what I need before I can everything(Software etc.), Which Classes I need to use etc.
Because I have great Ideas for my upcoming Plugin Forge Plus(I think the biggest Plugin that ever existed :P) but I need to know how I can create a Custom Mod Element.
Download the DemojavaPlugin repository (MCR's GH). Then, add a listener for the PreGeneratorsLoading event and register your mod element type there (ModElementTypeLoader#register). Once done, simply add the definition file + templates for the ME to at least one generator, so you can see the ME inside MCR (unsupported MEs are hidden).
What about the Mod Element Structure I mean how it is looking?
Is this determined inside the definition file?
You can check out the source codes for plugins that add mod elements.
For example, Nerdy's JEI Plugin has its source code hosted on github here : https://github.com/NerdyPuzzle/Just-enough-recipes-MCreator