Fabric Generator 1.21.8 [Plugin]

Started by Goldorion on

Topic category: Plugins and third-party tools

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fabric Generator 1.21.8 [Plugin]
Tue, 09/02/2025 - 04:38 (edited)

This plugin adds a new Fabric Generator to your MCreator.

 

Hello šŸ‘‹

It's been a while, right? Apparently, nobody could survive without my Fabric Generator. I know I said I would not continue it and I would leave the community. It's still technically the case, but in a different way. I won't go back to working full free time on MCreator or my plugins, but you'll see me from time to time. For this particular case of the Fabric Generator, NerdyPuzzle and Spectrall (+ Kleiders?) joined me to create a small team in order to continue keep alive the Fabric Generator, so it is no longer a one-man job like in the past. Having both of them is a real game changer as it's much less work for me... and enormously more features for you like this update proves it (and more is coming in a near feature! 😁). I will not continue to spend most of my time on MCreator projects. This era is truly over in my head for me. No longer the time, nor the motivation or the ideas. I simply want to help once in a while from now on, when I have the time, the motivation and the idea.

 

Hope you'll be happy of this (big) update šŸ˜„

 

Important Information

  • Make sure you use MCreator 2025.3 first snapshot
  • Back up your workspace before updating to a newer version of the plugin.
  • Mods will also require Fabric API to function properly, so when you want to play your mod, make sure you have Fabric API.
  • Some features are disabled because they are Forge-related features. We are working on them.

https://storage.ko-fi.com/cdn/brandasset/kofi_button_blue.png

Credits

  • This generator re-uses a lot of the code used by the official NeoForge generators.
  • Supporters on Ko-fi šŸ’šā¤ļø

License

  • Licensed under the GNU Lesser General Public License, version 3.0  
  • Mods created with this tool may be closed-source and/or distributed with a different license.
  • Appropriate credit must be provided to the creators and maintainers of this software.
  • Forked versions of this software must be distributed under the same license as this with attribution if distributed.
  • Changes must be stated if any modified works are to be distributed.
  • Under no circumstances can you state that the original creator endorses modified works.

Changelog:

To see a complete changelog of the plugin, check this file.

Last versions:

2.2 - The update that compiles

(We finally introduced automatic tests on the repository)
- Updated to Fabric API 0.133.0
- Add new global triggers: Entity blocks with shield, Entity drops experience, Entity falls, Entity picks up item, Entity jumps, Entity picks up experience
- Added wait procedure block
- Removed Get block's enchant power bonus procedure block (will be re-implemented later)
- Removed Get entity's submerged height (will be re-implemented later)
- [Bugfix] Entity heals trigger only worked for one procedure
- [Bugfix] Cancellable global triggers could not be cancelled
- [Bugfix] Player starts using item global trigger caused a build error
- [Bugfix] Custom multi tools caused a build error
- [Bugfix] When entity attacked Global trigger was causing a build error
- [Bugfix] Entity model components caused a build error
- [Bugfix] Custom Wandering Trader trades were causing a build error
- [Bugfix] Custom potion effects caused a build error when used
- [Bugfix] Tools caused a build error in some cases
- [Bugfix] Disabled armor pieces caused a build error if they were piglin neutral
- [Bugfix] Custom blocks could cause build errors in some cases
- [Bugfix] Custom plants caused build errors when Can be placed on was used
- [Bugfix] It was possible to move items into their own inventories
- [Bugfix] Shift clicking items into custom GUIs made them disappear
- [Bugfix] Block inventories did not store items when opened with right click
- [Bugfix] Custom attributes would cause build errors when used
- [Bugfix] Setting particles for custom potion effects would cause a build error
- [Bugfix] Block is tagged procedure caused a build error
- [Bugfix] Command ME caused a build error
- [Bugfix] Player respawns global trigger's world dependency caused a build error
- [Bugfix] Fixed some other events that caused a build error
- [Bugfix] Get item's fuel power procedure block caused a build error
- [Bugfix] Get block's light level caused a build error
- [Bugfix] Message sent in chat's text dependency caused a build error when used
- [Bugfix] Place feature and Place feature with result procedure blocks caused a build error
- [Bugfix] Damage source from source caused a build error
- [Bugfix] Get and Has enchantment level blocks caused a build error
- [Bugfix] Get number of players on server caused a build error
- [Bugfix] Close opened GUI block caused a build error
- [Bugfix] Convert bucket to fluid blockstate caused a build error
- [Bugfix] Potion effect projectile procedure block caused a build error
- [Bugfix] Open GUI for entity procedure block caused a build error
- [Bugfix] Fixed some other procedure blocks that caused a build error

