Difference between revisions of "ModTweaker:TConstruct Support"

From MineTweaker 3
Jump to: navigation, search
Line 4: Line 4:
 
* Casting
 
* Casting
 
* Drying Rack
 
* Drying Rack
* Smeltery Alloys
+
* Modifiers
* Smeltery Melting
+
* Smeltery  
 +
* Repair Materials
 
* Tool Stats
 
* Tool Stats
* Tweaks - Adjust RF
 
* Tweaks - Add/Remove Repair Material
 
  
 
Each of these handlers can have recipes added or removed:
 
Each of these handlers can have recipes added or removed:
  
  //Casting Recipes
+
  Parameters marked as <span style="color:red">red</span> are optional and can be left out
//OutputStack, InputFluid, CastStack, ConsumeCast, TickDelay
+
mods.tconstruct.Casting.addBasinRecipe(<minecraft:iron_ingot>, <liquid:iron.molten>, null, false, 20);
+
mods.tconstruct.Casting.addTableRecipe(<minecraft:iron_ingot>, <liquid:iron.molten>, null, false, 20);
+
//OutputStack
+
mods.tconstruct.Casting.removeBasinRecipe(<minecraft:iron_ingot);
+
mods.tconstruct.Casting.removeTableRecipe(<minecraft:iron_ingot);
+
 
   
 
   
  //Drying Rack Recipes
+
//Casting
  //InputStack, OutputStack, Time
+
//OutputStack, InputFluid, <span style="color:red">CastStack</span>, <span style="color:red">ConsumeCast</span>, Time in Ticks
 +
mods.tconstruct.Casting.addBasinRecipe(<TConstruct:MeatBlock>, <liquid:pigiron.molten> * 1152, <minecraft:bone>, true, 20);
 +
//OutputStack, InputFluid, <span style="color:red">CastStack</span>, <span style="color:red">ConsumeCast</span>, Time in Ticks
 +
mods.tconstruct.Casting.addTableRecipe(<TConstruct:strangeFood:2>, <liquid:pigiron.molten> * 57, null, false, 20);
 +
//OutputStack
 +
mods.tconstruct.Casting.removeBasinRecipe(<minecraft:iron_block>);
 +
mods.tconstruct.Casting.removeTableRecipe(<minecraft:iron_ingot>);
 +
 
 +
  //Drying Rack
 +
  //InputStack, OutputStack, Time in Ticks
 
  mods.tconstruct.Drying.addRecipe(<minecraft:tallgrass:1>, <minecraft:deadbush>, 50);
 
  mods.tconstruct.Drying.addRecipe(<minecraft:tallgrass:1>, <minecraft:deadbush>, 50);
 
  //OutputStack
 
  //OutputStack
 
  mods.tconstruct.Drying.removeRecipe(<TConstruct:jerky>);
 
  mods.tconstruct.Drying.removeRecipe(<TConstruct:jerky>);
 
   
 
   
  //Smeltery Alloys
+
//Modifiers
  //OutputFluid, ArrayOfInputFluids
+
//ModifierString
  mods.tconstruct.Smeltery.addAlloy(<liquid:alumite.molten> * 3, [<liquid:water> * 25, <liquid:fishoil> * 30]);
+
mods.tconstruct.Modifiers.remove("Blaze");
 +
 +
  //Smeltery
 +
  //InputStack, OutputFluid, TemperatureAmount, <span style="color:red">BlockRender</span>
 +
mods.tconstruct.Smeltery.addMelting(<minecraft:porkchop>, <liquid:blood> * 200, 200, <TConstruct:MeatBlock>);
 +
//InputStack
 +
mods.tconstruct.Smeltery.removeMelting(<TConstruct:strangeFood:1>);
 +
//OutputFluid, InputFluidArray
 +
  mods.tconstruct.Smeltery.addAlloy(<liquid:aluminumbrass.molten> * 64, [<liquid:aluminum.molten> * 48, <liquid:gold.molten> * 16]);
 
  //OutputFluid
 
  //OutputFluid
 
  mods.tconstruct.Smeltery.removeAlloy(<liquid:manyullyn.molten>);
 
  mods.tconstruct.Smeltery.removeAlloy(<liquid:manyullyn.molten>);
+
  //InputFluid, TemperatureAmount, Time in Ticks
  //Smeltery Melting
