Tutorial:Old UU-Matter in IC2 exp

From ATLauncher Wiki
Jump to: navigation, search
Wiki.png This article is part of the ATLauncher Wiki's Tutorials section.

Since UU-Matter has become a liquid with IC² exp, its usage has become quite difficult and impractical - it is very slow to respond to crafting needs (eg with Applied Energistics) and doesn't seem to be able to replicate all the items the old UU-Matter offered.
This tutorial will (hopefully) cover how you can get the old UU-Matter functionality back.

Prerequisites[edit]

In order for this to be possible, the mod MineTweaker (and ModTweaker) must be installed on your server (and client).

Notes:

  • The recipe changes will still work, if you don't have it on your client, but it is quite inconvenient since your client will think that the changed/new recipes don't work.
  • ModTweaker isn't nessesary for this to work, but you will loose an Empty Cell for every 1000mB of fluid UU-Matter otherwise.

I used this on a Tech World 2 v1.1.6 server (MC 1.6.4) and have zMineTweaker-1.6.4-2.3.1 and ModTweaker-1.6.4-0.3 in the mod folder.


What will be changed[edit]

It takes 10M EU to create 1000mB of UU-Matter (without using Scrap). For the same amount of energy you would get 10 UU-Matter in the old version of IC². Therefore we fill 1000 mB of the fluid in an Empty Cell, creating an UU-Matter Cell. This Cell will be used to create 10 UU-Matter - but that item doesn't exist by that name anymore. I used Shard of Minium from Equivalent Exchange 3 since it can't be crafted, doesn't drop or naturally generate and hasn't got any use in MC 1.6.4. You can use any item you like, but it should be without use and unobtainable in the game - otherwise it might lead to unintended (ab)use.

Now we will turn 1 UU-Matter Cell into 10 Miniumshards. If we add a crafting recipe in which you just put in the UUM Cells and take out the UU-Matter, the Cells used to contain the UUM will be lost. MineTweaker isn't able to return the empty container to the inventory (to my knowledge).

To avoid this, we will use ModTweaker, to utilize a Machine which has multiple output slots. I decided to use the Pulverizer from Thermal Expansion. If you want to use something from another mod, then it must be supported by ModTweaker.


Changing the configs[edit]

  1. After you have placed the jar-files in the mod folder of your server/client, start and stop it once to create the configs.
  2. Go to MODPACK\minecraft\config\minetweaker and edit the main.cfg (Notepad, Wordpad, etc) and add the following at the bottom: include "olduumatter.cfg";
  3. Create the olduumatter.cfg file. (Copy the main.cfg, delete all contents and rename to "olduumatter")
  4. Edit olduumatter.cfg file and insert the following:
olduumatter.cfg

# defining names for the recepes: (Minium Shard ID = 27000)
cellempty = items.ic2.itemCellEmpty;
uucell = items.ic2.itemCellUuMatter;
uum = <27000>;

# basic recipe with loss of tin:
#recipes.addShapeless(uum * 10, [uucell]);

# thermal expansion recipe without loss:
mods.thermalexpansion.pulverizer.addRecipe(uucell * 1, uum * 10, 1, cellempty * 1, 100);


# Define all needed items:

stone = tile.stone;
recipes.addShaped(stone*16, [[null, null, null], [null, uum, null], [null, null, null]]);

grass = tile.grass;
recipes.addShaped(grass*16, [[null, null, null], [uum, null, null], [uum, null, null]]);

oaklog = tile.log.oak;
recipes.addShaped(oaklog*8, [[null, uum, null], [null, null, null], [null, null, null]]);

glass = tile.glass;
recipes.addShaped(glass*32, [[null, uum, null], [uum, null, uum], [null, uum, null]]);

mossstone = tile.stoneMoss;
recipes.addShaped(mossstone*16, [[null, null, null], [null, uum, null], [uum, null, uum]]);

chisbrick = <98:3>;
recipes.addShaped(chisbrick*48, [[uum, uum, null], [uum, uum, null], [uum, null, null]]);

sandstone = tile.sandStone.default;
recipes.addShaped(sandstone*16, [[null, null, null], [null, null, uum], [null, uum, null]]);

snow = tile.snow;
recipes.addShaped(snow*4, [[uum, null, uum], [null, null, null], [null, null, null]]);

water = <8>;
recipes.addShaped(water*1, [[null, null, null], [null, uum, null], [null, uum, null]]);

lava = tile.lava;
recipes.addShaped(lava*1, [[null, uum, null], [null, uum, null], [null, uum, null]]);

obsidian = tile.obsidian;
recipes.addShaped(obsidian*12, [[uum, null, uum], [uum, null, uum], [null, null, null]]);

cactus = tile.cactus;
recipes.addShaped(cactus*48, [[null, uum, null], [uum, uum, uum], [uum, null, uum]]);

netherrack = tile.hellrock;
recipes.addShaped(netherrack*16, [[null, null, uum], [null, uum, null], [uum, null, null]]);

glowstone = tile.lightgem;
recipes.addShaped(glowstone*8, [[null, uum, null], [uum, null, uum], [uum, uum, uum]]);

