Fabric Generator 1.20.1 [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.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
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A new update just arrived!…
Wed, 07/28/2021 - 17:14

A new update just arrived! This smaller update fixes 2 major bugs, improves custom armors and adds a new mod element. Paintings! Check the complete changelog below to see everything added, changed and fixed in this update.

1.17
In the previous update, I said I wanted to start updating the generator to Minecraft 1.17.1. However, in order to develop with Minecraft 1.17, we need to use Java 16, but currently, MCreator only supports Java 11. I tried to add an option to use a custom JDK, but it doesn't work as the internal JVM is only with Java 11. So, as long MCreator doesn't have a JDK 16, I can't work on a 1.17.1 version.

Changelog

Note: This version will not be loaded on MCreator 2021.2 (including snapshots).
2021.2 snapshots make several major changes, making the current version incompatible with them.
Another version will be made to support entirely MCreator 2021.2
* Updated to Fabric API 0.37.1
* Improved generated code for custom armors
* Added support for the painting mod element
* [#124] Added support for tooltips for each armor item
* Added knockback resistance support for custom armors
* [Bugfix #113] Workspaces could not build properly.
* [Bugfix #118] The drop of custom block caused a build error.
* [Bugfix #131] Blocks and items did not appear in custom creative tabs

Next update
About the next major update, I already know features I want to implement, but it will require some time to add. However, I'm pretty sure most of you will love the update. :) If Mcreator 2021.2 is released before this new major update, I will include the support for MCR 2021.2 in this major update.

 

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

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The new major update of the…
Sat, 08/14/2021 - 05:15

The new major update of the Fabric Generator is here! Originally, I also wanted to implement custom GUIs and inventories. However, the release of MCreator 2021.2 is near, it breaks generators and GUIs + inventories is a big fish.

Summary

So, even if this update is smaller than the other major updates, it implements two new mod elements. Custom structures and custom particles! As I'm doing since the 1.0, both of them already have all options implemented. Blocks now have the possibility to use the Particle properties panel. Finally, as usual, some more or less important bugs have been fixed. # Next update Except if a major issue is found, this update is the last one for MCreator 2021.1. MCreator 2021.2 breaks the generator due to 2 major changes I made during the development (custom variables and a complete rewrite of the mod element type creation). So, as the pre-release is coming in the following days, I will start to work on updating the generator for this version. Then, as variables will now be easier to make, I will try to implement global variables. In addition to this and smaller features, I will implement the fluid mod element with all new possibilities SomeoneElse added during snapshots. The 2021.2 is a major update for plugins due to everything I added, including for generators, so I will use the new feature to disable unsupported parameters, giving you a much better understanding of what you can use.
 

Changelog
 

Note: Except if a major bug is found, this version is the last one supporting MCreator 2021.1.
* Added custom structure spawn mod element
* Added custom particle mod element
* Added Particle properties support for blocks
* Added support for Client display random tick for custom blocks and plants
* [Bugfix] Imitate overworld behaviour parameter caused a crash.
* [Bugfix] Custom enchantments didn't compile due to the class duplicated inside the same class
* [Bugfix] Fix enchantment mappings
* [Bugfix #133] Spawn XP orb and Add enchantment to itemstack procedure blocks caused a build error

https://github.com/Goldorion/Fabric-Generator-MCreator/releases
https://mcreator.net/plugin/64512/mcreator-fabric-generator

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you ❤️ I hope I will…
Sat, 08/14/2021 - 23:30

Thank you ❤️ I hope I will be able to merge the plugin in MCreator before the end of the year. ;)

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 I hope I will be able to…
Sat, 08/14/2021 - 23:45

 I hope I will be able to merge the plugin in MCreator before the end of the year. ;)

I mean, having the generator with enough features to be able to merge it. I don't want to force you (even if it would be good for the plugin).

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fabric does not support(like…
Sun, 08/15/2021 - 18:30

Fabric does not support(like events) so it will never be all green.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What events does it not…
Mon, 08/16/2021 - 16:16

What events does it not support?

Almost all events have not been implemented yet.

Global triggers can be implemented using mixins

I know I can use mixins, but I don't know how they work, so I don't know if I will create incompatibilities between mods.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The snapshot for the next…
Tue, 08/17/2021 - 05:47

The snapshot for the next major update of the Fabric Generator is now available. In this snapshot, the generator has been fully updated to support the latest snapshot of MCreator 2021.2. Variables got a new scope, Global session! Unsupported fields are now disabled and a bunch of new small parameters from MCreator 2021.2 or old versions have been added. I'm releasing a snapshot because as I explained in the previous update, MCreator 2021.2 breaks a lot of things in the code and I also added a bunch of new features, so I want to be sure to have the fewer bugs possible. I plan to release the full update just after the release of MCreator 2021.2, so depending on when it will be, the full release should be a few hours or maybe the day after.  https://mcreator.net/plugin/64512/mcreator-fabric-generator

 

Changelog:

# 1.14 - Snapshot 1

Note: Incompatible with MCreator 2021.2.31709 and older
* Update to MCreator 2021.2
* Improved generated code style in some places
* Disabled all unsupported parameters for armor, biome, block, enchantment, food, item, living entity, music disc, plant, potion effect, ranged item and tool mod elements
* Added support for custom potion and custom potion effect (the split)
* Added missing features for custom potion effects
* Added support for new block bases: End rod, Pressure plate and Button
* Added support for the fishing rod tool type
* Added support for new block parameters: Custom sound set, Redstone properties, placing condition, on right-clicked and on block placed by triggers
* Added support for new plant parameters: Double plant, Custom sound set, Creative pick item, Placing condition, Custom set of blocks a plant can be placed/grow on, On block added and On block placed by triggers
* Added support for a new tool parameter: When block destroyed with tool trigger
* Added support for new features for enchantments
* Added support for new ranged item parameters: Action sound and animation
* Added support for blockstate, direction and action result variable types
* Added support for Action Result return value in triggers
* Added Global session scope support
* Added the new plugin update checking system
* Added support for Is immune to fire for custom armors
* [Bugfix] Is curse option for enchantments didn't apply to the enchantment
* [Bugfix] Fix custom bounding box condition for plants
* [Bugfix] Some other minor fixes and improvements

 

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The first update for…
Thu, 08/19/2021 - 05:36

The first update for MCreator 2021.2 can now be used. Adding a ton of missing features for existing mod elements and one-third of procedure blocks, in addition to custom Nether & End biomes and unsupported fields disabled, this update is surely the biggest one since I started the generator. With this update, many unfinished mod elements are now almost fully supported and procedures can now use even more blocks!

MCreator 2021.2
As said previously, the main purpose of this update was to update the generator to support MCreator 2021.2. However, MCreator 2021.2 doesn't only change several systems in its core, it also adds several new features for plugins and generators.

Disabled fields and new existing mod element features
One of the main new features for generators is the possibility of disabling fields we want. After updated the core plugin, I checked each unfinished mod element to disable every field I didn't implement yet. When I did this job, I noticed I could easily implement several missing features for many mod elements. For a long time, I never wanted to do it because I thought it would take a lot of time. I finally took the time o implement as many new features as possible. Of course, I also tried to add everything MCreator 2021.2 gives us new.

Procedure blocks
Before this update, procedures were... you know, they didn't have a lot of possibilities. This update doesn't add new global triggers (because Fabric doesn't add a lot of events), but it adds a lot of new procedure blocks. And when I say a lot, I mean two times the number of procedure blocks added by MCreator 2020.5. It added about 53 new procedure blocks. This update adds 107 new procedure blocks, for a total of 227 on 330 blocks (MCreator 2021.2.31709). You should have a bit more possibilities now.

Nether and The End biomes
Forge doesn't support them? It doesn't matter. Fabric doesn't support the biome dictionary (a Forge feature)? Perfect! Using a Forge feature field to implement a Fabric feature, what a nice idea to be more popular! As you may understand, in this update, I decided to use the biome dictionary field to support the Nether and The End biome generations. To generate your biome in the Overworld, it works as usual. However, if you also want to generate your biome in the Nether and The End, you simply need to add the biome dictionary entries corresponding to the generation you want. To get more info about that, I changed the tooltip of the biome dictionary, so you can know how to use it to do what you want. Oh and did I also mention, you can generate your biome as a highlands (The End), a small island (The End), inside the Nether and inside the Overworld at the same time? However, you should do 1 biome = 1 dimension.

Note
Since a few times already, I don't get as many bug reports and feature requests as I had before. So, I would like to remember to you that if you have a bug or you would like to get a feature that is still missing, open a ticket! I know I can take a lot of time to implement something (mainly for the biggest requests), but I do my best to implement them as fast as possible. Since I started back to work on the generator, I tried to add missing mod elements with all (or almost all) their features from the start because I don't want to do like before and have bad mod elements. I can understand it can be frustrating to wait several weeks or months to have a feature, but I have some plans in my head and I do my best to finish the generator as quickly as possible. However, I'm alone and it's not quick to make such a big generator.

 

The changelog is too big, so check this file to see the complete changelog of this version.
https://mcreator.net/plugin/64512/mcreator-fabric-generator

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Some bugs have been found in…
Sun, 08/29/2021 - 21:42

Some bugs have been found in the last update, so a small patch has been released to fix them.

1.16.5-1.4.1:
* [Bugfix] Right-click in air tool trigger caused a build error.
* [Bugfix] Custom shears caused a build error
* [Bugfix] Special and multi-tool weren't fully supported (causing build errors)
* [Bugfix #139] Selecting the Nether or the End dimensions in the plant generation caused a build error
* [Bugfix #142] Enabling the Does emit redstone property for custom blocks caused a build error

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

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A second patch update for…
Sat, 09/04/2021 - 00:33

A second patch update for the Fabric generator has been released. Originally, I did not plan to release another patch update. I already started to work on the next major update (custom GUIs/inventories are coming...). However, several important bugs have been found in the last version, so I decided to release a second patch to fix them to have a good final version before the next update coming in the following weeks.

Changelog:

* [Bugfix] Custom biome sounds caused a build error
* [Bugfix] BerryBushes, SwampClayDisk and TaigaLargeFerns default features caused a build due to a wrong value
* [Bugfix] On initial spawn entity trigger caused a build error when a procedure was selected
* [Bugfix #143] Ray tracing procedure blocks cause a build error
* [Bugfix #145] Enabling the boss bar in custom entities caused a build error
* [Bugfix #146, #147, #148] Mod elements having an element selected inside a block/item selector always failed to build.