+
  mods.tconstruct.Smeltery.addFuel(<liquid:iron.molten>, 64, 64);
//InputStack, OutputFluid, Temperature(max 800), BlockToLookLike* (Optional)
+
  //InputFluid
  mods.tconstruct.Smeltery.addMelting(<minecraft:dirt>, <liquid:dirt> * 1000, 200, <minecraft:dirt>);
+
  mods.tconstruct.Smeltery.removeFuel(<liquid:lava>);
  //InputStack
+
  mods.tconstruct.Smeltery.removeMelting(<minecraft:iron_ingot>);
+
+
//Setting Tool Stats
+
//Full
+
//Material, DisplayName, HarvestLevel, Durability, Speed, Damage, HandleModifier, Reinforced, Stonebound, Style, Ability
+
mods.tconstruct.ToolStats.set("Stone", 1, 131, 400, 1, 0.5, 0, 1, "", "stonebound");
+
//Material, Durability, DrawSpeed, FlightSpeed
+
mods.tconstruct.ToolStats.setBowStats("Stone", 10, 80, 0.2);
+
//Material, Mass, BreakChance, Accuracy
+
mods.tconstruct.ToolStats.setArrowStats("Stone", 2.5F, 5.0F, 100F)
+
//Individual
+
mods.tconstruct.ToolStats.setDisplayName("Wood","Logical ");
+
mods.tconstruct.ToolStats.setHarvestLevel("Wood",30);
+
mods.tconstruct.ToolStats.setDurability("Wood",3000);
+
mods.tconstruct.ToolStats.setSpeed("Wood",30);
+
mods.tconstruct.ToolStats.setDamage("Wood",9001);
+
mods.tconstruct.ToolStats.setHandleModifier("Wood",50.5);
+
mods.tconstruct.ToolStats.setReinforcedLevel("Wood",4);
+
mods.tconstruct.ToolStats.setStoneboundLevel("Wood",6);
+
mods.tconstruct.ToolStats.setStyle("Wood", "???");
+
mods.tconstruct.ToolStats.setAbility("Wood", "???");
+
mods.tconstruct.ToolStats.setBowDurability("Wood", 2000);
+
mods.tconstruct.ToolStats.setBowDrawSpeed("Wood", 250);
+
mods.tconstruct.ToolStats.setBowFlightSpeed("Wood", 6.5);
+
mods.tconstruct.ToolStats.setArrowMass("Wood", 3.5);
+
mods.tconstruct.ToolStats.setArrowBreakChance("Wood", 25);
+
mods.tconstruct.TooLStats.setArrowAccuracy("Wood", 20);
+
 
   
 
   
 
  //Repair Materials
 
  //Repair Materials
  //ItemStack, Material, Value
+
  //InputStack, MaterialString, ValueAmount
  mods.tconstruct.Tweaks.addRepairMaterial(<minecraft:stone>, "Stone", 2);
+
  mods.tconstruct.Tweaks.addRepairMaterial(<minecraft:stonebrick>, "Stone", 2);
  //ItemStack
+
  //InputStack, <span style="color:red">MaterialString</span>
mods.tconstruct.Tweaks.removeRepairMaterial(<minecraft:stone>);
+
//ItemStack, Material
+
 
  mods.tconstruct.Tweaks.removeRepairMaterial(<minecraft:stone>, "Stone");
 
  mods.tconstruct.Tweaks.removeRepairMaterial(<minecraft:stone>, "Stone");
 
   
 
   
  //Capacity 0.5
+
  //Tool Stats
  //ToolType, RF Maximum
+
//MaterialString, DisplayName, HarvestLevel, DurabilityValue, SpeedValue, DamageValue, HandleModifier, ReinforcedLevel, StoneboundLevel, StyleString, Colour
  mods.tconstruct.Tweaks.setRFCapacity("cleaver", 50000);
+
mods.tconstruct.ToolStats.setStats("Stone", "Modtweaker Stone", 47, 108, 112, 83, 0.5, 102, 0.5, "gold", 484848);
 
+
  //MaterialString, DisplayName
  //Tweaks
+
  mods.tconstruct.ToolStats.setDisplayName("Wood", "Modtweaker Wood");
  //Capacity
+
//MaterialString, HarvestLevel
  mods.tconstruct.Tweaks.setRFCapacity(50000);
+
mods.tconstruct.ToolStats.setHarvestLevel("Wood", 1);
 +
  //MaterialString, DurabilityValue
 +
