Fabric-Generator-MCreator

A Fabric Generator plugin for MCreator

OTHER License

Stars
110
Committers
19

Bot releases are hidden (Show)

Fabric-Generator-MCreator - 1.19.2 - 1.8

Published by Goldorion almost 2 years ago

  • Updated to Fabric API 0.67.1
  • [#79] Added support for global variable scopes: Global map and Global world
    • In some cases, they can desync. A simple fix is to check "If NOT client side"
  • [#302] Added all block inventory management procedure blocks (NerdyPuzzle)
  • [#308, #319, #320, #325] Added new global triggers support: Entity attacked, Entity dies, before entity is hurt, Player sends a message, Command executed, Player joins a world, Player leaves a world, Entity travels to a dimension (kleiders and NerdyPuzzle)
  • [#308] Added support for entity local variables (kleiders)
  • [#309] Added RepairItemRecipe Mixin and refactored a lot of things related to mixins (kleiders)
  • [#316] Reintroduced support for end biomes through biome default features (NerdyPuzzle)
  • [#318] Added get/set entity inventory slot procedures (NerdyPuzzle)
  • [#324] Added "creativePickItem" to blocks (kleiders)
  • [#322] Remove block nbts as they use forge code (NerdyPuzzle)
  • [#332] Added support for the wait procedure (NerdyPuzzle)
  • [Bugfix #326] Fishing mixin fix and refmap fix (kleiders)
  • [Bugfix #327] The base texture parameter caused a build error in overlays
  • [Bugfix #329] Custom biomes without a spawning option enabled caused a build error
  • [Bugfix #331] Fix guistate dependency on GUI slots & buttons causing a build error (NerdyPuzzle)
Fabric-Generator-MCreator - 1.19.2 - 1.7-beta 6

Published by Goldorion about 2 years ago

  • 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.
Fabric-Generator-MCreator - 1.19.1 - 1.7-beta 4

Published by Goldorion about 2 years ago

  • [#202] Added support for custom Java models for entities
  • [Bugfix] Custom armors had a black and purple renderer
Fabric-Generator-MCreator - 1.19.1 - 1.7-beta-3

Published by Goldorion about 2 years ago

  • 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
Fabric-Generator-MCreator - 1.19.1 - 1.7-beta-2

Published by Goldorion about 2 years ago

  • Disable some generation parameters in the biome mod element
  • [Bugfix #211] Mods could not be exported
  • [Bugfix] Fix fishing rods causing a build error
Fabric-Generator-MCreator - 1.7-beta-1 - 1.19.1

Published by Goldorion about 2 years ago

Fabric-Generator-MCreator - 1.6-beta-3 - 2022.1 and bug fixes

Published by Goldorion over 2 years ago

1.6-beta-3

  • Updated to 2022.1
  • Fix the access widener problem
  • [Bugfix #188] Selecting mega spruce tree type in biomes made the game crashed
  • [Bugfix #192] Local variables were not generated
  • [Bugfix #187] Several advancement triggers did not work properly
  • [Bugfix] Some recipes had problems
Fabric-Generator-MCreator - 1.17.1-1.6-beta-2 - Patch update

Published by Goldorion over 2 years ago

  • Fixed #180
    • Note: If you already opened a workspace, follow these steps:
      1. Close your workspace and go inside your workspace's folder
      2. Open in Notepad or another text editor the .mcreator file
      3. Search currentGenerator, inside workspaceSettings and replace fabric-1.17.1 by fabric-1.16.5 (Install it!)
      4. Save, close, re-open your workspace, and re-select Fabric 1.17.1
Fabric-Generator-MCreator - 1.6-beta-1 - 1.17.1 support abnd new features!

Published by Goldorion over 2 years ago

1.16-beta-1

  • Added base support for Fabric 1.17.1
  • Added support for mod elements: advancement, armor, biome, block, command, creative tab, custom element, dimension, enchantment, food, fuel, function, game rule, gui, item, key binding, living entity, loot table, music disc, overlay, painting, particle, potion effect, potion item, procedure, ranged item, recipe, structure, tag, tool and variables
  • Added support for new global triggers: Player in bed, Player respawns and Player wakes up
  • Added support for water loggable blocks
  • Added support for tinted plants and blocks
  • Added support for following block procedure blocks: Play break effect, is side solid
  • Added support for following direction procedure blocks: For each direction, for each horizontal direction, direction iterator, direction random
  • Added support for following direction procedure blocks: Check player game mode, Get entity shoot power, Get entity slot, For each slot of entity inventory, Get entity look face, Get/Set logic/number/string entity NBT tag, Get potion effect level, Get potion effect remaining, Remove item, Remove recipe, remove specific potion effect, Remove xp, remove xp level, Run function, send chat, set flying, set food level, set main hand item, set offhand item, set no gravity, set oxygen, set rotation, set saturation, set scoreboard score, set slot, set sneaking, set spawn, set sprinting, set in cobweb, size height, size width, submerged height, xp level, logic entity compare
  • Added support for following item procedure blocks: bucket to fluid,
  • Added support for misc procedure blocks: Get dimension id, get localized text
  • Added support for following world procedure blocks: shoot arrow, spawn entity, spawn entity with rotation, spawn entity with rotation and velocity, strike lightning, get number of players on the server, entity in range, entity in range exists, entity in range foreach, spawn falling block, switch world, use bone meal
Fabric-Generator-MCreator - 1.5.3 - A third patch update to kill several build errors

Published by Goldorion almost 3 years ago

  • [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
Fabric-Generator-MCreator - 1.5.2 - Another patch version

Published by Goldorion almost 3 years ago

  • [Bugfix #164] Food elements did not generate files
Fabric-Generator-MCreator - 1.5.1 - Patch update

Published by Goldorion about 3 years ago

Changelog

  • [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
Fabric-Generator-MCreator - 1.5 - Custom GUI and inventories, Flying entity and Item parameterss

Published by Goldorion about 3 years ago

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.

*Procedure blocks to manage block, item and entity inventories have not been implemented as they use a Forge feature.

Changelog

* 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
Fabric-Generator-MCreator - 1.16.5-1.4.2 - A second patch update

Published by Goldorion about 3 years ago

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.
Fabric-Generator-MCreator - 1.16.5-1.4.1 - A patch update

Published by Goldorion about 3 years ago

Some bugs have been found in the last update, so this patch intends to fix them.

Changelog

* [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
Fabric-Generator-MCreator - 1.16.5 - 1.4 - MCreator 2021.2, new missing features and procedure blocks

Published by Goldorion about 3 years ago

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.

Notes

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

  2. As I just mentioned, for several months now, I'm alone working on the generator, except U1timateJ7 who implemented a few features. I love making the generator, but sometimes it's boring to be always alone, it's long, it requests me several entire days to make a single update and I don't know everything about Fabric and modding. Even if I learnt a lot since I started this generator, I still need to know and understand a lot of things, such as networking, but I'm a human and even if I can learn quickly, I need some time to learn things. So, I ask to all of you, if you have some knowledge in Java, fork the repository and implement a feature, even if it's the smallest one. Then, open a pull request. By doing that several times or only one time for a bigger feature, will save me a lot of time to work on other things for the generator or doing something else than working on the generator.

Changelog

### Release
* Added the possibility to generate custom biomes in the Nether and The End.
  // Read the tooltip of the biome dictionnary.
* Added support for the Action Result Type procedure block
* Added support for new logic related procedure blocks: Advancement is equal to, compare dimension id, compare entities, compare itemstacks, compare items
* Added support for new blocks related procedure blocks: Block is fertilizable, is valid position, is waterloggable, NBT logic get, NBT logic set, get hardness, is solid, get light level, get opacity, convert block to item, Provided blockstate, Item to block
* Added support for new fluid related procedure blocks: Is fluid, is fluid source, get fluid at
* Added support for new direction related procedure blocks: Compare axes, x offset, y, offset, z offset, rotate clockwise, rotate counterclockwise
* Added support for new entity and player related procedure blocks: Add exhaustion, add potion, add potion (advanced), add recipe, check creature type, deal custom damage, get dimension ID, get absorption, get armor slot item, get flying speed, get oxygen, get saturation, get scoreboard score, get walk speed, get owner, get riding entity, get target entity, has no gravity, has recipe, is elytra flying, is tagged in, is alive, is blocking, is child, is immune to explosions, is immune to fire, is in lava, is in water, is in water or bubble column, is invisible, is invulnerable, is leashed, is non boss, is on ground, is tamed, is tamed by, make ride, make tamed, move entity
* Added support for new item and itemstack related procedure blocks: Can smelt, check rarity, deal damage [#89], enchanted with xp, fuel power, get food value, get max damage [#89], get saturation value, is food, is tool, is name, name, NBT logic/number/String get/set, set damage [#89], set display name, show totem like animation, item entity to itemstack, get count, grow, itemstack iterator, remove specific enchantment, shrink
* Added support for new world related procedure blocks: Place structure, play sound, provided dimension id, run function, get dimension id, get height at, get number of players in provided world, for each player in the world
### 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 enchantment features
* 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
Fabric-Generator-MCreator - 1.16.5 - 1.4 Snapshot 1 - MCreator 2021.2 and Small features

Published by Goldorion about 3 years ago

This version is a beta version for the next major version. 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.

Changelog

# 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
Fabric-Generator-MCreator - 1.16.5 - 1.3 - Structures and Particles

Published by Goldorion about 3 years ago

The new major update 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```
Fabric-Generator-MCreator - 1.16.5 - 1.2 - Major bug fixes and Custom paintings

Published by Goldorion about 3 years ago

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.
Fabric-Generator-MCreator - 1.16.5 - 1.1 - Custom Entities & Block generation

Published by Goldorion over 3 years ago

The new major update of the Fabric Generation is now available! This new version adds a almost full support for custom entities (see notes below), the block & plant generation and some other features.

Next version

I will start to work on the 1.17 support in the following days, so the first snapshot of the next snapshot should mainly be about this. However, concerning mappings, I won't add my own mappings because it can cause several problems when moving to the official MCreator's mappings if mappings are not the same.
This new major update is surely the last major version for Minecraft 1.16.5, I will make one or two patches to fix potential bugs. So, if you encounter a bug, please open a bug report as quickly as possible. Otherwise, the bug will be fixed for the next major update.

Concerning other features, I plan to implement completely (or everything I can) the GUI mod element, with block, item and entity inventories. I would also like to implement the last features for custom entities, with obviously other smaller features. Finally, depending on when MCreator 2021.2 will release, I will also work on global variables.

Changelog:

1.1

// New since the last snapshot

  • Updated Fabric API to 0.34.6
  • Added complete support for the game rule mod element
  • Added support for block generation parameters
  • Added support for all plant generation types and generation parameters
  • Added new world procedure blocks: get logic game rule, get number game rule, set logic game rule and set number game rule
  • Added complete support for Tick randomly
  • Added a new block trigger: Update tick
  • Updated the tag mod element to support entities
  • Added new block bases: [#104] Stairs, door, fence, fence gate
  • [Bugfix #110] GROUND and PLANT step sounds had the wrong sound.
  • [Bugfix] Transparency on custom plants was black.
  • [Bugfix] Update tick trigger for plants caused a build error.

Snapshot 1

  • [#83] Added support for custom living entities
    Note: Flying entities are not 100% implemented. Entity inventory and Ranged attacks are not implemented.
  • Added minimum and maximal enchantment level parameters
  • Added Enable melee damage checkbox for custom items
  • [Bugfix #102] Some block triggers caused build errors
  • [Bugfix #105] Blocks mined with a tool using a lower harvest level dropped.
  • [Bugfix] Some sound mappings did not work properly