Topic category: Plugins and third-party tools
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.
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
Really hoping for implementing item and block registries as well as NBT support..
Help please, I have an error:
Workspace setup failed!
@Goldorion
Is there a 1.19.4 version of your Fabric generator or nah, i really need it. More than need it.
You're way too late. It's now 1.20.1 that is currently supported and it'll soon be 1.20.4. Just leave in the present with the new versions
Question is there anyway to covert a mod made in MCreator from fabric to forge or forge to fabric?
#521, #520 is still an issue for me.
Here's the log:Executing Gradle task: runClient --info
Build info: MCreator 2024.2.32117, fabric-1.20.1, 64-bit, 15922 MB, Linux, JVM 21.0.3, JAVA_HOME: /home/linusintro/MCreator/jdk, started on: 2024-08-07-20:48:59
The client will now receive all logging from the daemon (pid: 19583). The daemon log file: /home/linusintro/.mcreator/gradle/daemon/8.3/daemon-19583.out.log
Starting 3rd build in daemon [uptime: 2 mins 2.757 secs, performance: 100%, GC rate: 0.02/s, heap usage: 1% of 3 GiB]
Closing daemon's stdin at end of input.
The daemon will no longer process any standard input.
Using 8 worker leases.
Now considering [/home/linusintro/MCreatorWorkspaces/hearty_stones] as hierarchies to watch
Watching the file system is configured to be enabled if available
File system watching is active
Starting Build
Settings evaluated using settings file '/home/linusintro/MCreatorWorkspaces/hearty_stones/settings.gradle'.
Projects loaded. Root project using build file '/home/linusintro/MCreatorWorkspaces/hearty_stones/build.gradle'.
Included projects: [root project 'hearty_stones']
> Configure project :
Evaluating root project 'hearty_stones' using build file '/home/linusintro/MCreatorWorkspaces/hearty_stones/build.gradle'.
The configuration detachedConfiguration1 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration detachedConfiguration1 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
The configuration detachedConfiguration1 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration detachedConfiguration1 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
The configuration :classpath is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration :classpath is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
The configuration :classpath is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration :classpath is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
Fabric Loom: 1.4.6
(kotlinx.metadata.jvm.KotlinClassMetadata) with version (0.7.0-1.9.0-31) was loaded from (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-metadata-jvm/0.7.0/babbf7cbcd7083709bf27ee5e19dd558d2dea39b/kotlinx-metadata-jvm-0.7.0.jar)
(org.objectweb.asm.ClassVisitor) with version (9.5) was loaded from (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/org.ow2.asm/asm/9.5/dc6ea1875f4d64fbc85e1691c95b96a3d8569c90/asm-9.5.jar)
(org.objectweb.asm.tree.analysis.Analyzer) with version (9.5) was loaded from (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-analysis/9.5/490bacc77de7cbc0be1a30bb3471072d705be4a4/asm-analysis-9.5.jar)
(org.objectweb.asm.commons.ClassRemapper) with version (9.5) was loaded from (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-commons/9.5/19ab5b5800a3910d30d3a3e64fdb00fd0cb42de0/asm-commons-9.5.jar)
(org.objectweb.asm.tree.ClassNode) with version (9.5) was loaded from (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-tree/9.5/fd33c8b6373abaa675be407082fdfda35021254a/asm-tree-9.5.jar)
(org.objectweb.asm.util.ASMifier) with version (9.5) was loaded from (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-util/9.5/64b5a1fc8c1b15ed2efd6a063e976bc8d3dc5ffe/asm-util-9.5.jar)
(com.fasterxml.jackson.databind.ObjectMapper) with version (2.15.2) was loaded from (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.15.2/9353b021f10c307c00328f52090de2bdb4b6ff9c/jackson-databind-2.15.2.jar)
(com.google.gson.Gson) with version (null) was loaded from (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.10.1/b3add478d4382b78ea20b1671390a858002feb6c/gson-2.10.1.jar)
(com.google.common.base.Preconditions) with version (null) was loaded from (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/com.google.guava/guava/32.1.2-jre/5e64ec7e056456bef3a4bc4c6fdaef71e8ab6318/guava-32.1.2-jre.jar)
(org.apache.commons.io.FileUtils) with version (2.13.0) was loaded from (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.13.0/8bb2bc9b4df17e2411533a0708a69f983bf5e83b/commons-io-2.13.0.jar)
Creating new SharedServiceManager(1169148325)
Creating new SharedServiceManager(1398095166)
The configuration :mainSourceElements is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
The configuration :sourcesElements is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
:setting up loom dependencies
Applying installer data from /home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/net.fabricmc/fabric-loader/0.14.21/960c8a415d93c128bfb630abbc3c7c9e1ba48637/fabric-loader-0.14.21.jar
Found another installer JSON in (/home/linusintro/.mcreator/gradle/caches/modules-2/files-2.1/net.fabricmc/fabric-loader/0.14.21/960c8a415d93c128bfb630abbc3c7c9e1ba48637/fabric-loader-0.14.21.jar), ignoring
Configuring compiler arguments for Java
Adding mixin to classpath of AP config: annotationProcessor
Adding mixin to classpath of AP config: testAnnotationProcessor
Closing SharedServiceManager(1398095166)
All projects evaluated.
Task name matched 'runClient'
Selected primary task 'runClient' from project :
Tasks to be executed: [task ':compileJava', task ':processResources', task ':classes', task ':generateDLIConfig', task ':generateLog4jConfig', task ':generateRemapClasspath', task ':configureLaunch', task ':downloadAssets', task ':configureClientLaunch', task ':runClient']
Tasks that were excluded: []
Resolve mutations for :compileJava (Thread[#201,Execution worker Thread 2,5,main]) started.
:compileJava (Thread[#199,included builds,5,main]) started.
> Task :compileJava FAILED
Caching disabled for task ':compileJava' because:
Build cache is disabled
Task ':compileJava' is not up-to-date because:
Task has failed previously.
The input changes require a full rebuild for incremental task ':compileJava'.
Watching 56 directories to track changes
Watching 55 directories to track changes
Watching 54 directories to track changes
Watching 53 directories to track changes
Watching 52 directories to track changes
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with toolchain '/home/linusintro/MCreator/jdk'.
Compiling with JDK Java compiler API.
/home/linusintro/MCreatorWorkspaces/hearty_stones/src/main/java/net/mcreator/heartystones/procedures/GrantHeartProcedure.java:26: error: package ForgeRegistries does not exist
((LivingEntity) entity).getAttribute(ForgeRegistries.ATTRIBUTES.getValue(new ResourceLocation("minecraft:generic.max_health"))).setBaseValue(((entity instanceof LivingEntity _livEnt ? _livEnt.getMaxHealth() : -1) + 2));
^
/home/linusintro/MCreatorWorkspaces/hearty_stones/src/main/java/net/mcreator/heartystones/procedures/GrantHeartProcedure.java:47: error: package ForgeRegistries does not exist
((LivingEntity) entity).getAttribute(ForgeRegistries.ATTRIBUTES.getValue(new ResourceLocation("minecraft:generic.max_health"))).setBaseValue(((entity instanceof LivingEntity _livEnt ? _livEnt.getMaxHealth() : -1) + 1));
^
/home/linusintro/MCreatorWorkspaces/hearty_stones/src/main/java/net/mcreator/heartystones/init/HeartyStonesModItems.java:21: error: cannot find symbol
HEART_STONE = register("heart_stone", new HeartStoneItem());
^
symbol: class HeartStoneItem
location: class HeartyStonesModItems
/home/linusintro/MCreatorWorkspaces/hearty_stones/src/main/java/net/mcreator/heartystones/init/HeartyStonesModItems.java:22: error: cannot find symbol
CRACKED_HEART_STONE = register("cracked_heart_stone", new CrackedHeartStoneItem());
^
symbol: class CrackedHeartStoneItem
location: class HeartyStonesModItems
4 errors
Watching 57 directories to track changes
Watching 58 directories to track changes
Watching 59 directories to track changes
Watching 60 directories to track changes
Watching 61 directories to track changes
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 --scan to get full insights.
BUILD FAILED in 1s
1 actionable task: 1 executed
What mcreator version do your use?????? This plugin is only compatible with 2023.4. For new versions your can use this generator: https://mcreator.net/plugin/110257/fabric-generator-1201 This is only for 2024.2 but I think It updated soon to 2024.3
There are a form to convert a mod for other loader. Hoy have to go to the settings of the mod and in the pencil your have to put the other loader your like to change. Wait and is finished.
C:\Users\russe\MCreatorWorkspaces\drinksnbuffs\src\main\java\net\mcreator\drinksnbuffs\procedures\BlendProcedure.java:27: error: cannot find symbol. Anyone know what this means?
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 😄
Changelog:
https://mcreator.net/plugin/64512/mcreator-fabric-generator
Fabric Generator 2.1-1.21.8
Changelog:
https://mcreator.net/plugin/64512/mcreator-fabric-generator
very good goldorion
Fabric Generator 2.2-1.21.8 - The update that compiles
Changelog:
https://mcreator.net/plugin/64512/mcreator-fabric-generator
Will there be a version for fabric 1.21.7 ? As i kinda need a one for a project of mine