mods.tconstruct.ToolStats.setDurability("Wood", 3000);
 +
  //MaterialString, SpeedValue
 +
  mods.tconstruct.ToolStats.setSpeed("Wood", 30);
 +
//MaterialString, DamageValue
 +
mods.tconstruct.ToolStats.setDamage("Wood", 9001);
 +
//MaterialString, HandleModifier
 +
mods.tconstruct.ToolStats.setHandleModifier("Wood", 50.5);
 +
//MaterialString, ReinforcedLevel
 +
mods.tconstruct.ToolStats.setReinforcedLevel("Wood", 4);
 +
//MaterialString, StoneboundLevel
 +
mods.tconstruct.ToolStats.setStoneboundLevel("Wood", 6);
 +
//MaterialString, StyleString
 +
mods.tconstruct.ToolStats.setStyle("Wood", "§4");
 +
//MaterialString, AbilityString
 +
mods.tconstruct.ToolStats.setAbility("Wood", "Stonebound");
 +
//MaterialString, DurabilityValue, DrawSpeedValue, FlightSpeedValue
 +
mods.tconstruct.ToolStats.setBowStats("Stone", 100, 21, 12.5F);
 +
//MaterialString, DurabilityValue
 +
mods.tconstruct.ToolStats.setBowDurability("Wood", 2000);
 +
//MaterialString, DrawSpeedValue
 +
mods.tconstruct.ToolStats.setBowDrawSpeed("Wood", 250);
 +
//MaterialString, FlightSpeedValue
 +
mods.tconstruct.ToolStats.setBowFlightSpeed("Wood", 6.5F);
 +
//MaterialString, MassValue, BreakChanceValue, AccuracyValue
 +
mods.tconstruct.ToolStats.setArrowStats("Stone", 2.5F, 5.0F, 100F)
 +
//MaterialString, MassValue
 +
mods.tconstruct.ToolStats.setArrowMass("Wood", 3.5F);
 +
//MaterialString, BreakChanceValue
 +
mods.tconstruct.ToolStats.setArrowBreakChance("Wood", 25F);
 +
//MaterialString, AccuracyValue
 +
mods.tconstruct.TooLStats.setArrowAccuracy("Wood", 20F);
  
=== Commands Added ===
+
== Commands Supported ==
There is a command added with the Tinkers support, it will print a list of all the material names to the mineteaker log.
+
Prints are stored in the minetweaker log in the minecraft directory.
  /minetweaker materials
+
/minetweaker tconstruct [HANDLER] - Outputs a list of all TConstruct recipes
 +
  /minetweaker materials - Outputs a list of material strings
 
{{ModTweakerNavigation}}
 
{{ModTweakerNavigation}}

Revision as of 21:45, 25 September 2015

Handlers Supported

The following handlers are supported:

  • Casting
  • Drying Rack
  • Modifiers
  • Smeltery
  • Repair Materials
  • Tool Stats

Each of these handlers can have recipes added or removed:

Parameters marked as red are optional and can be left out

//Casting
//OutputStack, InputFluid, CastStack, ConsumeCast, Time in Ticks
mods.tconstruct.Casting.addBasinRecipe(<TConstruct:MeatBlock>, <liquid:pigiron.molten> * 1152, <minecraft:bone>, true, 20);
//OutputStack, InputFluid, CastStack, ConsumeCast, Time in Ticks
mods.tconstruct.Casting.addTableRecipe(<TConstruct:strangeFood:2>, <liquid:pigiron.molten> * 57, null, false, 20);
//OutputStack
mods.tconstruct.Casting.removeBasinRecipe(<minecraft:iron_block>);
mods.tconstruct.Casting.removeTableRecipe(<minecraft:iron_ingot>);
//Drying Rack
//InputStack, OutputStack, Time in Ticks
mods.tconstruct.Drying.addRecipe(<minecraft:tallgrass:1>, <minecraft:deadbush>, 50);
//OutputStack
mods.tconstruct.Drying.removeRecipe(<TConstruct:jerky>);

//Modifiers
//ModifierString
mods.tconstruct.Modifiers.remove("Blaze");

