Remove redundancy in recipe code && custom bucket liquid handling

Started by Sayne on Thu, 05/05/2022 - 16:19

Topic category: Feature requests and ideas for MCreator

Last seen on 18:51, 25. Jun 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Remove redundancy in recipe code && custom bucket liquid handling
Thu, 05/05/2022 - 16:19

So, crafting recipes are currently created by having slots 0-9 be numbered, and each one given a slot. However, if the recipe were to have 9 of the same item (for example, an ore block) then this creates redundancy by creating 9 different identifiers. However, if all the slots were named the same, then only 1 identifier would be required rather than 9.

Custom liquids currently cause problems when attempted to be used in forge, as mcreator does not allow the user to use <modid>:<liquid>_bucket in recipes without directly modifying the code. This fix would be fairly simple, and it would to create a new "item" (so it wouldnt directly create this item) that can be used to add to recipes and other locations where an item is required.