CraftTweaker: Upgrade Kits - Shinoow/AbyssalCraft-Integration GitHub Wiki

Through the integration, you can add and remove Upgrade Kit recipes.

Adding Upgrade Kit recipes

mods.abyssalcraft.UpgradeKit.addUpgrade(<kit>, <input>, <output>);

Where: input and output are ItemStacks, and kit is an ItemStack containing a Upgrade Kit item.

Example: mods.abyssalcraft.UpgradeKit.addUpgrade(<abyssalcraft:cobbleu>, <minecraft:planks:*>, <minecraft:cobblestone>);

This would upgrade any vanilla Plank block into a block of Cobblestone.


Removing Upgrade Kit recipes

mods.abyssalcraft.UpgradeKit.removeUpgrade(<input>);

Where: input is the input ItemStack that you want to remove a recipe for.

Example: mods.abyssalcraft.UpgradeKit.removeUpgrade(<minecraft:planks:*>);

This would remove the recipe we added above, preventing you from upgrading Planks to Cobblestone.


Removing all Upgrade Kit recipes

mods.abyssalcraft.UpgradeKit.removeAll();

This would remove all registered Upgrade Kit recipes.

⚠️ **GitHub.com Fallback** ⚠️