Fabric Generator 1.20.1 [Plugin]

Started by Goldorion on

Topic category: Plugins and third-party tools

Fabric Generator 1.20.1 [Plugin]
Tue, 01/30/2024 - 02:18 (edited)

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.

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 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
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.

Last seen on 02:05, 30. May 2021
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.

Last seen on 00:42, 10. Oct 2023
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.

 

 

 

Last seen on 00:42, 10. Oct 2023
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.

Last seen on 14:28, 23. Aug 2020
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.

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

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.

Last seen on 08:04, 13. Aug 2020
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?

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.