Fabric Generator [1.19.2]

Published by Goldorion on Sun, 07/26/2020 - 13:49
Upvotes: 579
Supported MCreator versions
2022.3
Tags / plugin type
API support
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.19.2.

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

  • Contributors (previous Minecraft versions) - crispy_chips1234, Klemen, U1timateJ7, BoogieMonster1O1
  • This generator re-uses a lot of the code used by the official Forge 1.17.1-1.18.2 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 version:

1.7-beta-12

* Added a TerraBlender API
* Added support for Overworld and Nether biome generations
  Notes: TerraBlender is required and cave biomes are still unsupported.
* [Bugfix] Custom APIs could not be used
* [Bugfix #285] Using custom potions in a workspace caused a build error

1.7-beta-11

* Updated to MCreator 2022.3.41417
* Added support for 1.19.x mappings
* Removed End biome support (sorry)
* Added support for new 2022.3.41417 features
* [Bugfix #273] Custom paintings didn't appear in the game
* [Bugfix #274] Is block tagged in caused a build error
* [Bugfix] Fixed a problem with dimensions

1.7-beta-10

* [#260] Added support for custom bullet models
* [Bugfix #236] Items disappearing from GUI when being shift-clicked
* [Bugfix #266] Open GUI procedure block caused a build error
* [Bugfix #267] Setting Drop amount to 0 caused a build error
* [Bugfix #272] Workspaces with recipes could fail to build in some cases.

1.7-beta-9

* Updated Fabric API to 0.60.0
* Re-added support for the dimension mod element
* Added support for brewing stand recipes (**Read the type tooltip for info**)
* [Bugfix #259] Buttons or slots without a procedure caused a build error
* [Bugfix #264] item.crop.plant sound did not work
* [Bugfix #264] Using a custom sound crashed the game

1.7-beta-8

* [Bugfix #253] GUIs not using player's slots caused a build error
* [Bugfix #256] Player right clicks with item trigger caused a build error
* [Bugfix] Schedule tick could still cause a build error in some cases
* [Bugfix] Recipe remainder made the code not generating
* [Bugfix] Enabling melee damages caused a build error (missing import)
* [Bugfix] Custom sounds set caused a build error
* [Bugfix] Fire spreading caused a build error for blocks
* [Bugfix] Offset type caused a build error for blocks
* [Bugfix] Can redstone connect to block has been disabled (Forge feature)
* [Bugfix] Custom entities could not due to a missing import in some cases

1.7-beta-7

* [Bugfix #245] Selecting specific biomes to generate a feature caused a build error
* [Bugfix #246] Enabling the glowing effect on custom tools caused a build error due to a wrong import
* [Bugfix #247] Changing the block's tick rate could cause a build error in some cases

1.7-beta-6

* Updated to Minecraft 1.19.2 and Fabric API 0.59.0
* [#223] fabric.mod.json is now lockable
* [Bugfix #222] Enabling the waterloggable option for custom blocks caused a build error
* [Bugfix #229] Generated blocks, plants or structures caused a build error.
* [Bugfix #231] Sounds did not play on servers
* [Bugfix #238] Stay in crafting grid option caused a build error
* [Bugfix #243] Disabled the creative pick item parameter for blocks and plants (Forge feature)
* [Bugfix] Random offset plant parameter caused a build error when changed.

1.7-beta-5

* [#220] A Gradle task is now executed to decompile the code (to open it)
* [Bugfix #217] Execute commands procedure blocks could not be used
* [Bugfix #219 #221] Multiple procedure blocks caused a build error due to the usage of `new TextComponent`

1.7-beta-4

* [#202] Added support for custom Java models for entities (Same as Forge 1.18.2)
* [Bugfix] Custom armors had a black and purple renderer

1.7-beta-3

* Custom Java models can no longer be imported (currently unsupported)
* [Bugfix #214] The play sound procedure block caused a build error
* [Bugfix] Custom sound types for blocks caused a build error
* [Bugfix] Tamable entities could cause a build error
* [Bugfix] Get fuel power procedure block caused a build error
* Some other minor fixes and changes

1.7-beta-2

* Disable some generation parameters in the biome mod element (they were not implemented)
* [Bugfix #211] Mods could not be exported
* [Bugfix] Fix fishing rods causing a build error

1.7-beta-1

* Added base support for Fabric 1.19.1
* Added support for mod elements: advancement, armor, biome, block, code, command, enchantment, function, game rule, gui, item, item extension, key bind, living entity, loot table, music disc, overlay, plant, potion, potion effect, procedure, ranged item, recipe, structure, tab, tag, tool
* Added some minor features from 2022.2 snapshots
* [Bugfix] Add item to player's inventory caused a build error

Notes: 1.19 mappings will come after official data lists are updated. Biomes are far from being as in the 1.17.1 generator because I will now need to use TerraBlender to generate biomes in the overworld. Even if I support Nether and End gens, I can't apply surface rules currently and so, I will also need TerraBlender.
Dimensions are also not done because they changed once again between 1.18.2 and 1.19, and I didn't find how to port them.
You can also expect several bugs, mostly when using procedure blocks.
Project members
Lead developer
License
GNU Lesser General Public License version 3 (LGPLv3)

Plugin downloads
Attachment Size
Fabric Generator 1.7-beta-12 - 1.19.2393.53 KB 393.53 KB

Comments

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)

I already plan for some time to implement them. However, I also want to implement, block, item and entity inventories (in addition to GUI/inventory procedure blocks), so it takes some time I also need to understand the network system of Fabric, so I need some time to figure out how it works and implement all this stuff. :D

For some reason my ranged item is not compiling and I made it the same way as a made my forge one

Hey man, really appreciate the good work! Thank you very much for supporting the fabric community!! :D

Ok I have done alot of digging and I found that whenever I use Immediate source entity it stops the ranged item from compiling.
Thanks for bearing with me I know I'm really annoying

Omg I am so sorry for the confusion. I just realized the reason it wasn't compiling was because it wasn't supported yet. I am so sorry for wasting your time.

Whenever I try to make an entity with the plugin, the workspace won't build. It says it had to do with mob drops, but even when the mob drops nothing, the workspace won't build

Good thing I read the description, otherwise we would know what's coming...

why is it that when ive tried several times to create the mod and export it, it won't load anything into the actual game no blocks I added :(

would also like to mention I have the correct versions of everything and it all works up until playing the game