Fabric Generator

Published by Goldorion on Sun, 07/26/2020 - 13:49
Upvotes: 299
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.1

Minecraft 1.18 has been released and Forge too. The next update of MCreator (after the 2021.3) will add support it, so I will skip the 1.17 version has it's not worth enough to work days on it to update it again a month after.

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

Global triggers are added because Forge adds events. However, Fabric does have an event system, but there are only a few events available. Currently, almost every trigger I could implement is implemented. Sadly, the On player update tick is not one of them. :/

Hi there I wanted to know when there will be support to add triggers (events) to armor

Hello! It's me again bugging you. Whenever I do the force entity to ride entity in bullet flying tick it doesn't work on the bullet until it lands also, the bullet is invisible. Example in a 1 minute video: https://youtu.be/5Jk3KR5Plqc

So are Music Disc's permanently broken are are we getting a fix for them in the future?
There's little to no documentation on what works and what doesn't in the latest version, and both MCreator and the Fabric generator have broken my mod.... looking to revert to an older version

Several build errors were still present in the generator, so I released a patch to kill them.
* [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```
https://mcreator.net/plugin/64512/mcreator-fabric-generator

Each person has their process but in my case, I usually go on the GitHub repository of the plugin to check if I have bugs to fix. If I do, I will start by fixing them by investigating if needed or trying to replicate the bug, so I can know what is problematic. If I want to make a patch update, I will only fix bugs otherwise, I will simply continue to make new features depending on what users asked me and what I want to work on.

If you want to know how to make a plugin, I can't explain it here because it will be too long and I already explained everything on the wiki. https://mcreator.net/wiki/section/mcreator-plugins

Hello~MODERATOR~
When will Potions (vanilla item) be added to the recipe item?
I don't want to urge, I just await these updates.

Compared with the 1.19 update,
The update of MCreator and the update of Fabric Generator are even more exciting.

it says that NBT isnt supported by current generator (the nbt tags) but the patch notes said this was fixed

I think i found a bug. For some reason when i play test the game, my food items don't show up. Is it just me or is this widely known?