Skip to content

CraftTweaker Integration

vizthex123 edited this page Sep 24, 2020 · 1 revision

As of right now, only the Moonlight Forge and Scrapper have CraftTweaker support. If you wish for more please let me know, I personally don't use CraftTweaker so I don't know what's helpful or not.

Moonlight Forge:

Recipes visualized using JEI

Default Recipes

Import:

import mods.theaurorian.MoonlightForge;

Add Recipe:

mods.theaurorian.MoonlightForge.addRecipe(<theaurorian:moonstonesword>, <minecraft:diamond>, <minecraft:diamond_sword>);

This example adds the recipe for a Diamond Sword from a Moonstone Sword and a Diamond. The moonstonesword goes into the "Input" slot, the diamond goes into the "Catalyst" slot, and the diamond_sword comes from the "Output" slot

Remove Recipe:

mods.theaurorian.MoonlightForge.removeRecipe(<theaurorian:moonstonesword>, <theaurorian:aurorianiteingot>, <theaurorian:aurorianitesword>);

This example removes the recipe for Aurorianite Sword.

Note: the Moonlight Forge's recipe checker only compares input items as Items, not as an ItemStack. This means item damage and other NBT data on input items is ignored. It does count ItemStack counts.

Scrapper:

Recipes visualized using JEI

Default Recipes

Import:

import mods.theaurorian.Scrapper;

Add Recipe:

mods.theaurorian.Scrapper.addRecipe(<minecraft:iron_ingot>, <minecraft:iron_nugget> * 9);

This example adds the recipe for 9 Iron Nuggets from a Iron Ingot

Remove Recipe:

mods.theaurorian.Scrapper.removeRecipe(<theaurorian:auroriansteelsword>, <theaurorian:auroriansteelnugget> * 12);

This example removes the recipe for 12 Aurorian Steel Nuggets from a Aurorian Steel Sword.

Clone this wiki locally