![]() Id (Mandatory): This is the ID of your plugin. Let's take a look at an existing plugin.json file. It contains all of the necessary data for MCreator to properly read your plugin. Plugin.json is the most important part of your plugin. At the time of writing the supported Minecraft versions for MCreator is 1.14.4 and 1.15.2. This is where all the Freemarker files for generating code are stored(Procedures, AI tasks, Triggers, everything) for the specified Minecraft version in the "x.xx.x" part of the directory name. The "forge-x.xx.x" directories: This is where all the magic happens. Note that this only stores the "formats" and the visuals for AI tasks, not the actual code it generates. "aitasks" directory (not shown here): This is where the Blocky JSON data for AI tasks are stored. Note that this only stores the "formats" and the visuals for the global triggers, not the actual code it generates. "triggers" directory: This is where the JSON data for global triggers are stored. Note that this only stores the "formats" and the visuals for procedure blocks, not the actual code it generates. "procedures" directory: This is where the Blocky JSON data for procedures are stored. ![]() The next section will explain the exact specifications of the plugin.json file. This file contains the basic metadata of the plugin, like the author, the version of the plugin, the supported MCreator version(s), the weight of the plugin (the plugin loading priority), and most importantly, the ID of the plugin. ![]() Plugin.json (Mandatory): All plugins have to include this file. Let's take a look at what these files do. The basic plugin structure looks somewhat like this: You can start off with making a plugin by exploring demo plugins that help you get started with your own plugin: Custom JSON advancement triggers and categories.With MCreator plugins, one can add new features to MCreator, more specifically (at the time of writing): Finally, success to make an MCreator plugin is possible by trying something, understanding why it doesn't work, and searching. You should and have also to know basic Java and Forge coding with Forge Concepts. Before starting to create plugins for MCreator, you should know every aspect of MCreator. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |