[Addon][1.6.2+] Unidye - Get more awesome for your IC²!

  • Unidye

    Display Spoiler

    Welcome to Unidye! An addon for IndustrialCraft² which basically adds a lot of conveniences, funny stuff and a lot of new ways to interact with dyes and dyed wool specifically. You can get the dye out of dyed wool, you can dye wool and clay at a better ratio than vanilla in a machine and thus automate your dyeing needs. Also, you can change larger quantities of dyes with Unidye, a wildcard dye which can be crafted into any other dye. The only thing you need is an already existing unit of dye so you cannot craft anything you don't have yet. If you use GT there are also some interactions such as changed recipes, new recipes (especially for the centrifuge) and other things. Try it today!


    So, how does it work?

    To look up every recipe ingame, use NEI by ChickenBones. It's a really nice mod which displays every vanilla and crafting recipe from mods and, if the mod uses NEI too, from other machines as well. Isn't it convenient to just look at the recipes ingame instead of visiting a wiki for every recipe you are trying to use? I definitely think so.
    I will list vanilla IC² recipes in here, when playing with GT you need NEI. But seriously, how were you going to play GT without that anyways?

    Documentation can be found in the second post of this thread, if needed.

    What is planned?

    In no specific order:
    - add Recipes for GT (Centrifuge and Chemical Reactor)
    - upgraded version of GT Printer
    - doing other stuff with other mods I have to think about.
    - multiblock animal farms
    - electrical fishing station (might release these last two as a separate mod if I ever decide to code them)

    Serious suggestions are ALWAYS welcome!

    License


    You are allowed to download this mod and use it in your singleplayer or multiplayer Minecraft world, unless you are the owner of a blacklisted Minecraft- and/or Mojang-Account. The blacklist is currently empty.
    You are allowed to decompile the mod's source code or view it using the link in this post.
    You are not allowed to make its source code public without my explicit permission.
    You are allowed to edit its source code as long as you are not distributing the edited version. You are not allowed to edit the content of the mcmod.info file.

    You are allowed to redistribute the mod privately without my explicit permission. (e.g. only send the link to your reupload via PMs)
    You are not allowed to redistribute the mod publicly without my explicit permission. (meaning you are not allowed to reupload it somewhere and distribute that download, you are allowed to link to this thread)

    Be wary of IndustrialCraft's Rules for distribution and use of IndustrialCraft.

    Where can I tell you that this is literally the worst addon ever?

    I am always open to constructive feedback and opinions per private message or on this thread. For any beginner trying to get a look into source code, just let me know (even though I am a beginner myself.) I used a lot of forge's tutorial code for the basics of my classes, so huge props to them! I would also gladly appreciate remade textures who might look a bit better than my not-so-well-done 5-minute GIMP accidents. Please report bugs here too, also providing the error message as well as information on your IC2-Version and Forge version.

    IMPORTANT! Config and Exploits!


    For Version 1.2+ there might be exploits. If you find any, let me know immediately!

    The config Options explained:
    DELETE YOUR CONFIG BEFORE UPGRADING TO 1.3.0/1.3.1

    DyeOutOfMesh: How many dyes you get when extracting a mesh. When using mods that alter the vanilla 8:1 ratio for dyeing, you maybe want to change this.
    IsGTAllowed: If you get a crash due to Unidye and GT being together, set this to false.
    ninjaCake: If set to false, the poisonous Yellow YellowCake Cake will have a different Texture from the vanilla cake. removed in 1.3.1 readded in 1.4.2
    rainingFish: If set to false, the SUPER FISH CATCHER XT-9000 will not do anything on right-click.
    convenienceRecipes: If set to false, there will be no recipes for overclocker upgrade, blaze rod and circuit recipe using infused gold.
    useCrystalliser: Not really finished yet, currently disables Crystalliser Crafting recipes if set to false.
    uuMatterForCrystalliser: If set to false, the crystalliser doesn't use UU-Matter.
    gemBlackList: Here you can write the names of gems to blacklist them in the Crystalliser, no spaces, divided by ",". Example: gemBlackList=gemCoal,gemRuby,gemApatite
    euForUnidye: Specify the amount of EU it takes to make Unidye from UU-Matter in the Replication chain.
    uuMatterForUnidye: Specify the amount of UU-Matter it takes, see the one above.

    Download Newest Version

    - Unidye can be installed like most mods, copying them into the "mods" folder of your minecraft installation.
    Always backup your world before updating or installing any mod!
    Always for the newest version:

    1. Download Unidye here (1.6.4 upwards), the Changelog/Versions can be found here.
    2. Move/Copy the .zip file into the "mods" folder of your minecraft installation, the same directory like your industrialcraft2.jar.
    3. Do NOT extract the .zip file, it needs to stay packed in order for forge to load it.
    4. Enjoy the new recipes and indulge in your new way of creating Dyes!

    I have a GitHub Repository for people interested in looking at my code.

    Download Older Versions


    1.4.2
    .zip: here(1.6.2/1.6.4)
    Changelog/Versions: here

    1.4.1
    .zip: here(1.6.2/1.6.4)
    Changelog/Versions: here

    1.4.0
    .zip: here(1.6.2/1.6.4)
    Changelog/Versions: here

    1.3.3
    .zip: here (1.6.2/1.6.4 upwards)
    Changelog/Versions: here

    1.3.1
    .zip: here (1.6.2/1.6.4 upwards)
    Changelog/Versions: here

    1.3.0
    .zip: here (1.6.2/1.6.4 upwards)
    Changelog/Versions: here

    1.1.3:
    .zip: here (1.5.2) or here (1.6.2 upwards)
    Changelog/Versions: here

    FAQ


    Q: I like your mod and I want to show my support. What can I do?
    Spread the word and show it to others! Also, soon I'll give the users a chance to support me by a paypal donation or an adf.ly link (there'll be a non-adf.ly alternative), provided I can acquire the permission for the latter.

  • Documentation

    Exploitfree Dyes


    Unidye adds exploitfree Dyes which use the OreDictionary to be usable as a dye. These affects the colours black, white, blue, brown and green. Please note
    that when upgrading to 1.3, you'll need to craft the dyes tagged as "DEPRECATED" in their name into the new ones, as I will remove the deprecated ones in the next version.

    Wool Mesh and its uses



    A Wool Mesh, similar to Carbon Mesh, is compressed wool. It can be used as fuel, extracted and macerated. In an extractor, it will yield by default 1 dye for every 8 mesh. In a macerator, it will yield 2 Shredded Wool Meshes.
    Shredded Wool Mesh can be used to craft the Fishing Net (or more with GT), which can be used in the Electric Fishing Station.

    Unidye


    (Note that the recipes give 2, not 1 like in the screenshot.)


    Unidye, the main idea of this addon, is a wildcard, which you can turn into any other dye you already possess a unit of. Just put it into the crafting grid with a dye.

    Yellow (YellowCake) Cake




    This cake looks like a regular cake, but is actually radioactive and will poison you when attempting to consume it. It has the same texture as the vanilla cake unless you change that in the config file.

    Recipes using Infused Gold


    Infused Gold is a new material, consisting of Gold, Redstone and Glowstone.

    The other forms of Infused Gold are acquired the same way as other ores.
    Infused Gold can be used in some recipes as a convenient tool for otherwise (in my opinion) tedious recipes.

    Wool Dyeing Station



    GUI:
    Upper left Slot: Dyes.
    Lower left Slot: Material.
    Right Slot: Output.

    Fishing Tools


    Unidye adds fishing tools, which aren't really functional (yet), but are mainly used in the Electric Fishing Station. There are the Harpoon, the Fishing Net, the electric fishing Rod and the Super Fisher.



    Super Fisher components:

    Electric Fishing Station



    GUI:
    Left Slot is for the tool. Right slot is the output.

    It needs a 3*3 pool under it, like so:
    :Water Cell::Water Cell::Water Cell:
    :Water Cell::Water Mill::Water Cell:
    :Water Cell::Water Cell::Water Cell: ( :Water Mill: is the fishing station block above a water block)
    The Fishing Station has a 1% Chance to consume one of the 9 water blocks.
    Depending on the used tool, the fishing station works differently:
    Fishing Rod: 1x Durability
    Harpoon: 2x Durability
    Fishing Net: 1.5x Durability, fishes come in larger portions.
    Electric Fishing Rod: doesn't break, costs twice the energy.
    Super Fisher: doesn't break, yields double the fish.
    Energy consumption is by default 2 EU/t and duration for each Tool damage are 20 seconds. (Without Overclockers.)

    Crystalliser


    The Crystalliser takes EU, time and uuM (configurable) to make crystals/gems out of its components, such as diamonds, rubies or even coal! The Crystalliser uses Dyes and uuMatter to create gems without GT, but with GT, a lot more recipes will be available.
    Special about this machine is that I need your feedback and opinions! See a gem that I haven't done yet (with or without GT)? Tell me!
    More Coming soon.

    Chromatic Generator


    Coming Soon.

  • I think I will add a config file to switch between use of Lapis and Blue Dye (since some other Addons use Lapis in their recipes to dye other stuff, e.g. Iron Tank Walls / Blue Stained Glass). Coming up in the next version then!

    A note that almost everything that uses dyes uses dictionary entries, so if you register your blue dye in the dictionary, most recipes will use it without any problem.

  • As I mentioned, I am only a beginner myself, so I have only discovered the basics yet, so thanks for the hint. I will look into the dictionary and try to use it. :)

    EDIT: Version 1.1.1 is now available for download, with the new "Blue Dye", preventing the gain of Lapis Lazuli. Blue Dye can be used in any Dye Recipe like Lapis Lazuli is (Vanilla and other mods). If the Blue Dye does not work with recipes of a specific mod, the mod is most likely
    not using the OreDictionary, but still let me know about any bugs you encounter.

  • If you felt extra-ordinaryly classy, you could try make a little blending action in there. Example four red wool and four yellow would create orange mesh. If they do something like 3 red, 3 blue, 3 green they could get black mesh, etc. It would be a lot of fun to code, all the possibilities and dynamics!

    So ya. Thats 'bout it.

  • I am currently planning and learning to do more stuff and include new features, but I might look into providing a 1.6.2 build for the next version as long as the changes aren't too major. No promises though. ;)

  • Thank you :)
    Currently planned for the next version are adding Unidye and Wool Meshes as fuel (the use as fuel as well as its value can be configured so I don't have to balance for standard IC2 and the lot of GregTech users, since I am kind of a noob at GregTech stuff) as well as a Centrifuge-like block who processes Wool Meshes to increase the yield of unidye as well as side products..But that will probably take some time. Also planning to provide a 1.6.2 version then.

    Noticed just now, but i may be wrong, Battle Bunny Riven from League of Legends as profile avatar? ~ SpwnX
    Oh yes, I am an avid league of legends player and she is one of my favorite characters :P although that's just random fanart not the skin.

    EDIT: Version 1.1.2 out now! Use Wool and Unidye's new Items in a Generator or Furnace! 1.6.2 compatible version available now! Would love some feedback if it is working properly.

  • Huh, this is probably one of the "better" IC2 add-ons that I've seen. I've been trying to figure out a way to comfortably farm wool and being able to convert the wool to wool meshes and then turn that directly into dye or take an extra step to get slightly more dyes, is brilliant!

    A couple of questions though:
    1) Does extracting the Wool Mesh return one or eight dyes of that colour? (I ask as I'm looking at the screenshots that you've provided and the one of the Extractor with 7 meshes in the input and eight orange dyes in the output and its confusing me a bit)
    2) Wouldn't this be considered an exploit to obtain bone meal?

  • Huh, this is probably one of the "better" IC2 add-ons that I've seen. I've been trying to figure out a way to comfortably farm wool and being able to convert the wool to wool meshes and then turn that directly into dye or take an extra step to get slightly more dyes, is brilliant!

    A couple of questions though:
    1) Does extracting the Wool Mesh return one or eight dyes of that colour? (I ask as I'm looking at the screenshots that you've provided and the one of the Extractor with 7 meshes in the input and eight orange dyes in the output and its confusing me a bit)
    2) Wouldn't this be considered an exploit to obtain bone meal?


    1.If you fully read the OP it gives an example that 8 green wool gives 1 green mesh, which gives 1 cactus green when extracted.
    2.Yes, that would be an almost identical exploit to the blue wool-lapis one, so that brings me to this suggestion.

    Suggestion: Add a white dye, like the blue dye, as to prevent bone meal exploiting.


  • 1.If you fully read the OP it gives an example that 8 green wool gives 1 green mesh, which gives 1 cactus green when extracted.
    2.Yes, that would be an almost identical exploit to the blue wool-lapis one, so that brings me to this suggestion.

    Suggestion: Add a white dye, like the blue dye, as to prevent bone meal exploiting.

    Not to argue, but I did read it, but my interpretation of the pictures threw me off. It's all good now though.

  • Got your first crash report:

    Quote

    Sorry it's in quotations, my browser is being weird. Also, why are you looked for a method in under ItemHoe? (I ask as I know a little about crash reports)

    EDIT: Whoops, forgot to mention, I'm in 1.6.4 where the latest experimental IC2 does work, so I assumed this would as well.

  • I can add white dye soon, I didn't really think about a Bone Meal exploit (mostly because I use mfr or forestry's fertilisiers or farms) or monster farms to get drops.

    The new experimentals of ic2 for 1.6.4 change a lot, so it's most likely an error to do with compatibility. I'll see what I'll have to fix and maybe provide a 1.6.4 version. Also, when exactly did that error occur?

  • The previous night (Oct 9) as I was setting up to do a spotlight on this mod, I dropped IC2 and this mod into the mods folder, launched Minecraft with the instance I had created for it and it crashed before I got to the menu screen.

    EDIT: Odd thing is, it only crashes with Unidye being the only other mod in the mods folder outside of CodeChickenCore, NEI, and IC2. Otherwise, it works fine. While you take care of things on your end, I'll quickly update my Forge install, see if something broke there.

    Update: Okay, I quickly installed build 1.6.4-9.11.1.923 and it's a no-go, still crashes with the same error report.

  • I am genuinely confused. That's all I can say. In my developer environment (for 1.6.2 as well as my new one for 1.6.4, they include IC², CCC and NEI), using my 1.6.2 release, I cannot recreate the error, everything starts up normally, etc. But once I put them into an actual minecraft installation, this weird error shows up, calling me out on using a method that does not exist, something to do with ItemHoe.. Which has nothing to do with the constructor of ItemWoolPart nor setting its unlocalizedName. Just...what? I really have no idea how this could even be remotely related. If someone is less confused than me, here's the source code:
    Unidye
    ItemWoolPart


    Regarding the exploits: Like I said, these were not really in my mind since you don't really use them too often, at least in the modpacks I play, I will take the exploits out then. Another thing I would be really interested in are your opinions on balancing my mod. On my GregTech Survival World, I gathered some sheep early and used the wool in the generator instead of coal (those went into Coke Ovens) or Wood/Charcoal, which I thought was pretty handy..maybe a little too handy? But that's just GregTech, in normal IC² I doubt wool farming would be a viable early game energy generation.