[WIP] Melumpkins!

  • As a few of you may recall, I had this brilliant idea a while back to combine melons with pumpkins as an IC2 crop. Now, with around 8 weeks of Java knowledge and a basic understanding of Forge under my belt, I'm ready to start the project! Kind of. Not really. But imma do it anyway! So, while I'm trying to get IC2 to decompile with MCP, you can take a look at what's to come!


    Look, I made myself a trailer!
    http://youtu.be/SUlti8RgGfg


    DISCLAIMER: I have no idea how to use the IC2 API, and any help would be very much appreciated. (Some help with the BC and UE APIs would also be good.)


    -The plant itself
    -IC2 Crop version of the plant
    -Melumpkin-based generators (for UE, BC, IC2, and maybe more!)
    -BC logic gate things for if the plant is ready!
    -Lots more completely stupid and pointless things!


    Please note: This is just a "practice mod". I do not intend for it to serve any purpose whatsoever, as it is just so I can learn the API. I will release it ASAP, no matter how buggy it is. Source will be included.


    Another note: By "I will release it ASAP", I mean I will release it when it has enough components to be considered anything more than random code. In other words, I will not release a compiled verson now, because it has one unobtainable, textureless, useless block and a broken CropCard. Time to make it all pretty now!

    Files


    COMING !SOON: Melumpkins, the Addon!

    The post was edited 6 times, last by Trintus ().

  • What do you mean with Melumpkin-based generators? Do you give them melumpkins and they start generating the energy? Or do they do some weird process to burn up the melumpkins?

  • Quote

    What do you mean with Melumpkin-based generators? Do you give them
    melumpkins and they start generating the energy? Or do they do some
    weird process to burn up the melumpkins?

    Maybe, potato melumpkin batteries?
    And how will it look like? Orange melon? Green pumpkin?

  • I'm not really sure what I'm going to make them look like, but I won't start on texturing until I have working code. Also, I have no idea how melumpkins will generate electricity. I'll have to make something up!


    COMING !SOON: Melumpkins, the Addon!

  • give me a shout if you get stuck on something :D
    (p.s: you aren't supposed to get a working decompiled ic2, you have two mcps, one for you code plus the api, and one for a broken version of ic2 for reference)

  • Well that explains a lot. Another thing is, it's giving me errors when I run the decompile.bat, so I must be doing something wrong.


    COMING !SOON: Melumpkins, the Addon!

  • in the broken ic2 version, decompile with ic2 and minecraftforge
    in the api version, use the forge install and then drag and drop ic2's api into the src folder


    not sure if the broken ic2 still works in mc 1.3.2, last I tried it was in 1.2.5

  • I've been trying to get the vanilla pumpkin/melon stems to work with melumpkins, but I've been having no luck. Time for a new plan! Any ideas on how I should make them grow?


    EDIT: I've been trying to get the CropCard for melumpkins to register using

    Code
    1. CropCard.registerCrop(new MelumpkinIC2Crop())


    but it didn't work. I also tried creating an instance of my melumpkin cropcard class and registering that, but that didn't work either. Anyone know why both of those aren't working?


    COMING !SOON: Melumpkins, the Addon!

    The post was edited 1 time, last by Trintus ().

  • Idea for energy generation :
    Melumpkins due its genetical mutation are able to store more organic components in its fruits (C6H12O6) making it extremely useful for biofuel generation.


    8 Melon slices/Melumpkin block + compressor -> Compressed Melumpkin
    Compressed Melumpkin + Tin cell = Dense biofuelcell
    Dense biofuelcell + extractor -> Dense biofuel
    1 Dense biofuel = + 18k EU on Fuel can.

  • Idea for energy generation :
    Melumpkins due its genetical mutation are able to store more organic components in its fruits (C6H12O6) making it extremely useful for biofuel generation.


    8 Melon slices/Melumpkin block + compressor -> Compressed Melumpkin
    Compressed Melumpkin + Tin cell = Dense biofuelcell
    Dense biofuelcell + extractor -> Dense biofuel
    1 Dense biofuel = + 18k EU on Fuel can.


    Hm... seems legit. I may use that, but I was planning on something more "other mod-friendly".


    COMING !SOON: Melumpkins, the Addon!


  • Hm... seems legit. I may use that, but I was planning on something more "other mod-friendly".

    Dense biofuel could be used in BC combustion engines, Forestry bio-gas engines, UE generator and other stuff.
    Anyway, a new generator type wouldn't be bad.

  • Idea could be like this:
    we have a machine, that is like extractor. It takes our juicy melon-pumpkin thing and makes it... probably, makes it dry with true sunlight, water is then collected and then used to fill cells, while our dry-thing can be just burned in basic gen. Nice way to get water, if we use Greg hardcore no inf watersouce tweak and uses tons of coding aspects by the way ^^

  • Idea could be like this:
    we have a machine, that is like extractor. It takes our juicy melon-pumpkin thing and makes it... probably, makes it dry with true sunlight, water is then collected and then used to fill cells, while our dry-thing can be just burned in basic gen. Nice way to get water, if we use Greg hardcore no inf watersouce tweak and uses tons of coding aspects by the way ^^


    I may add a fruit squeezing device once the mod has the basic components. It could produce dried fruit to be burned as fuel.


    COMING !SOON: Melumpkins, the Addon!

  • its to dangerous to load without dependency setup, use this


    Code
    1. @Mod(modid = "Melumpkins", name = "Melumpkins!", dependencies="required-after:IC2@[1.106,);required-after:Forge@[4.1,);required-after:FML@[3.1.15,)")

    Unsafe.putObject(42,Unsafe.staticFieldOffset(42.getDeclaredFields()[42]),43);

  • its to dangerous to load without dependency setup, use this


    Code
    1. @Mod(modid = "Melumpkins", name = "Melumpkins!", dependencies="required-after:IC2@[1.106,);required-after:Forge@[4.1,);required-after:FML@[3.1.15,)")

    Wow... how did I forget that? Thanks!


    Unrelated: Can someone make me a Melumpkin Seed texture? Thanks in advance!


    COMING !SOON: Melumpkins, the Addon!

    The post was edited 1 time, last by Trintus ().

  • In case anyone still cares, I've temporarily stopped coding this mod until the next "long lasting" update comes around (hopefully 1.4.4/1.4.5), after which I will be doing a complete rewrite of this mod, as a lot of this mod was copy/pasting and I want to actually learn how things work. Also, if anyone has bothered to look through the code I posted, I hadn't bothered to have a Common and Client proxies (which I still have no idea what they do, even after reading the wiki articles). Also, I've been on the FTB TeamSpeak, for whatever that means.


    COMING !SOON: Melumpkins, the Addon!