I'm playing around with MineTweaker to try to get the Camel Pack to fill / extract correctly in the Fluid Transposer, but I'm running into some problems. I'll post what I have thus far:
I'm trying to model the syntax I've gleaned from http://minetweaker.powerofbytes.com/wiki/CraftingRecipes. It appears that modtweaker parses the damaged field but doesn't do anything with it. Does anyone know of a good way to do what I'm trying to do, or am I stuck doing something like the following?
Code:
CamelPack = <5260>;
# These two lines correctly extract and fill Camel Packs that are completely full and completely empty, respectively.
mods.thermalexpansion.transposer.addExtractRecipe(CamelPack, CamelPack.withDamage(100), waterLiquid*4000, 6400, 100);
mods.thermalexpansion.transposer.addFillRecipe(CamelPack.withDamage(100), CamelPack, waterLiquid*4000, 6400);
# These two lines try to do the same thing as above, but with partially full camel packs (camel packs with arbitrary damage). They don't work, but don't return syntax errors.
mods.thermalexpansion.transposer.addExtractRecipe(CamelPack.damaged, CamelPack.withDamage(100), waterLiquid*4000, 6400, 100);
mods.thermalexpansion.transposer.addFillRecipe(CamelPack.damaged, CamelPack, waterLiquid*4000, 6400);
I'm trying to model the syntax I've gleaned from http://minetweaker.powerofbytes.com/wiki/CraftingRecipes. It appears that modtweaker parses the damaged field but doesn't do anything with it. Does anyone know of a good way to do what I'm trying to do, or am I stuck doing something like the following?
Code:
mods.thermalexpansion.transposer.addFillRecipe(CamelPack.withDamage(100), CamelPack, waterLiquid*4000, 6400);
mods.thermalexpansion.transposer.addFillRecipe(CamelPack.withDamage(99), CamelPack, waterLiquid*3960, 6336);
mods.thermalexpansion.transposer.addFillRecipe(CamelPack.withDamage(98), CamelPack, waterLiquid*3920, 6272);
etc.