2.1

- Add new global triggers: Block is placed, Block  is multiplaced, Bonemeal is used, Bucket is filled, Command executed, Entity is healed
- Some events are now cancellable
- [Bugfix] Player right-clicked item trigger did not work
- [Bugfix #561] Equip sound on custom armors caused a build error

2.0

With the collaboration of Spectrall368 and NerdyPuzzle
- Updated to MCreator 2025.3 first snapshot
- Updated to Minecraft 1.21.8
- Unsupported procedure blocks and global triggers are (finally) marked back as unsupported
- Added support for the Attribute mod element
- Added support for the Banner mod element
- Added support for the Fluid mod element
- Added support for the Villager profession mod element
- Added support for built-in portal in custom dimensions (full dimension ME support)
- Added support for the custom tree vines and tree fruits in custom biomes
- Added support for the creative pick item parameter in custom plants
- Added is allowed on books support enchantment parameter support
- Added pressedms dependency support for custom key bindings
- Added support for the new parameters in mod elements since the last version
- Added support for 6 new global triggers: Minecraft loads and unloads a world, On player tick, Player starts using item, Player XP amount changes, Player XP level change
- Added custom Java models support for custom armors
- [#216] Added On Entity swings trigger support
- [Bugfix] Potion effects and potion items tried to be registered as an item causing an error
- [Bugfix] When entity dies global trigger caused a FTL error
- [Bugfix] Feature mod element didn't work
- [Bugfix] Some built-in entity models were missing
- [Bugfix] Custom Java model for projectiles caused a build error
- [Bugfix] GUIs could not be opened on servers
- [Bugfix] Random number in range procedure blocks crashed the game
- [Bugfix] The usage of tags for the spawning entity parameter crashed the game
- [Bugfix] Custom stairs crashed the game
- [Bugfix] Enabling the bone meal properties caused a build error
- [Bugfix] Custom item GUIs did not work
- [Bugfix] And surely much more :D

The plugin's page https://mcreator.net/plugin/64512/mcreator-fabric-generator

Edited by Goldorion on Tue, 09/02/2025 - 04:38
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Now that MCreator supports 1…
Mon, 01/31/2022 - 23:19

Now that MCreator supports 1.17.1, are there plans to update this plugin to support mods for that version too, or continuing implementation into MCreator? No rush or anything, but it'd be a really great help. Thank you for developing the plugin in the first place ^^

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
News about Fabric 1.17.1: I…
Mon, 02/07/2022 - 02:26

News about Fabric 1.17.1:

I already explained it a few times already, but I think making an announcement will be better.

As I explained to a few people already, I already started to work on supporting Fabric 1.17.1. However, with other contributors (of MCreator), we also made a lot of progress on updating MCR to MC 1.18.x. I could simply update the needed code to support FB 1.17.1, but the latest version brought a lot of new features for generators, so I want to take the time to massively improve the generated code. To go a bit faster, I also decided to move to Mojmaps (official Mojang's mappings), so even if now I can copy and paste most of the code used by the Forge generator, I'm implementing a few more features. Finally, I contributed a lot to the update to Minecraft 1.18.x and it took me a lot of time. I continue to work on the 1.17.1 version from time to time. If I finish it before 1.18 snapshots, I'll release a version, but if not, I will simply update to FB 1.18.2 and put all my efforts into it (as MC 1.19 won't release before a few months).

If you're curious about the progress, here's a look. Note that I'm still fixing slot features with GUIs and triggers & procedure blocks are complete for this update (new ones have been added!). The full changelog can be found here.

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey. blocks show an error…
Sat, 03/05/2022 - 19:35

hey. blocks show an error after compilejava task, but idk how to find it. i can't make any blocks at all, even if i only add the textures. help!

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi everyone! It's been a…
Sun, 03/06/2022 - 02:49

Hi everyone! It's been a while since the last big update, no? Well, I have an explication. Originally, I didn't plan to release a 1.17.1 of the fabric generator, but in the end, I was quick enough to finish before the first 1.18.2 MCreator snapshot. After the release of the 1.5, with the other contributors of MCreator, we started to work on porting MCR to 1.17.x and as you may know, it took us a while to improve and port the code. It was the same thing for me, except I was alone. To improve the generated code of the Fabric generator, this generator is a modified version of the 1.17.1 Forge generator, to use Fabric instead of Forge. Moving from Yarn to Mojmaps didn't help too, but another reason explaining the time was I took this opportunity to add several new features I didn't add yet, such as tinted blocks/plants and a lot of missing procedure blocks.

With the amount of work and time, it required me, I didn't test everything (not major features) and as a port to a new MC version hides bugs, I would like to ask everyone using it, to report on the issue tracker (follow the template!) every bug you find or you think you found.

 

Another point I would like to talk about is support for 1.18.2. I will surely not start working on it before some time. It requests a lot of time and work and I'm a bit tired to do it alone. I will do the same thing as I did for this version. I will work slowly on it when I have some motivation and time.

 

Here's the changelog of this version:

### 1.6-beta-1
* Added base support for Fabric 1.17.1
* Added support for mod elements: advancement, armor, biome, block, command, creative tab, custom element, dimension, enchantment, food, fuel, function, game rule, gui, item, key binding, living entity, loot table, music disc, overlay, painting, particle, potion effect, potion item, procedure, ranged item, recipe, structure, tag, tool and variables
* Added support for new global triggers: Player in bed, Player respawns and Player wakes up
* Added support for water loggable blocks
* Added support for tinted plants and blocks
* Added support for following block procedure blocks: Play break effect, is side solid
* Added support for following direction procedure blocks: For each direction, for each horizontal direction, direction iterator, direction random
* Added support for following direction procedure blocks: Check player game mode, Get entity shoot power, Get entity slot, For each slot of entity inventory, Get entity look face, Get/Set logic/number/string entity NBT tag, Get potion effect level, Get potion effect remaining, Remove item, Remove recipe, remove specific potion effect, Remove xp, remove xp level, Run function, send chat, set flying, set food level, set main hand item, set offhand item, set no gravity, set oxygen, set rotation, set saturation, set scoreboard score, set slot, set sneaking, set spawn, set sprinting, set in cobweb, size height, size width, submerged height, xp level, logic entity compare
* Added support for following item procedure blocks: bucket to fluid, 
* Added support for misc procedure blocks: Get dimension id, get localized text
* Added support for following world procedure blocks: shoot arrow, spawn entity, spawn entity with rotation, spawn entity with rotation and velocity, strike lightning, get number of players on the server, entity in range, entity in range exists, entity in range foreach, spawn falling block, switch world, use bone meal
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
> Failed to provide loom…
Thu, 03/17/2022 - 07:01

> Failed to provide loom:mappings:layered+hash.2192 : java.lang.RuntimeException: Could not find access widener file @ 

 

what does this mean?
 

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not asking to rush you,…
Sun, 03/20/2022 - 03:32

I'm not asking to rush you, but when do you think support for 1.18.2 would be? If no time soon I may port myself. :)

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know to be honest. I…
Sat, 04/02/2022 - 00:02

I don't know to be honest. I'm alone and it takes (a lot) of time.

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, when do you plan on…
Mon, 04/18/2022 - 21:17

Hey, when do you plan on adding support for general world triggers, like place a block or when an entity spawns

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, I made an advancement…
Thu, 04/21/2022 - 16:45

Hi, I made an advancement today which gets given to the player if they have a custom hoe in their inventory but the moment the player picks up any item they get given all custom item pickup advancements.

 

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A new update for the Fabric…
Wed, 04/27/2022 - 15:01

A new update for the Fabric generator has been published. It updates the generator to MCreator 2022.1 and fix several problems (such as the access widener problem!)

https://mcreator.net/plugin/64512/mcreator-fabric-generator

# Changelog:

* Updated to 2022.1

* Fix the access widener problem

* [Bugfix #188] Selecting mega spruce tree type in biomes made the game crashed

* [Bugfix #192] Local variables were not generated

* [Bugfix #187] Several advancement triggers did not work properly

* [Bugfix] Some recipes had problems

 

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry, but, what are you…
Sun, 05/15/2022 - 03:17

Sorry, but, what are you talking about saying you might just skip 1.18.2? You're the /only/ person supplying mccreator with fabric functionality. You're the literal gatekeeper. Open up and let us modders in. 

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry, that probably sounded…
Sun, 05/15/2022 - 03:19

Sorry, that probably sounded harsher than I meant it to. 

Sorry, but, what are you…
Sun, 05/15/2022 - 09:23

Sorry, but, what are you talking about saying you might just skip 1.18.2? You're the /only/ person supplying mccreator with fabric functionality. You're the literal gatekeeper. Open up and let us modders in. 

Not sure how this statement makes any sense. He is gateopener and if you think generator should develop faster, maybe consider joining with help on the development.