Is there a basic Tutorial for making a Custom Mod Element for my Java Plugin?

Started by SparkleArts on

Topic category: Plugins and third-party tools

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a basic Tutorial for making a Custom Mod Element for my Java Plugin?

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.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Download the DemojavaPlugin…
Tue, 10/31/2023 - 20:28

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).

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What about the Mod Element…
Sun, 11/12/2023 - 14:57

What about the Mod Element Structure I mean how it is looking?

Is this determined inside the definition file?