Wiki 9Minecraft Wiki 9Minecraft

Artisan Integrations Mechanics and Scripting

Guides 5FAQ 10Dependencies 3Related mods 48
DownloadArtisan Integrations Mod

Get the files on 9Minecraft

Contents (3)
  1. Scripting Examples
  2. Next guides
  3. More in this wiki

The mod functions primarily through ZenScript (CraftTweaker). Below are the mechanical hooks provided for recipe builders:

Scripting Examples

Adding a Game Stage Requirement:

recipe.addGameStage("expert_blacksmith");

Adding a Reskillable Requirement:

recipe.addRequirement("reskillable:mining|10");

Adding an FTGU Research Requirement:

recipe.addResearch("ftgu:research/advanced_smithing");

Hiding Locked Recipes: By default, locked recipes may still show in JEI. This can be toggled in the configuration or via script to ensure players only see what they are capable of crafting:

recipe.setHidden(true);