CraftTweaker: Crystallizer - Shinoow/AbyssalCraft-Integration GitHub Wiki

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

Adding recipes

Single output:

mods.abyssalcraft.Crystallizer.addSingleCrystallization(<input>, <output>, <exp>);

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

Example: mods.abyssalcraft.Crystallizer.addSingleCrystallization(<minecraft:dirt>, <abyssalcraft:crystalshard:0> * 3, 0.5);

This would crystallize a block of Dirt into 3 Crystallized Iron Shards, and give you 0.5 exp per block crystallized.

Dual output:

mods.abyssalcraft.Crystallizer.addCrystallization(<input>, <output1>, <output2>, <exp>);

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

Example: mods.abyssalcraft.Crystallizer.addCrystallization(<minecraft:dirt>, <abyssalcraft:crystalshard:0> * 3, <abyssalcraft:crystalshard:4> * 2, 0.5);

This would crystallize a block of Dirt into 3 Crystallized Iron Shards, 2 Crystallized Oxygen Shards and give you 0.5 exp per block crystallized.


Remove recipes

mods.abyssalcraft.Crystallizer.removeCrystallizationInput(<input>); mods.abyssalcraft.Crystallizer.removeCrystallizationOutput(<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.Crystallizer.removeCrystallizationInput(<minecraft:dirt>);

This would remove the recipe(s) we added above, preventing you from doing any of the above crystallizations.

Example: mods.abyssalcraft.Crystallizer.removeCrystallizationOutput(<abyssalcraft:crystalshard:0>);

This would remove any recipe where the output is Crystallized Iron Shards, including the one we added above.


Add fuel

mods.abyssalcraft.Crystallizer.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.Crystallizer.addFuel(<minecraft:dirt>, 1000);

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


Remove fuel

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

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

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

This would remove Dirt from being a fuel source.


Remove all recipes

mods.abyssalcraft.Crystallizer.removeAll();

This would remove all registered Crystallizer recipes.

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