MCreator Plugin Builder - Plugin development made easy

Started by NerdyPuzzle on

Topic category: Plugins and third-party tools

Last seen on 03:38, 24. Apr 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator Plugin Builder - Plugin development made easy
Wed, 03/06/2024 - 20:15 (edited)

MCreator Plugin Builder is a program that allows the user to easily create MCreator plugins, only requiring you to know how to code in Java. This concept has been attempted before, but none have so far been as simple to use as this, nor offering as many features.


Disclaimer

This project is not official. It is not affiliated with the respective owners and maintainers of MCreator and Pylo.


Features

MCreator Plugin Builder includes support for various options. Here is a summary of most of its capabilities:

 

Procedure blocks


Procedure mutators

Global triggers


Blockly categories


Datalists


Translations


APIs


Model animations


Mod elements


Git integration


Overriding generator templates


Testing in MCreator



These are all of Plugin Builder's capabilities at this time. 

An example plugin project can be cloned using the link https://github.com/NerdyPuzzle/Example-plugin-project.git

The latest version of Plugin Builder can be found here


Changelog

Release 1.3
-Fixed color selectors generating color codes incorrectly in some cases
-Fixed procedure blocks not working when using statements in some cases
-Fixed the copy code button providing incorrect code for statements
-Fixed procedure blocks not working with custom categories in some cases
-Fixed mod elements not generating java code
-Added the logic, math and text procedure categories
-Mod elements no longer require a manual installation of java 17 to compile

Release 1.2
-You can now make procedure block mutators
-Blockly categories can now be subcategories of other categories
-NeoForge generator is now supported
-Added the missing 2023.4 procedure block categories to procedures
-Fixed some issues with the procedure block gui

Release 1.1
-Some minor UI improvements
-Vanilla templates from the MCreator generator plugins can now be overriden

Release 1.0
-UI theme redesign (minecraft launcher inspired)

Beta 4.3
-Fixed client-side global triggers causing minecraft to not load

Beta 4.2
-Fixed mod elements with spaces in their names not compiling
-Added the option to select base types for mod elements
-Added the option to use procedure selectors in mod elements

Beta 4.1
-Fixed some issues that caused crashes

Beta 4.0
-New mod elements can now be made with plugin builder
(Requires java 17 or newer to be installed in order to compile the java files)

Beta 3.0
-Fixed a small bug in procedure json generation
-Global triggers can now be coded fully manually
-Procedure block field inputs can now include default text

Beta 2.1
-Fixed a bug where procedure block code would generate incorrectly
-Procedure block number inputs can now have floats as default values

Beta 2.0
-Fixed a bug that generated extra unused code
-Added support for java model animation templates

Beta 1.0
-Official release
Edited by NerdyPuzzle on Wed, 03/06/2024 - 20:15
Last seen on 03:38, 24. Apr 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No clue how to do that,…
Thu, 04/11/2024 - 20:00

No clue how to do that, sorry.

Last seen on 20:56, 23. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, Why is it considered a…
Sat, 04/13/2024 - 12:07

Hey,

Why is it considered a virus (Trojan horse) ?

Last seen on 04:41, 24. Apr 2024
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Évistix466 I recovered my…
Tue, 04/16/2024 - 04:02

@Évistix466 I recovered my PC which had been broken for 2 weeks, so the video will be released this weekend.

 

Last seen on 02:19, 24. Apr 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i've been testing my plugin…
Mon, 04/22/2024 - 21:33

i've been testing my plugin Alpha Apis Trying to fix this error I'm getting and I was wondering if it has something to do with one of the apis or an issue with the plugin builder?

C:\Users\####\MCreatorWorkspaces\alpha_apis_4\src\main\java\net\mcreator\alphaapis\AlphaApis4Mod.java:26: error: cannot find symbol 
@Mod("alpha_apis_4") 
^ 
  symbol: class Mod 
C:\Users\####\MCreatorWorkspaces\alpha_apis_4\src\main\java\net\mcreator\alphaapis\AlphaApis4Mod.java:31: error: cannot find symbol 
    public AlphaApis4Mod(IEventBus modEventBus) { 
                         ^ 
  symbol:   class IEventBus 
  location: class AlphaApis4Mod 
2 errors 
> Task :compileJava FAILED 
FAILURE: Build failed with an exception. 
* What went wrong: 
Execution failed for task ':compileJava'. 
> Compilation failed; see the compiler error output for details. 
* Try: 
> Run with --info option to get more log output. 
> Run with --scan to get full insights. 
BUILD FAILED in 1m 39s
Last seen on 04:41, 24. Apr 2024
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
THG, your plugin is not…
Wed, 04/24/2024 - 04:41

THG, your plugin is not compatible with MCreator version 2024.1

You should add the "supportedversions" in your plugin.json between "minversion" and "info", example:

  "minversion": 202100199999,

 "supportedversions": [

   202400115713,

   202400115821

 ],

 "info": 

I tested Craft Tweaker, it works, you have to test them one by one.