//Smeltery
//InputStack, OutputFluid, TemperatureAmount, BlockRender
mods.tconstruct.Smeltery.addMelting(<minecraft:porkchop>, <liquid:blood> * 200, 200, <TConstruct:MeatBlock>);
//InputStack
mods.tconstruct.Smeltery.removeMelting(<TConstruct:strangeFood:1>);
//OutputFluid, InputFluidArray
mods.tconstruct.Smeltery.addAlloy(<liquid:aluminumbrass.molten> * 64, [<liquid:aluminum.molten> * 48, <liquid:gold.molten> * 16]);
//OutputFluid
mods.tconstruct.Smeltery.removeAlloy(<liquid:manyullyn.molten>);
//InputFluid, TemperatureAmount, Time in Ticks
mods.tconstruct.Smeltery.addFuel(<liquid:iron.molten>, 64, 64);
//InputFluid
mods.tconstruct.Smeltery.removeFuel(<liquid:lava>);

//Repair Materials
//InputStack, MaterialString, ValueAmount
mods.tconstruct.Tweaks.addRepairMaterial(<minecraft:stonebrick>, "Stone", 2);
//InputStack, MaterialString
mods.tconstruct.Tweaks.removeRepairMaterial(<minecraft:stone>, "Stone");

//Tool Stats
//MaterialString, DisplayName, HarvestLevel, DurabilityValue, SpeedValue, DamageValue, HandleModifier, ReinforcedLevel, StoneboundLevel, StyleString, Colour
mods.tconstruct.ToolStats.setStats("Stone", "Modtweaker Stone", 47, 108, 112, 83, 0.5, 102, 0.5, "gold", 484848);
//MaterialString, DisplayName
mods.tconstruct.ToolStats.setDisplayName("Wood", "Modtweaker Wood");
//MaterialString, HarvestLevel
mods.tconstruct.ToolStats.setHarvestLevel("Wood", 1);
//MaterialString, DurabilityValue
mods.tconstruct.ToolStats.setDurability("Wood", 3000);
//MaterialString, SpeedValue
mods.tconstruct.ToolStats.setSpeed("Wood", 30);
//MaterialString, DamageValue
mods.tconstruct.ToolStats.setDamage("Wood", 9001);
//MaterialString, HandleModifier
mods.tconstruct.ToolStats.setHandleModifier("Wood", 50.5);
//MaterialString, ReinforcedLevel
mods.tconstruct.ToolStats.setReinforcedLevel("Wood", 4);
//MaterialString, StoneboundLevel
mods.tconstruct.ToolStats.setStoneboundLevel("Wood", 6);
//MaterialString, StyleString
mods.tconstruct.ToolStats.setStyle("Wood", "§4");
//MaterialString, AbilityString
mods.tconstruct.ToolStats.setAbility("Wood", "Stonebound");
//MaterialString, DurabilityValue, DrawSpeedValue, FlightSpeedValue
mods.tconstruct.ToolStats.setBowStats("Stone", 100, 21, 12.5F);
//MaterialString, DurabilityValue
mods.tconstruct.ToolStats.setBowDurability("Wood", 2000);
//MaterialString, DrawSpeedValue
mods.tconstruct.ToolStats.setBowDrawSpeed("Wood", 250);
//MaterialString, FlightSpeedValue
mods.tconstruct.ToolStats.setBowFlightSpeed("Wood", 6.5F);
//MaterialString, MassValue, BreakChanceValue, AccuracyValue
mods.tconstruct.ToolStats.setArrowStats("Stone", 2.5F, 5.0F, 100F)
//MaterialString, MassValue
mods.tconstruct.ToolStats.setArrowMass("Wood", 3.5F);
//MaterialString, BreakChanceValue
mods.tconstruct.ToolStats.setArrowBreakChance("Wood", 25F);
//MaterialString, AccuracyValue
mods.tconstruct.TooLStats.setArrowAccuracy("Wood", 20F);

Commands Supported

Prints are stored in the minetweaker log in the minecraft directory.

/minetweaker tconstruct [HANDLER] - Outputs a list of all TConstruct recipes
/minetweaker materials - Outputs a list of material strings



ModTweaker Supported Mods

Applied Energistics 2 | Aura Cascade | Botania | Chisel 2 | Ex Nihilo | Extra Utilities | Factorization | Flaxbeard's Steam Power Support | Forestry | Mariculture | Mekanism | Metallurgy 4 | PneumaticCraft | Railcraft | Thaumcraft 4 | Thermal Expansion | Tinker's Construct