vine = tile.vine;
recipes.addShaped(vine*24, [[uum, null, null], [uum, null, null], [uum, null, null]]);

mycel = tile.mycel;
recipes.addShaped(mycel*24, [[null, null, null], [uum, null, uum], [uum, uum, uum]]);

snowball = item.snowball;
recipes.addShaped(snowball*16, [[null, null, null], [null, null, null], [uum, uum, uum]]);

clay = item.clay;
recipes.addShaped(clay*48, [[uum, uum, null], [uum, null, null], [uum, uum, null]]);

cocoa = <351:3>;
recipes.addShaped(cocoa*32, [[uum, uum, null], [null, null, uum], [uum, uum, null]]);

sugarcane = item.reeds;
recipes.addShaped(sugarcane*48, [[uum, null, uum], [uum, null, uum], [uum, null, uum]]);

flint = item.flint;
recipes.addShaped(flint*32, [[null, uum, null], [uum, uum, null], [uum, uum, null]]);

lilypad = tile.waterlily;
recipes.addShaped(lilypad*32, [[uum, null, uum], [uum, uum, uum], [null, uum, null]]);

gunpowder = item.sulphur;
recipes.addShaped(gunpowder*15, [[uum, uum, uum], [uum, null, null], [uum, uum, uum]]);

wool = tile.cloth.white;
recipes.addShaped(wool*12, [[uum, null, uum], [null, null, null], [null, uum, null]]);

bone = item.bone;
recipes.addShaped(bone*32, [[uum, null, null], [uum, uum, uum], [uum, null, null]]);

feather = item.feather;
recipes.addShaped(feather *32, [[null, uum, null], [null, uum, null], [uum, null, uum]]);

leather = item.leather;
recipes.addShaped(leather *32, [[uum, null, uum], [null, uum, null], [uum, uum, uum]]);

enderpearl = item.enderPearl;
recipes.addShaped(enderpearl *1, [[uum, uum, uum], [uum, null, uum], [null, uum, null]]);

blazerod = item.blazeRod;
recipes.addShaped(blazerod *4, [[uum, null, uum], [uum, uum, null], [uum, null, uum]]);

inksac = <351:0>;
recipes.addShaped(inksac *48, [[null, uum, uum], [null, uum, uum], [null, uum, null]]);

coal = item.coal;
recipes.addShaped(coal *8, [[null, null, uum], [uum, null, null], [null, null, uum]]);

diamond = item.diamond;
recipes.addShaped(diamond , [[uum, uum, uum], [uum, uum, uum], [uum, uum, uum]]);

goldore = tile.oreGold;
recipes.addShaped(goldore *2, [[null, uum, null], [uum, uum, uum], [null, uum, null]]);

ironore = tile.oreIron;
recipes.addShaped(ironore *2, [[uum, null, uum], [null, uum, null], [uum, null, uum]]);

emeraldore = tile.oreEmerald;
recipes.addShaped(emeraldore , [[null, uum, uum], [uum, null, uum], [uum, uum, null]]);

redstone = item.redstone;
recipes.addShaped(redstone *24, [[null, null, null], [null, uum, null], [uum, uum, uum]]);

lapis = <351:4>;
recipes.addShaped(lapis *9, [[null, uum, null], [null, uum, null], [null, uum, uum]]);

stickyresin = items.ic2.itemHarz;
recipes.addShaped(stickyresin *21, [[uum, null, uum], [null, null, null], [uum, null, uum]]);

copperdust = items."ic2.itemDustCopper";
recipes.addShaped(copperdust *10, [[null, null, uum], [uum, null, uum], [null, null, null]]);

tindust = items."ic2.itemDustTin";
recipes.addShaped(tindust *10, [[null, null, null], [uum, null, uum], [null, null, uum]]);

iridium = items.ic2.itemOreIridium;
recipes.addShaped(iridium *1, [[uum, uum, uum], [null, uum, null], [uum, null, uum]]);

leadore = tile."thermalexpansion.ore.lead.name";
recipes.addShaped(leadore *2, [[uum, uum, uum], [uum, uum, uum], [uum, uum, null]]);


This adds all the old recipes for the vanilla and IC² items you could get before IC² exp.


Adding other recipes[edit]

If you want to add other recipes, write the following:
itemname = <itemid:damagevalue>;

You can use the item ID (and damagevalue if needed)

itemname2 = items.modxyz.itemOreUnobtainium;

Or you use the ingame MT-command /mt name ITEMID to get the full item name - both can be used, but it didn't work for me with some items like Ink Sac, Cocoa beans and Lapis.


recipes.addShaped(itemname*quantity, [[item1, item2, item3], [item4, item5, item6], [item7, item8, item9]]);

null indicates an empty slot.


Example:

recipes.addShaped(diasword*3, [[apple, null, null], [copperdust, null, copperdust], [null, redstone, lapis]]);
GUI Crafting Table.png
Apple


Copper Dust (IndustrialCraft 2)
Copper Dust (IndustrialCraft 2)


Redstone
Lapis Lazuli
Diamond Sword
GridNumbersCSS.pngGridNumbersCSS.pngGridNumbersCSS.png


If you need more information on adding/editing recipes, feel free to visit the MineTweaker Wiki.