MCreator 2021.3 - Full Minecraft 1.17.x support

Published by Klemen on
MCreator 2021.3 - Full Minecraft 1.17.x support

MCreator 2021.3 is here. The first release that fully and officially supports Minecraft 1.17.x. We didn't forget to add some new features too. Read on!

Minecraft 1.17.x support

The biggest change in this release is full and official Minecraft 1.17.x support for Java and Bedrock edition. The generated code for 1.17.1 Forge mods is now also much more cleaner, with a unified registry design and improved procedure code. The code was never that human-like as it is now.

Full Minecraft 1.17.1 support for making mods

Real-time code preview

Another big new feature is real-time code preview. Now with a single click, you can enable a preview that will show you code changes as you edit the mod element and highlight the lines that were affected by the UI change the user did.

Realtime generated Minecraft mod code preview

New procedure blocks

This update added quite some new procedure blocks. Below you can see the new "Time and date" procedures category that allows you to make procedures depend on the current date, eg. below, the player will be greeted with a custom message on Christmas when joining the world.

Day and time procedure blocks

Some new direction procedures were added too. You can now iterate all directions or all horizontal directions to more efficiently scan neighboring blocks, for example.

New direction procedures

A new ternary operator procedure block was added that allows users to shorten some of the procedure compositions.

Ternary operator in MCreator

More biome structures

Quite some new vanilla biome structures were added, making it possible to improve your biome's terrain variety with vanilla-based structures.

More vanilla Minecraft structures in MCreator biome mod element

Better element selectors

We have improved quite some UI components and selectors that now try to be more helpful and visual. One of such places are block lists as shown on the video below.

Improved element selector previews in MCreator

Release notes

  • Java entity models before 1.17 are not compatible with 1.17 and vice versa. Two separate instances with the same name need to be imported, one for an older generator and one in 1.17 generators and MCreator will pick the right version depending on the current generator
  • Custom wall blocks now need to be tagged in the walls vanilla blocks tag group to make them connect with other wall types
  • [Plugins] Generators can now use global templates for each mod element type
  • [Plugins] Generators can now use common definition files for different base types
  • [Plugins] Generators no longer need to define partial support for mod elements as MCreator automatically detects coverage support using excludes/includes parameters.
  • [Plugins] Variables and procedure categories can now use hex color codes
  • [Plugins] Plugins can now register custom Blockly JavaScript files
  • [Plugins] Plugins now fully support custom data lists

Important bug fixes

Many bugs were fixed in this update. All the bug fixes are listed in the list below, but more notable bug fixes are:

  • [Bugfix] Water entities moved very slowly

Other improvements

The article would be too long if we described all the changes and bug fixes in-depth, so you can see the full list in the full changelog of this release here (some important features that were not mentioned previously are highlighted with bold text):

  • Updated bundled Java to version OpenJDK 16
  • Added base support for Minecraft Forge 1.17.1
  • Added Minecraft add-on generator for 1.17.x
  • Added Minecraft data pack generator for 1.17.x
  • [FG 1.17.1] Added support for mod elements: advancement, fuel, command, overlay, food, painting, procedure, tag, function, dimension, loot table, recipe, music disc, key binding, potion effect, potion item, GUI, armor, particle, structure, block, plant, biome, custom element, fluid, item, enchantment, game rule, tool, ranged item, living entity, and creative tab
  • Added ternary operator procedure block
  • Plant suspicious stew parameter now supports custom potions
  • Added date and time-related procedure blocks
  • Improved element list selector fields and windows
  • Improved code generator performance and generated code
  • Improved code formatted and import formatter
  • Added option to see real-time code changes while working with mod elements in UI
  • Added missing vanilla structure options to custom biome mod element
  • Added new procedure blocks: for each direction, for each horizontal direction, direction iterator, and random iterator
  • Added option to disable automatic ticking of custom blocks and fluids
  • Improved procedure block sorting inside procedure editor categories
  • [Bugfix] Cave and canyon carvers did not carve through the last surface layers in custom dimensions
  • [Bugfix] Procedures could crash the game in cases where dependency was unknown
  • [Bugfix] Water entities moved very slowly
  • [Bugfix] Living entity arrow immunity did not work with certain arrow types
  • [Bugfix] Some other minor fixes and improvements

But Minecraft 1.18 is here!

Yes, we know :D But we almost completely rewrote the code generator for Minecraft 1.17 and that took a lot of time. We would actually want to thank all donators and contributors that helped us bring this release to life. We have already started working on 1.18.x support too so stay tuned. While we work on 1.18, you can develop your mods for 1.17.1 and then later switch to 1.18 with just a few clicks!

