MCreator 2022.1 - Full Minecraft 1.18.x support

Published by Klemen on
MCreator 2022.1 - Full Minecraft 1.18.x support

MCreator 2022.1 is here. It fully supports Minecraft 1.18.x, while also adding new features like nether and cave biomes, custom villager trades, and more. Read on!

Minecraft 1.18.x support

The biggest change in this release is full and official Minecraft 1.18.x support for Java and Bedrock edition. The generator builds on 1.17.x generator and improves it, so the code of this generator will be even cleaner and more performant than before!

Minecraft 1.18.x support

Nether biomes

One of the most requested features we have seen in the past year is now here. Support for nether biomes! With a single check on a checkbox, you can now make your biomes generate in nether alongside other nether biomes. See a demo below.

Nether biomes in Minecraft 1.18.2 in custom mods using MCreator

Cave biomes

And nether biomes were not enough for us. So we have also added support for custom overworld cave biomes. Below you can see a custom cave biome we added to the Minecraft.

Cave biomes in Minecraft 1.18.2 in custom mods using MCreator

New built-in entity models

We have extended our offering of built-in models with the following new models: cod, ocelot, piglin, salmon, witch.

New built-in entity models

Entity model conditions

Alongside new models, new entity model conditions were added that allow you to procedurally make the entity transparent and/or shake similar to how striders shake.

MCreator entity model conditions including transparency

Custom villager trades

You can now define custom villager trades. You can define new trades per villager profession, define trade level, XP levels of the trade and advancing price multiplier.

Custom villager trades in MCreator

New ore generation parameters

New Minecraft 1.18 features allow for different ore generation shapes and levels below 0. We have made sure to support that for custom mods too.

New ore generation parameters

Context menu for project browser

Did you want to easily add new items to your project file structure? To make this possible, we have moved the toolbar of the project browser to the adaptive context menu that shows different entries depending on the element you have selected. It adds some new features too, as you can see in the video below.

Context menu for project browser

Underwater block parameter

You can now separately define a block that generates below the water in custom biomes. Before, the block that generated there was the underground block, but you can now optionally define a more specific underwater block if desired.

Underwater block parameter for custom biomes in Minecraft mods

Better procedure list selectors

Did you happen to get the "undefined" list entries bug in procedure element selectors, such as entities dropdown? Well, this bug is now fixed, but we have also improved the selection process to include a search bar and icons for custom elements. Check it out in action below!

Better procedure entity list selectors

Entity local variable and return type

We have added a new local variable type: entity. This variable type can also be used in return values and called from another procedure. This should make writing complex entity selection algorithms, for example, easier.

Entity local variables and return types

Some new randomizer procedure blocks

You wanted random in-range procedures more easily and we listened. Now you can generate numbers or integers in range with a single procedures block. We have also added procedure blocks to obtain a random item from the item tag or a random block from the block tag.

Some other new procedure blocks added to MCreator

Release notes

  • [FG 1.18.2] Biome spawning is now greatly affected by weight, height base and variation, temperature, and rainfall chance. Tinkering with these parameters to achieve a good generation will be needed by most of the mods 
  • The food mod element was merged into the item mod element. Existing food mod elements will be converted to items automatically
  • Block position x, y, and z blocks were removed as x, y, and z blocks act like those by default when appropriate
  • Changed the format of ranged item projectile entity registry name
  • Workspace encoding was changed from system default to UTF-8, so on some computers, non-standard characters may need to be re-entered where they broke

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] Ranged item procedures did not provide immediatesourceentity properly in some cases
  • [Bugfix] Custom ranged items could crash the game if no ammo was selected
  • [Bugifx] Custom living entities sometimes had too big of a melee attack range
  • [Bugfix] Vanilla structures did not generate in custom dimensions
  • [Bugfix] Custom breeding items parameter did not work with custom living entities
  • [Bugfix] Shoot ranged item procedure block did sometimes not shoot in the right direction
  • [Bugfix] Local variable auto-loading did not work for externally imported procedure templates

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 17
  • Added base support for Minecraft Forge 1.18.2
  • [FG 1.18.2] Added support for mod elements: command, fuel, creative tab, ranged item, potion effect, tag, loot table, living entity, advancement, potion item, GUI, function, key binding, painting, game rule, food, armor, particle, fluid, biome, dimension, overlay, tool, structure spawn, block, plant, custom element, recipe, item, music disc, sounds, enchantments, and variables
  • Added Minecraft add-on generator for 1.18.x
  • Added Minecraft data pack generator for 1.18.x
  • Added native file chooser support on Windows computers
  • Added render transparent entity model condition
  • Added display shaking animation entity model condition
  • Added optional biome underwater block support
  • Added new built-in entity models: cod, ocelot, piglin, salmon, witch
  • Added custom villager trades mod element
  • Merged food mod element into item mod element
  • Added new procedure blocks: random item from tag, random block from tag, std. normalized random, random integer in range, random number in range
  • Added new procedure blocks: get entity look vector, get player XP needed to gain a level, copy NBT tags of the item to another item, compare blocks by block state or by a raw block
  • Added entity local variable type
  • Improved list selectors for big lists in procedure blocks
  • Added context menu to the workspace browser
  • [Bugfix, FG 1.16.5] Custom block map colors did not work in some cases
  • [Bugfix] Nesting division math operation caused operations to execute in the wrong order
  • [Bugfix] Ranged item procedures did not provide immediatesourceentity properly in some cases
  • [Bugfix] Custom ranged items could crash the game if no ammo was selected
  • [Bugfix] Local variable auto-loading did not work for externally imported procedure templates
  • [Bugfix] Items and tools crashed multiplayer servers in some rare cases
  • [Bugifx] Custom living entities sometimes had too big of a melee attack range
  • [Bugfix] Vanilla structures did not generate in custom dimensions
  • [Bugfix] Fight back attacker AI task call for help option did not work
  • [Bugfix] Custom breeding items parameter did not work with custom living entities
  • [Bugfix] Custom map colors of blocks did not work in some cases
  • [Bugfix] Shoot ranged item procedure block did sometimes not shoot in the right direction
  • [Bugfix] Some other minor fixes and improvements

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: We have released a patch update to fix some bugs found in the 2022.1 release:

2022.1.20510:

  • [Bugfix, FG 1.18.2] Custom structures did not generate in most of the cases
  • [Bugfix, FG 1.18.2] Custom plants could not generate in nether-like dimensions
  • [Bugfix, FG 1.18.2] Sand was missing in the desert biome in custom dimensions
  • [Bugfix] Food mod element failed to properly convert to the item in some cases
  • [Bugfix] Some other minor fixes and improvements

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

Share this on:

Comments

Im having a problem where if i try to test my mod out it says that the data pack was made for a older version of minecraft, any ideas on how i fix that?

Note: I may have said this before, but what I got as a reply did not work, and it still doesn't on the release.

So, I updated my mod to 1.18, it stopped compiling correctly. It keeps giving me the error: package <mod id>ModPotions does not exist.

<mod id> ModPotions.REGISTRY.register(bus);
^

Any help would be appreciated

I was playing around with it a bit, and the edits I did to the root always reset when I rebuilt the code. Is there any way to lock the root? It won't be ideal, but it might work.

I love this new version, it adds so much and is a lot better than the previous, but kind of sucks that the food element was merged with the item element :/

When'll come the 1st MCreator 2022.2 snapshot out? And will it come with 1.19 support?

can someone help me remote workspace doesn't work although i have entered everything it shows the password and user name is wrong i only have one account

and the fact that biomes in the upper world will not spawn is it a mistake or is it just me?



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.