Fabric Generator

Published by Goldorion on Sun, 07/26/2020 - 13:49
Upvotes: 295
Supported MCreator versions
2021.2
Tags / plugin type
Generator
Plugin forum topic
MCreator Fabric Generator
About the plugin

This plugin adds a new Fabric Generator to your MCreator.

The Current targeted Minecraft Version is 1.16.5.

Features

Note: Mod elements listed are not all fully implemented

Full support

  • Advancement
  • Command
  • Custom code
  • Enchantment
  • Food
  • Fuel
  • Function
  • Game rule
  • GUI
  • Item
  • Item group Missing: Re-order creative tabs
  • Key binding
  • Loot table
  • Music disc
  • Overlay
  • Painting
  • Particle
  • Potion Effect
  • Potion
  • Recipe
  • Structure spawn
  • Tool
  • Partial support (almost fully supported)

  • Armor
  • Biome
  • Block
  • Dimension
  • Living entity
  • Plant
  • Ranged item
  • Partial support

  • Procedure
  • Variables // Global scopes, except Global session, are missing.
  • Not supported

  • Fluid

Important Information

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

1.17

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.

License

Thanks to all of you for helping in reporting bugs, testing or anything else.

Licensed under the GNU Lesser General Public License, version 3.0  
* Mods created with this tool may be closed source and/or be 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 modified works are endorsed by the original creators.

Changelog:

To see a complete changelog of the plugin, check this file.

Last version:

1.5.3:

* [Bugfix] Fix Get fuel power of, Is blockat solid, replace block, get/set logic/text block NBT Tag of block, get enchantment level of itemstack, get smelting result, place structure, run function, set global spawn, set time, spawn item entity, get biome at, get dimension id procedure blocks
* [Bugfix] Fix music disc build error
* [Bugfix #166] Fix the On food eaten food trigger

1.5.2:

* [Bugfix #164] Food elements did not generate files

1.5.1:

* [Bugfix #150] Entities with the Biped model now display equipped items
  * The fix was applied to chicken models
* [Bugfix] Some AI task blocks prevented the entity to build

1.5:

The new major update is now available. After months of waiting and requesting, GUI has finally been added to the generator! With all parameters supported and the possibility to add an inventory to your block, item or entity, your mods will finally be able to have an interface. GUIs and slot procedure blocks are also coming with this update.* In addition to that, some smaller features, such as the custom dispenser behaviour item feature, are also coming and as usual, many bugs are dead.

* Added full support for custom GUIs
* Added support for Block entity
* Added support for Block, entity and item inventories
* Added support for following GUI related procedure blocks: Deal damage to item in slot, Get amount in slot, get item in
  slot, remove items, Set item in slot, Get text in textfield, Is checkbox checked, Set text in textfield
* Add support for flying entities
* Added following AI task blocks: Attack fly, Break blocks, Fly, Move indoors
* Added support for custom dispenser behaviour for custom items
* [#111] Added "Does item stay in crafting grid" item and tool parameter support
* [#152] Added support for the immediatesourcentity dependency for bullet triggers in ranged items
* [Bugfix] Using the custom drop option in custom blocks caused a build error (due to a change from the last version)
* [Bugfix] On block right-clicked block trigger caused a build error
* [Bugfix] Right-click in air item trigger caused a build error.
* [Bugfix] Biomes using a custom entity didn't build properly
* [Bugfix #152] Entities with the Biped model now display equipped items

 

Project members
Lead developer
Contributor
Contributor
Contributor
Contributor
License
GNU Lesser General Public License version 3 (LGPLv3)
Plugin downloads
Attachment Size
Fabric Generator 1.5.2 - 1.16.5296.2 KB 296.2 KB

Comments

I can't generate a workspace. It says the build failed.

Hello!
I tried making a food item that uses the “when food eaten” trigger. Unfortunately, whenever I tried to put a procedure into the trigger, the food element would fail to compile. The procedure itself was compiling properly, and didn’t have any warnings or errors.
I looked on this page, but the only missing trigger mentioned was “on entity swing”. Is there something I am missing, or does the generator simply not support the “when food eaten” trigger?

I can't use it.
Appear to be locked.

https://i.ibb.co/HDHjLdb/fabric.png

I Can't Get It to work even after deleting the gradel cache folder please can you describe how you fixed it with more detail

So, I see you're waiting on MCreator to upgrade to java 16... Have you messaged them about that? I know that Forge hasn't updated yet, but updating the java version seems like it should be easy enough, and will be required eventually anyway. Maybe open a github issue and link it here, or something? :/

I'm already a major MCreator['s contributor and have already been in contact for several months (over 1 year and a half at least) with Klemen and Matej. Updating to a newer Java version is not always as easy as we can think because several things can change or can be improved with new features. About updating from J11 to J16, Klemen told us (contributors), he won't change the Java version before MCreator 2021.3 because Forge 1.15.2 doesn't support this Java version. In addition, he wanted to have Forge 1.16.5 at least and it's only a few days ago, Forge released a new RB supporting Forge Gradle 5 (so Java 16). Klemen already started to work on the update for J16, but he still needs to finish a few things and fix potential problems. The PR won't be merged before the 2021.3, so I don't think I will work on new features for the 1.16.5 version as it will require me to spend more time on updating to Fabric 1.17.1 (new names and systems as usual).

Oh, so 2021.3 will drop 1.15.2, do I understand correctly? :<
Also, there is no chance for any new GUI feature for it, such as customised button, since it was you working on GUI features, iirc? (sorry for asking about that here, but if I should stop hoping, I'd want to do it as early as possible)

Such a shame :< of course I will try to add that via code someday, but implementing that would save quite a lot of time (and I see it is kinda requested feature too), since I just started learning basic Java and it will take a while before I will be able to contribute to MCreator/code that myself. And custom buttons being MCreator feature would make it less buggy when changing generators back and forth, as I do to maintain all versions, I guess.
But I'm excited for 1.17.1 support anyway, so good luck with stuff you work on atm! Remember that we all appreciate your amazing work! ^^

is 3d armour supported? (if i already left this comment then sorry becus i cant seem to find my comment)