MCreator Plugin Builder - Plugin development made easy

Started by NerdyPuzzle on

Topic category: Plugins and third-party tools

MCreator Plugin Builder - Plugin development made easy
Fri, 07/19/2024 - 12:32 (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


Variable types


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 2.0
-Updated global trigger generated code to work with the 1.20.6+ neoforge event system
-Added a search bar to filter plugin files

Release 1.8
-Added the option to make new variable types

Release 1.7
-Fixed deleting global triggers or procedures crashing the program
-Fixed global trigger custom dependencies always being lowercase named

Release 1.6
-Fixed a bug that caused procedure template code to replace the code of other procedures
-Procedures can now be coded manually too like global triggers

Release 1.5
-Fixed global triggers not exporting code properly
-Global triggers can now have new custom dependencies
-Improved the procedure template text editor

Release 1.4
-Global triggers and procedures now support the damage source variable
-Global triggers and procedures now save as json in plugin builder projects
-Refactored old hardcoded systems in preparation of new plugin builder features

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 Fri, 07/19/2024 - 12:32
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sugg 1: Would it be possible…
Thu, 05/25/2023 - 05:46

Sugg 1:

Would it be possible to add a templates button, we can either add templates using sugg 2 or just put the templates in the screenshots (they are very useful)

 

Sugg 2:

An API to feature extend the Program

(can't wait for somebody to make a plugin creator for the plugin creator)

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are there any tutorials on…
Sat, 05/27/2023 - 04:48

Are there any tutorials on this program? I have no idea what I'm doing and I really need a new variable type (Enums) and I don't even know where to begin.

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Big Martin if you need help…
Sat, 05/27/2023 - 11:26

@Big Martin if you need help how to create Variables PM me on Discord:
 

DeadlyKitsune#6554

custom variable types are…
Sat, 05/27/2023 - 12:19

custom variable types are not yet a feature of plugin builder

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you have a road map for…
Sat, 05/27/2023 - 14:46

Do you have a road map for it yet?

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@NerdyPuzzle Can you explain…
Sat, 05/27/2023 - 20:15

@NerdyPuzzle

Can you explain what Base Types exactly do for Mod Elements?

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to select…
Mon, 05/29/2023 - 21:17

Is it possible to select Datalists inside of the Widget Types for the Mod Element?

I want to recreate the Enchantment Mod Element with some Changes.

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@NerdyPuzzleHow can I create…
Wed, 06/07/2023 - 08:48

@NerdyPuzzle

How can I create a Mod Element that generates a .json file?

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@NerdyPuzzleFor what should…
Sun, 06/18/2023 - 18:39

@NerdyPuzzle

For what should I use Global Templates and for what should I use Local Templates in Mod Element?

Also how to use for example dropdown check in the Mod Element Code for example if Dropdown "Basic" is selected then replace certain code in the Mod Element?

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A global template is a…
Mon, 06/26/2023 - 02:47

A global template is a template that is generated once, as soon as one mod element of this type is created, and all mod elements of this type use this global template. A normal/local template is a template that is only used by the specific mod element. For example, if I have 2 blocks (Block1 and Block2), both Block1 and Block2 will use the same global template, while they will each have their own local template.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This looks really cool! I…
Tue, 07/11/2023 - 18:51

This looks really cool! I will defiently check it out when I get home :)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It just exits when i try to…
Mon, 09/04/2023 - 21:30

It just exits when i try to clone the demo repo