Selection GUI Crafting

Mod for modpack authors allowing the addition of recipes that are performed with holding the right items and pressing RMB using CraftTweaker.

File Details

selectionGuiCrafting-1.0.2.jar

  • R
  • Nov 6, 2023
  • 64.99 KB
  • 342
  • 1.12.2
  • Forge

File Name

selectionGuiCrafting-1.0.2.jar

Supported Versions

  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:selection-gui-crafting-932829:4845866")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

- Destructible tools now take metadata into account. Both tool types also now take NBT into account.

- Added a config option to hide the "Close GUI" button (off by default), as you can just close the GUI with 'E' or 'Esc'.

- Made selection crafting GUIs only display the needed quantity of input items if it's above one, to avoid there being a bunch of ones everywhere.

- Added an option to configure a per-tool time multiplier. Existing CraftTweaker scripts must be reworked (check main page description for updated functions). Higher number = faster recipe completion.

- Added 3 new CraftTweaker functions for convenience:

createSingleCraftCategory(String categoryName, String displayName, IItemStack[] tools, Float[] timeMultipliers, Float[] damageMultipliers, IItemStack[] inputs, int inputQuantity, IItemStack[] outputs, int time, int durabilityUsage)

createSingleCraftCategoryDestructibleTools(String categoryName, String displayName, IItemStack[] tools, Float[] timeMultipliers, IItemStack[] inputs, int inputQuantity, IItemStack[] outputs, int time, int durabilityUsage)

createSingleCraftCategoryBothTools(String categoryName, String displayName, IItemStack[] tools, Float[] timeMultipliers, Float[] damageMultipliers, IItemStack[] destructibleTools, Float[] destructibleTimeMultipliers, IItemStack[] inputs, int inputQuantity, IItemStack[] outputs, int time, int durabilityUsage)