-
-
Notifications
You must be signed in to change notification settings - Fork 64
MineTweaker
Ruben Taelman edited this page Apr 4, 2021
·
6 revisions
As of version 0.7.0 (not anymore since Minecraft 1.16.x, use recipe JSON's instead), this mod has out-of-the-box MineTweaker support for adding and removing Drying Basin and Squeezer recipes. Below you can find several examples showing all the functionality for handling the recipe registries.
// DryingBasin
// inputStack, inputFluid, outputStack, outputFluid, duration
mods.integrateddynamics.DryingBasin.addRecipe(<minecraft:melon>, <liquid:lava> * 100, <minecraft:stick>, <liquid:water> * 100, 10);
// inputStack, inputFluid, outputStack, outputFluid, duration
mods.integrateddynamics.DryingBasin.removeRecipe(<minecraft:melon>, <liquid:lava> * 100, <minecraft:stick>, <liquid:water> * 100, 10);
// outputStack, outputFluid
mods.integrateddynamics.DryingBasin.removeRecipesWithOutput(<minecraft:leather>, null);
// Squeezer - basic interaction
// inputStack, outputStack, outputFluid
mods.integrateddynamics.Squeezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100);
// inputStack, outputStack, outputFluid
mods.integrateddynamics.Squeezer.removeRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100);
// outputStack, outputFluid
mods.integrateddynamics.Squeezer.removeRecipesWithOutput(<minecraft:leather>, null);
// Squeezer - advanced additions
// inputStack, outputStack1, outputStackChance1, outputFluid
mods.integrateddynamics.Squeezer.addRecipe(<minecraft:melon>, <minecraft:stick>, 0.5, <liquid:water> * 100);
// inputStack, outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputFluid
mods.integrateddynamics.Squeezer.addRecipe(<minecraft:stick>, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100);
// inputStack, outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputStack4, outputStackChance3, outputFluid
mods.integrateddynamics.Squeezer.addRecipe(<minecraft:mutton>, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100);
// Squeezer - advanced removals
// inputStack, outputStack1, outputStackChance1, outputFluid
mods.integrateddynamics.Squeezer.removeRecipe(<minecraft:melon>, <minecraft:stick>, 0.5, <liquid:water> * 100);
// inputStack, outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputFluid
mods.integrateddynamics.Squeezer.removeRecipe(<minecraft:stick>, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100);
// inputStack, outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputStack4, outputStackChance3, outputFluid
mods.integrateddynamics.Squeezer.removeRecipe(<minecraft:mutton>, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100);
// Squeezer - advanced removals by output
// outputStack1, outputStackChance1, outputFluid
mods.integrateddynamics.Squeezer.removeRecipesWithOutput(<minecraft:stick>, 0.5, <liquid:water> * 100);
// outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputFluid
mods.integrateddynamics.Squeezer.removeRecipesWithOutput(<minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100);
// outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputStack4, outputStackChance3, outputFluid
mods.integrateddynamics.Squeezer.removeRecipesWithOutput(<minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100);
// MechanicalDryingBasin
// inputStack, inputFluid, outputStack, outputFluid, duration
mods.integrateddynamics.MechanicalDryingBasin.addRecipe(<minecraft:melon>, <liquid:lava> * 100, <minecraft:stick>, <liquid:water> * 100, 10);
// inputStack, inputFluid, outputStack, outputFluid, duration
mods.integrateddynamics.MechanicalDryingBasin.removeRecipe(<minecraft:melon>, <liquid:lava> * 100, <minecraft:stick>, <liquid:water> * 100, 10);
// outputStack, outputFluid
mods.integrateddynamics.MechanicalDryingBasin.removeRecipesWithOutput(<minecraft:leather>, null);
// MechanicalSqueezer - basic interaction
// inputStack, outputStack, outputFluid, duration
mods.integrateddynamics.MechanicalSqueezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100, 10);
// inputStack, outputStack, outputFluid, duration
mods.integrateddynamics.MechanicalSqueezer.removeRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100, 10);
// outputStack, outputFluid
mods.integrateddynamics.MechanicalSqueezer.removeRecipesWithOutput(<minecraft:leather>, null);
// MechanicalSqueezer - advanced additions
// inputStack, outputStack1, outputStackChance1, outputFluid, duration
mods.integrateddynamics.MechanicalSqueezer.addRecipe(<minecraft:melon>, <minecraft:stick>, 0.5, <liquid:water> * 100, 10);
// inputStack, outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputFluid, duration
mods.integrateddynamics.MechanicalSqueezer.addRecipe(<minecraft:stick>, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100, 10);
// inputStack, outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputStack4, outputStackChance3, outputFluid, duration
mods.integrateddynamics.MechanicalSqueezer.addRecipe(<minecraft:mutton>, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100, 10);
// MechanicalSqueezer - advanced removals
// inputStack, outputStack1, outputStackChance1, outputFluid, duration
mods.integrateddynamics.MechanicalSqueezer.removeRecipe(<minecraft:melon>, <minecraft:stick>, 0.5, <liquid:water> * 100, 10);
// inputStack, outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputFluid, duration
mods.integrateddynamics.MechanicalSqueezer.removeRecipe(<minecraft:stick>, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100, 10);
// inputStack, outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputStack4, outputStackChance3, outputFluid, duration
mods.integrateddynamics.MechanicalSqueezer.removeRecipe(<minecraft:mutton>, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100, 10);
// MechanicalSqueezer - advanced removals by output
// outputStack1, outputStackChance1, outputFluid
mods.integrateddynamics.MechanicalSqueezer.removeRecipesWithOutput(<minecraft:stick>, 0.5, <liquid:water> * 100);
// outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputFluid
mods.integrateddynamics.MechanicalSqueezer.removeRecipesWithOutput(<minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100);
// outputStack1, outputStackChance1, outputStack2, outputStackChance2, outputStack4, outputStackChance3, outputFluid
mods.integrateddynamics.MechanicalSqueezer.removeRecipesWithOutput(<minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <minecraft:stick>, 0.5, <liquid:water> * 100);
- For Modpack Creators
- For Addon Developers