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 Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Indeed one can change…
Tue, 08/04/2020 - 16:25

Indeed one can change workspace type in <modid>.mcreator and reopen it, but consequences are not predictable :D

I spoke about the workspace type inside the plugin, like change fabric-1.16.1 for forge-fabric-1.16.1.

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was able to import the…
Tue, 08/04/2020 - 16:50

I was able to import the forge workspace by modifying the .mcreator file but unfortunately my procedures are incompatible.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have been doing research…
Tue, 08/04/2020 - 18:39

I have been doing research and so far I haven't found anything on structures I have only found out how to make a mob in fabric.

 

 

 

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nevermind the structure api…
Tue, 08/04/2020 - 20:03

nevermind the structure api is for forge sadly.

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made two custom blocks and…
Sat, 08/08/2020 - 17:07

I made two custom blocks and some recipes (everything worked perfectly). I wanted to make a food item, and since then I keep running into this issue, so I tried making a block and the same issue appears. It's weird because when I first started I had no issues at all, but now anything I make causes this problem to occur. 

Here's the log:

 

Executing 
    Gradle task: build

Build 
    info: MCreator 2020.4.32115, fabric-1.16.1, 64-bit, 12139 MB, Windows 8.1, 
    JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk


    Configure project :

Fabric 
    Loom: 0.4.33 Build(jenkins #33)

:setting 
    up loom dependencies

:setting 
    up mappings (yarn 1.16.1+build.21)

Configuring 
    compiler arguments for Java


    Task :compileJava

Note: 
    SpongePowered MIXIN Annotation Processor Version=0.8

Note: 
    ObfuscationServiceFabric supports type: "official:intermediary"

Note: 
    ObfuscationServiceFabric supports type: "official:named"

Note: 
    ObfuscationServiceFabric supports type: "intermediary:official"

Note: 
    ObfuscationServiceFabric supports type: "intermediary:named"

Note: 
    ObfuscationServiceFabric supports type: "named:official"

Note: 
    ObfuscationServiceFabric supports type: "named:intermediary"

Note: 
    ObfuscationServiceMCP supports type: "searge"

Note: 
    ObfuscationServiceMCP supports type: "notch"


    Task :processResources FAILED

FAILURE: 
    Build failed with an exception.


    What went wrong:

Execution 
    failed for task ':processResources'.


    Could not copy file 'C:\Users\Abdul 
    Rauf\MCreatorWorkspaces\my_mod\src\main\resources\assets\my_mod\textures\items\Thumbs.db' 
    to 'C:\Users\Abdul 
    Rauf\MCreatorWorkspaces\my_mod\build\resources\main\assets\my_mod\textures\items\Thumbs.db'.

 
      > C:\Users\Abdul 
    Rauf\MCreatorWorkspaces\my_mod\build\resources\main\assets\my_mod\textures\items\Thumbs.db 
    (Access is denied)


    Try:

Run 
    with --stacktrace option to get the stack trace. Run with --info or 
    --debug option to get more log output. Run with --scan to get full 
    insights.


    Get more help at https://help.gradle.org

BUILD 
    FAILED in 5s


    actionable tasks: 2 executed

BUILD 
    FAILED

Task 
    completed in 5928 milliseconds

 

This issue came out of the blue, everything was working fine before.

I also experienced another issue when I tried to make a food item, here's the log:

 

Executing

    Gradle task: runClient

Build 
    info: MCreator 2020.4.32115, fabric-1.16.1, 64-bit, 12139 MB, Windows 8.1, 
    JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk


    Configure project :

Fabric 
    Loom: 0.4.33 Build(jenkins #33)

:setting 
    up loom dependencies

:setting 
    up mappings (yarn 1.16.1+build.21)

Configuring 
    compiler arguments for Java


    Task :downloadAssets

:downloading 
    asset index

:downloading 
    assets...


    Task :compileJava FAILED

C:\Users\Abdul 
    Rauf\MCreatorWorkspaces\my_mod\src\main\java\net\mcreator\mymod\procedures\VeggieSoupFoodEatenProcedure.java:18: 
    error:  
    expected 
 
      ItemStack _setstack = Items.BOWL, (int)(1);

 
                                       ^

C:\Users\Abdul 
    Rauf\MCreatorWorkspaces\my_mod\src\main\java\net\mcreator\mymod\procedures\VeggieSoupFoodEatenProcedure.java:18: 
    error: not a statement 
 
      ItemStack _setstack = Items.BOWL, (int)(1);

 
                                         ^

C:\Users\Abdul 
    Rauf\MCreatorWorkspaces\my_mod\src\main\java\net\mcreator\mymod\procedures\VeggieSoupFoodEatenProcedure.java:18: 
    error: ';' expected 
 
      ItemStack _setstack = Items.BOWL, (int)(1);

 
                                            ^


    errors

FAILURE: 
    Build failed with an exception.


    What went wrong:

Execution 
    failed for task ':compileJava'.


    Compilation failed; see the compiler error output for details.


    Try:

Run 
    with --stacktrace option to get the stack trace. Run with --info or 
    --debug option to get more log output. Run with --scan to get full 
    insights.


    Get more help at https://help.gradle.org

BUILD 
    FAILED in 1m 27s


    actionable tasks: 2 executed

BUILD 
    FAILED

Task 
    completed in 100433 milliseconds

The first one is likely…
Sat, 08/08/2020 - 18:05

The first one is likely Windows and permissions misbehaving. Running as admin or manually removing the file might help.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The Fabric GeneratorĀ  has…
Tue, 08/11/2020 - 16:49

The Fabric Generator  has been updated to Minecraft 1.16.2.
Changelog (1.16.2-1.0.0-alpha3):
- Updated the generator to Minecraft 1.16.2
- Fixed #48
https://github.com/ClothCreators/MCreatorFabricGenerator/releases/tag/1…
https://mcreator.net/plugin/64512/mcreator-fabric-generator

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fabric is fastest to update…
Tue, 08/11/2020 - 17:33

Fabric is fastest to update than Forge, as it's lighter. :D When we will add the Fabric generator in the MCreator code (after the open-sourcing and the rewriting of the generator), users will, maybe, finally stop to always ask to update to the newest Minecraft version.

Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When do you think biomes…
Thu, 08/13/2020 - 05:48

When do you think biomes will be released?

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The code of biomes has…
Thu, 08/13/2020 - 12:20

The code of biomes has changed a lot in 1.16.2, so Fabric has decided to remove biomes from the Fabric API. As soon as they will re-add them, we will work on them.