[Addon]: LUMINATORS

  • Hi again guys!


    I want to modify Luminators Capacity. I want to do myself, so:


    - I install MCP
    - I install Eclipse
    - I install Mod Forge


    I want to modify this file: "TileEntityLuminators.class". I open it in eclipse and founded the part i want to modify:



    // Method descriptor #91 ()I
    // Stack: 1, Locals: 1
    public int getMaxEnergy();
    0 sipush 10000
    3 ireturn
    Line numbers:
    [pc: 0, line: 195]
    Local variable table:
    [pc: 0, pc: 4] local: this index: 0 type: ic2.core.block.wiring.TileEntityLuminator



    The problem is .... How I can modify this .class file?


    And thanks!

    Whatever you want .... I CAN BUILD IT!!


    :Water Mill: :Glass Fibre: :Batbox: :Glass Fibre: :Mining Drill: : !!


    - Mining Drill Fan Club -

  • I think you would just change the 10000 to, like, 32 or something. Not sure, though.

    Age: 16. Favourite school subject: Physics/Chemistry.


    The IC2 forums could really use a lot more of [REDACTED], [DATA EXPUNGED] and ████████.


    I'm in a so called "after-school". It's freaking fantastic and nowhere near as boring as normal school!

  • You don't want to modify it like that, it's recommended to implement your own Luminator just building on the API or at the very least subclass the existing TileEntityLuminator.

    And How i can do it? There is some tutorial or something?


    Or for example ... Could any IC2 modder create a "0 EU Capacity Luminator" for me or for the next update?

    Whatever you want .... I CAN BUILD IT!!


    :Water Mill: :Glass Fibre: :Batbox: :Glass Fibre: :Mining Drill: : !!


    - Mining Drill Fan Club -

    • Official Post

    Meh, make on/off luminators. PLEEEEEEEAAAASE!

    145 Mods isn't too many. 9 types of copper and 8 types of tin aren't too many. 3 types of coffee though?

    I know that you believe that you understood what you think I said, but I am not sure you realise that what you read was not what I meant.


    ---- Minecraft Crash Report ----
    // I just don't know what went wrong :(


    I see this too much.

  • I spent about 16 hours trying to modify this file but ... i'm an Architect in the real life, but i wish some day be a computer programmer and do this mods (in minecraft or minecraft III: Huger Games Version xD).


    But now ... Please xD, Could you do it? (and too many people want too xD)


    Imagine ... Light Control! You can feel like General Electrics xD

    Whatever you want .... I CAN BUILD IT!!


    :Water Mill: :Glass Fibre: :Batbox: :Glass Fibre: :Mining Drill: : !!


    - Mining Drill Fan Club -

    • Official Post

    It never happened :(

    145 Mods isn't too many. 9 types of copper and 8 types of tin aren't too many. 3 types of coffee though?

    I know that you believe that you understood what you think I said, but I am not sure you realise that what you read was not what I meant.


    ---- Minecraft Crash Report ----
    // I just don't know what went wrong :(


    I see this too much.