Better GUI Creation (Recipe Integration, Template GUIs, Easier GUI Blocks)

Started by MCDragon on Thu, 06/23/2022 - 03:55

Topic category: Feature requests and ideas for MCreator

Last seen on 08:59, 6. Aug 2022
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Better GUI Creation (Recipe Integration, Template GUIs, Easier GUI Blocks)
Thu, 06/23/2022 - 04:58 (edited)

The current GUI creation system allows for quite the customization, however when trying to create custom utility blocks it can become complicated since recipes are not registered like they are with normal utility blocks. This idea would help simplify the creation crafting tables, furnaces, chests, and even work tables like smithing tables and stonecutters, this also comes with procedures of sorts to define the GUI for recipe integration or specialized procedures for unique utility blocks.

|

Starting with the GUIs that would be available, these would work as templates that have special attributes which allow for recipe integration and for modifying certain aspects depending on the GUIs purpose.

- Crafting Table
-- Has 9 input slots and 1 output slot.
-- Is capable of using Crafting recipes.

- Smithing Table
-- Has 2 input slots and 1 output slot.
-- Is capable of using Smithing recipes.

- Cartography Table
-- Has 2 input slots and 1 output slot.
-- Is capable of using Cartography recipes.
-- The "Cartography" recipe has a map in the first slot by default that can be changed.
-- The Cartography recipes can craft any item, however do include specialized map items.
--- Empty Map, Map, Locked Map, Identical Map, Treasure Map, and Explorer map.

- Furnace
-- Has 2 input slots and 1 output slot.
-- Is capable of using Furnace recipes.
--- The bottom slots is a fuel slot.

- Anvil
-- Has 2 input slots and 1 output slot.
-- Is capable of using Anvil recipes.

- Stone Cutter
-- Has 1 input slot and varying output slots.
-- Is capable of using Cutter recipes.

- Grindstone
-- Has 2 input slots and 1 output slot.
-- is capable of using Grindstone recipes.

- Loom
-- Has 3 input slots and varying output slots.
-- Is capable of using Loom recipes.

- Enchantment Table
-- Has 2 input slot and 3 buttons.
-- Is capable of using Enchantment recipes.

- Composter
-- Is capable of using Composter recipes.
-- The "waste" inside increases based on the input items
-- The "waste" texture is separate from the blocks other textures.

- Brewing
-- has 2 input slots and 3 input/output slots.
-- Is capable of using Brewing recipes.
--- The top left slot is a fuel slot, the top uses an input slot, and the bottom three are technically outputs.

- Container
-- Has 27 input slots.
-- Is capable of using Container loot tables

- Book and Quil
-- Opens a book menu that can be typed into.

New Custom Recipe System

- GUI Tags: Each GUI template (in this post) are given specialized tags which could potentially be used for this system.
-- GUI_Crafting
-- GUI_Smithing
-- GUI_Cartography
-- GUI_Furnace
-- GUI_Cutter
-- GUI_Grindstone
-- GUI_Loom
-- GUI_Enchant
-- GUI_Beacon
-- GUI_Brewing
-- GUI_Container
-- GUI_Custom

- Using the "Custom" recipe and selecting a custom GUI (if it has a tag) then it will check the input slots, output slots, and buttons available. The input and output slots work as any other recipe slots, however the Furnace bottom input slots are given the "Fuel Slot" tags which make them take any fuel item without the user needing to add said fuel into the recipe, and buttons are capable of being given procedures.

- If this system does not work, then perhaps recipes could be added to compensate these advancements by foreseeing or being influenced by the community, some examples could be 4x4 to 9x9 crafting table grids, furnaces with 3 input slots and 2 fuel slots, grindstones with 3 input slots, or an enchantment table that requires two "lapis" slots. Either options could be added, though I do fear this (if considered) could take a long time however if this is considered then I hope that we get GUI templates regardless of having access to "custom" ones.

|
|
|

New Block Settings

- Block Profession: Opens a drop down menu with base functions for the block.
-- Crafting Table, Smithing Table, Cartography Table, Furnace, Stone Cutter, Loom, Enchantment Table, Beacon, Brewing Stand, Composter, and Container.
-- Another is "Custom" which is used for people who can properly make their own block profession.

- Map Increase Amount: Determines how much a map is zoomed out in Cartography Tables.
- Smelt Speed: Determines how fast a furnace smelts items.
- Fuel Efficiency : Determines the efficiency of fuel items (can make fuel smelt more or less items).
- Item Restriction: Restricts the block from using a certain group of items (ore, food, wood, stone, etc).

That's all I can bring to this as of the current moment, I do hope that GUI templates are added soon as it would make creating vanilla type blocks that have functions like crafting tables, furnaces, and others would become easier. Personally I'm making a vanilla + kind of mod, a mod which adds new items based on vanilla resources with a little new stuff.

Edited by MCDragon on Thu, 06/23/2022 - 04:58
Last seen on 13:38, 7. Aug 2022
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
All you mentioned can be…
Fri, 07/08/2022 - 23:30

All you mentioned can be done through a correct use of GUI and Procedures. It is laborious but is possible.

Last seen on 08:59, 6. Aug 2022
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Danito wasn't MCreator…
Sat, 07/09/2022 - 03:42

Danito wasn't MCreator created to make modding easier? if its laborious then it should be improved to be easier, I can understand if the developers struggle with certain features however just because its possible doesn't mean its easy. Others might have an easier time making these however I personally struggle so I would like an easier way to do it.

Last seen on 13:38, 7. Aug 2022
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Mcreator allows for easy…
Sun, 07/10/2022 - 01:23

Mcreator allows for easy modding by not making us write java code. The things you ask for are too specific, with what we have now, we can do what you ask for and more. You just have to invest some time (no more than 5-10 hours per thing) to do each of the things you ask for. There are only 2 or 3 things that are too laborious but still too specific for mcreator developers to really find it useful to implement. To be honest, I don't think the developers implement anything you propose.

Last seen on 08:59, 6. Aug 2022
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There are several posts of…
Sun, 07/10/2022 - 02:29

There are several posts of people asking how to make a custom crafting table and furnaces, so why not make it easier to make them? yes I can understand how some of the GUIs I listed are specific, they were added simply because I'm making a mod where custom ones would appear however is it bad to include those? while they are at it why not add the other ones?

Whether its added or not it doesn't really matter, its not up to me whether anything is added it was just a suggestion for making utility blocks easier.

Last seen on 13:38, 7. Aug 2022
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I don't say that to add it…
Tue, 07/12/2022 - 14:27

I don't say that to add it is bad to MCreator. But i think Pylo and collaborators could use their time in other features that doesn't exist yet like entity data tags, variable item description, variable item textures or model, variable block textures or model or other things. 

Last seen on 08:59, 6. Aug 2022
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
That's true, and following…
Fri, 07/15/2022 - 16:29

That's true, and following within those lines we should be able to mimic every feature available in vanilla and the easier it is the better.