Topic category: Plugins and third-party tools
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
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)
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.
@Big Martin if you need help how to create Variables PM me on Discord:
DeadlyKitsune#6554
custom variable types are not yet a feature of plugin builder
Do you have a road map for it yet?
@NerdyPuzzle
Can you explain what Base Types exactly do for Mod Elements?
they add them to the registries that those mod elements use
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.
@NerdyPuzzle
How can I create a Mod Element that generates a .json file?
I haven't added json file support
@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?
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.
This looks really cool! I will defiently check it out when I get home :)
It just exits when i try to clone the demo repo