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
The plugins that THG created are for Forge and adding the mixins they work for me for Forge 1.20.1
Cleaning the gradle cache can't hurt.
See https://mcreator.net/wiki/gradle-setup-errors
Ok, Doo89, NerdyPuzzle, Thanks for helping me. I thought MCreator was pretty good at catching gradle cache corruption.
Whoops, spoke too soon. I tried Clearing the gradle caches and the entire gradle folder, Rebuilding The gradle project and the entire MCreator project itself. Soo I have no idea once again. If it will help, here is the Github repository: https://github.com/THG2009/Alpha-APIs
In patchouli for Neoforge you have the letter 's' at the end of the code.
In patchouli and Jade for Neoforge, do not put fg.deobf
And CraftTweaker crashes gradle for Neoforge only.
Test it: https://mega.nz/file/W1dlQZiD#dKobhOTmkOGI6CUsGPaHxMvHugR0mDhom4H3HiG6DcA
Thanks to everyone who helped me port my plugin to NeoForge! You were a big hello!
HELLO
https://imgur.com/a/OueZ8zq
Hi, i tried to make a plugin but the procedure dont work and i dont get why it do that, can anyone help me pls ?
Btw it looks like the template dont save because here you got the .json of the procedure block :
{
"args0": [
{
"type": "input_statement",
"name": "Number"
}
],
"inputsInline": true,
"previousStatement": null,
"nextStatement": null,
"colour": "#1059df",
"mcreator": {
"toolbox_id": "entitymanagement",
"toolbox_init": [
],
"statements": [
{
"name": "Number",
"disable_local_variables": false
}
],
"dependencies": [
{
"name": "world",
"type": "world"
}
],
"required_apis": [
"jujutsucraft_api"
]
}
}
My bad, it save the template in another place, but the procedure block still dont work and idk why
Please if anyone can help me i put all i did here.
https://imgur.com/a/gfgQZio
Xopi: In your 2nd screenshot, the references to the components (%1 and %2) are missing from the text of your block.
Doo89: But the plugin did it like that, so i dont get where im supposed to put them