Started by
Goldorion
on
Topic category: Plugins and third-party tools
This plugin adds a new Fabric Generator to your MCreator.
Hi, I know you are all waiting for the 2023.4 port, but my motivation was very low for a long time. It's still not at its top, but I had enough of it to fix several reported bugs. I hope you'll enjoy it until I do the full 2023.4 update (it's a big update).
Important Information
-
Supported Global triggers
- All procedure blocks (and global triggers) are marked as supported, but several of them will fail to build. THIS IS NORMAL. Do not report them.
- Mods will also require Fabric API to function properly, so when you want to play your mod, make sure you have Fabric API.
- Biomes now require TerraBlender to generate in the Overworld and the Nether.
- Some features are disabled because they are Forge-related features, so I can not support them.
Credits
- This generator re-uses a lot of the code used by the official Forge 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:
1.20.1-1.9.11:
* [Bugfix] Player right clicks on entity global trigger was called twice
* [Bugfix #480] GUI labels had a shadow
* [Bugfix #483] GUI tooltips gave a build error
* [Bugfix #493] Double plants could not be used
* [Bugfix #496] Player right-clicks on a block failed to build
* [Bugfix #503] Custom End biomes had multiple problems
The plugin's page https://mcreator.net/plugin/64512/mcreator-fabric-generator
Edited by Goldorion on Tue, 01/30/2024 - 02:18
Hi! Are you going to update to 1.20.2 soon?
I started university and I'm quite busy, so I don't know when I will work on it (I might wait until MCreator updates to 1.20.2)
can you add older versions in the same post?
Hello!
Sorry to reply to such an old topic.
I'd work on a 1.19.2 fabric mod, and the generator plugin doesn't work on the latest version (2023.3).
I hope there'll an update for that plugin.
is there anything on if/when we will get villager profession support?
Once I have plenty of free time, which I don't have currently (due to university)
Is there a 1.19.4 version?
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