CraftTweaker: Transmutator - Shinoow/AbyssalCraft-Integration GitHub Wiki

Through the integration, you can add/remove recipes, add/remove fuel, and finally remove all recipes.

Adding recipes

mods.abyssalcraft.Transmutator.addTransmutation(<input>, <output>, <exp>);

Where: input and output are ItemStacks, and exp is a float.

Example: mods.abyssalcraft.Transmutator.addTransmutation(<minecraft:dirt>, <minecraft:diamond>, 0.5);

This would transmute a block of Dirt into a Diamond, and give you 0.5 exp per block transmuted.


Removing recipes

mods.abyssalcraft.Transmutator.removeTransmutationInput(<input>); mods.abyssalcraft.Transmutator.removeTransmutationOutput(<output>);

Where: input is the input ItemStack that you want to remove a recipe for, and output is the output ItemStack that you want to remove all recipes for.

Example: mods.abyssalcraft.Transmutator.removeTransmutationInput(<minecraft:dirt>);

This would remove the recipe we added above, preventing you from transmuting Dirt into Diamonds.

Example: mods.abyssalcraft.Transmutator.removeTransmutationOutput(<minecraft:diamond>);

This would remove any recipes where the output is a Diamond, including the one we added above.


Adding fuel

mods.abyssalcraft.Transmutator.addFuel(<fuel>, <burnTime>)

Where: fuel is the ItemStack you want to register as fuel, and burnTime is an int is the burn time for the fuel.

Example: mods.abyssalcraft.Transmutator.addFuel(<minecraft:dirt>, 1000);

This would add Dirt as a fuel source that lasts 1000 ticks.


Remove fuel

mods.abyssalcraft.Transmutator.removeFuel(<fuel>)

Where: fuel is the ItemStack you want to remove from fuels.

Example: mods.abyssalcraft.Transmutator.removeFuel(<minecraft:dirt>);

This would remove Dirt from being a fuel source.


Remove all recipes

mods.abyssalcraft.Transmutator.removeAll();

This would remove all registered Transmutator recipes.

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