Tell us what you think about the update in the comments! If you like what we do, consider donating to help us keep this project up.

UPDATE 1: We have released a patch update to fix some bugs found in the 2021.3 release:

2021.3.51610:

  • [Bugfix, 1.17.x] End and nether-like dimensions inverted imitate overworld behavior setting
  • [Bugfix, 1.17.x] Custom end-like dimensions had bedrock roof and floor
  • [Bugfix] Biome dictionary list in biome mod element editor was empty
  • [Bugfix] Some other minor fixes and improvements

To install the patch, re-download 2021.3 and install it again. Make sure to uninstall the current version first.

UPDATE 2: We have released a patch update to fix some more bugs found in the 2021.3 release:

2021.3.52418:

  • [Bugfix] Changing custom item inventory size could crash existing world saves
  • [Bugfix] Big spruce trees in custom biomes could cause the game to crash
  • [Bugfix] Some procedure templates using text variable procedure blocks failed to import properly
  • [Bugfix] Some other minor fixes and improvements

To install the patch, re-download 2021.3 and install it again. Make sure to uninstall the current version first.

UPDATE 3: We have released a patch update to fix some more bugs found in the 2021.3 release:

2021.3.53117:

  • [Bugfix, FG 1.17.1] GUI labels have a shadow that was not there in previous versions
  • [Bugfix] Some older workspace completely fail to open

To install the patch, re-download 2021.3 and install it again. Make sure to uninstall the current version first.

UPDATE 4: We have released a patch update to fix some more bugs found in the 2021.3 release:

2021.3.54000:

  • [Bugfix, FG 1.16.5] On some computers, the test client did not launch at all
  • [Bugfix] On some Linux computers, MCreator failed to start

To install the patch, re-download 2021.3 and install it again. Make sure to uninstall the current version first.

Share this:

Comments

I was wondering, think you'll make an ad campaign for something like this on Google, Twitter, YouTube, etc.? I know it's nice to have organic growth, but these prizes are HUGE and I feel it'd be more entertaining to have as much competition as possible

Also, I have a suggestion: Could you put multiselect into at least some of the select block/item/sound menus? I understand that it wouldn't work for some of them where you can only select one thing (like an ambient sound.) , but it would still be VERY helpful.

how far is 2022.1 in the development process?
Also, will it be possible to make nether/end biomes?
thank you for your amazing program, keep up the good work!

UPDATE 4: We have released a patch update to fix some more bugs found in the 2021.3 release:

2021.3.54000:
- [Bugfix, FG 1.16.5] On some computers, the test client did not launch at all
- [Bugfix] On some Linux computers, MCreator failed to start

To install the patch, re-download 2021.3 and install it again. Make sure to uninstall the current version first.

Greatest version ever because:
1) it was released on 54th week of year 2021, despite there were only 53 (52 full) weeks in it;
2) its version has build day-of-week and hour are undefined, making the build version a round number (so a cute one);
3) it is the first ever 4th release patch.
Please never remove it from downloads list ;)

Cool, I don’t understand how I used to work without it? I hope there will be more changes in the new year, good luck!

This is great! One day, I bet it will be possible to make any vanilla item, block, or entity in mcreator without coding! Keep up the good work, each update is one step closer.

I like that code editor

I haven't been here in a while, but I'm still pumped for new stuff :D

The update is incredible but at some point are you going to improve the creation of Add On? I love the tool xd

If I use the installer do I need to back up my mods first? Or does it automatically transfer them? And do I need to uninstall the current MCreator first? lol

Nevermind, I figured it out. For anyone else wondering, the installer will first uninstall the current version of MCreator and then install the new one, and also it tranferred my mods so I didn't need to back them up (but it wouldn't necessarily be a bad idea to.)

Awesome! I can't wait to use copper, amethyst, etc. in my mods.

Why does i get this error? I have done what it asks me to do but the same error comes again

One or more of your main mod files did not compile prperly.

This is usually caused by inconsistencies in th emod code during builds.
MCreator can solve this issue for you by regenerating entire mod's code.

If you have locked mod elements or mod base files, they can cause this error too.

We have released a patch update to fix some more bugs found in the 2021.3 release:

2021.3.53117:
- [Bugfix, FG 1.17.1] GUI labels have a shadow that was not there in previous versions
- [Bugfix] Some older workspace completely fail to open

To install the patch, re-download 2021.3 and install it again. Make sure to uninstall the current version first.

hey mcreator I just found a bug that is really annoying me.

When I make a new biome, or dimension, trees will never spawn I didn't disable them they just don't appear. If people don't encounter this issue then idk what's going on.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.