Minecraft Forge 1.20.1 mod generator

Published by Klemen on
Supported MCreator versions
2025.1
2025.2
Tags / plugin type
Generator
Minecraft Forge 1.20.1 mod generator
Downloads:
65763
Upvotes: 590
About the plugin

NOTE: This plugin only works with Minecraft Forge 47.4.x

Although we no longer support or encourage the use of 1.20.1, we still want you to update to newer versions of MCreator. For the time being, we try to bring feature parity to the plugin, but only to the extent that it is technically feasible.

This generator is a legacy compatibility plugin.

Contributing

You are welcome to support this project by opening pull requests. Before we can use your code, you must sign the MCreator CLA, which you can do online. The CLA is necessary mainly because you own the copyright to your changes, even after your contribution becomes part of our codebase, so we need your permission to use and distribute your code. We also need to be sure of various other things—for instance, that you'll tell us if you know that your code infringes on other people's patents. You don't have to sign the CLA until after you've submitted your code for review and we approved it, but you must do it before we can put your code into our codebase.

You are also welcome to fork this generator when the official development of this plugin ceases.

WARNING: Minecraft 1.20.1 is no longer supported by MCreator (Pylo). This repository here is only for reference purposes and for community use. It is not officially supported.

Changelog

2.0.2

  • [Bugfix] Custom features in the sapling plant type were converted to oak tree
  • [Bugfix] Recipe unlock items did not work correctly with tags
  • [Bugfix] Some other minor improvements and fixes

2.0.1

  • [Bugfix] Items with custom inventory texture did not have correct illumination in the inventory
  • [Bugfix] Certain combinations of procedure blocks caused build errors
  • [Bugfix] Using a custom 3D Java model for the helmet caused build errors
  • [Bugfix] Some other minor improvements and fixes

2.0.0

  • Switched build toolkit to MDG
  • Improved generated code
  • Added support for making resource packs for 1.20.1
  • Added support for running test Minecraft client with datapack loaded in all worlds
  • Blocks: Added support for note block instrument, ignited by lava, and block set type parameters
  • Added support for optional tags
  • Villager living entity model item holding render support
  • Added support for Java models for custom block mod element
  • Added support for basic animations for blocks with Java models
  • Support for 2D icons for items/tools in the GUI
  • Allow executing procedures with null dependencies
  • Added a parameter to the projectile mod element to disable gravity
  • Allow using tags for the plant "Can be placed on" list
  • Custom conditional block Java model animations
  • Added an option to disable the block item of custom blocks and plants
  • Added some new block and plant item parameters: rarity, immune to fire, and stack size
  • GUI text field and checkbox procedures now operate in any context where entity dependency is available
  • GUI text field and checkbox value procedures now work on both client- and server-side
  • Added support for Java models for custom item mod element
  • Added a new custom recipe parameter: items that unlock this recipe
  • Added new plant and fluid parameter: is ignited by lava
  • Added procedure dependency amount to the "taken from GUI slot" procedure trigger
  • Improved robustness and automated handling of missing references of deleted mod elements
  • Added new world procedure blocks: spawn entity and get its server-side reference
  • Added a new procedure block to modify supported numerical and logic parameters of global triggers
  • [Bugfix] Custom GUIs used player/mouse coordinates instead of bound coordinates in some cases
  • [Bugfix] Custom animal baby entity models were not scaled proportionally with the bounding box
  • [Bugfix] Configured features did not have a default mapping value specified
  • [Bugfix] Custom tooltips over GUI slots caused vanilla and custom tooltips to be shown one over another
  • [Bugfix] Custom item disappeared when dropped using keyboard shortcut with an inventory GUI open
  • [Bugfix] Custom waterloggable double plants crashed the game when placed in some cases
  • [Bugfix] Custom fluids were missing the translation key for mods such as JEI or Mekanism
  • [Bugfix] Setting entity attack target to null using procedures didn't work
  • [Bugfix] Item mod element failed to generate in some cases
  • [Bugfix] Has entity attribute procedure block did not work correctly in some cases
  • [Bugfix] Player right-click global procedure triggers fired inconsistently in some cases
  • [Bugfix] Custom GUI buttons did not reappear after visibility state changes
  • [Bugfix] Some other minor improvements and fixes

1.0.1

  • Updated Minecraft Forge to 47.4.0

1.0.0

  • Initial release for MCreator 2025.1
License
GNU General Public License version 3 (GPLv3)

Plugin downloads
Minecraft Forge 1.20.1 Generator - 2025.2 - 2.0.2 - generator-minecraft-forge-1.20.1-2025.2-2.0.2.zip Uploaded on: 08/24/2025 - 16:26   File size: 685.16 KB
Minecraft Forge 1.20.1 Generator - 2025.1 - 1.0.1 - generator-minecraft-forge-1.20.1-2025.1-1.0.1.zip Uploaded on: 04/19/2025 - 16:21   File size: 617.57 KB

Comments

I tried adding a living entity to my mod, but whenever I tried to run the client, it crashed and gave the following error:

[01:18:47] [Render thread/ERROR] [ne.mi.fm.ja.FMLModContainer/]: Exception caught during firing event: Registry Object not present:

I couldn't figure out what the problem was because, similarly, I didn't encounter any errors in Mcreator 2023.4 with the same code in the same Java class.

Ok this is the pastebin link

https://pastebin.com/9V2DKgC7

I also noticed that I was able to add a living entity in the same version in another, empty workspace without any problems, but although the codes etc. are the same, it is not working in my original project.

Hi, trying backport my mod to Forge 1.20.1, but found a bug:

in custom UI image-buttons which should be not visible still visible 👀

Hi I can't do anything with the generator i have Tried to fix it myself but i can't so here is the paste bin link https://pastebin.com/rW8cXJXU

Bug where "set text in textfield" doesn't work. Tried to make a autofill feature upon opening a gui and with the text synchronizer plugin it worked. MCreator 2025.2 says it has synchronized text but it does not work, at least for this generator, I have no clue about other generators.

Big bug with custom trees that systematically make an oak tree appear

Found an unusual issue
https://pastebin.com/d0in7Vjq

Creating a mod using this generator on 2025.2 leads to a problem where it is missing the .<init>() in the compiled version.

I've reinstalled MCreator several times, and this plugin several times to no avail unfortunately. And it happens with *every* mod I attempt to put onto 1.20.1 using this plugin. It used to work too which has me a little perplexed.

I need to figure out the cause as 1.20.1 is still by far the most popular version for my mods.

The only theory i have that is working, as i've also cleared the gradle compiler cache multiple times, is that the compiler has suddenly stopped working on this version, as this plugin worked fine not even that long ago.

But i have not the means to confirm this.