Posts by prefixaut

    Hey everyone, I'm working on a Mod as Addon to IC2. Right now everything works like it should, except two things:


    - My Machine converts certain Blocks into Void-Material. This will be used in other Machines, but that doesn't Matter now. I'm saving the Amount via NBT like the Energy, but everytime I update the Block (From working into stopping for example) it loses all Void-Material, but NOT the energy or something else. Just the Void :/
    EDIT: It also Disconnects from the IC2-Net (Energy-Cables won't connect to it anymore and it won't receive any Energy).


    - Another problem is that you're able to put any Item/Block into the Container which will transform it into Void. But it should only accept certain Items/Blocks tho.


    Files now:
    Block: http://pastebin.com/9FgyhRa2
    TileEntity: http://pastebin.com/mY6A9xE2
    Container: http://pastebin.com/62k1reZz


    I hope you can help me out since I struggle with these Problems since a week and didn't find a solution yet :/
    Thanks in advance, PreFiX

    It's fine I figured it out. I just never really worked with Interfaces, so I was thinking that every Class which implements a Interface is being called when using a Interface-Method. That was messing me up because how would you tell to only register for a certain machine then...

    Hi everyone, I started Forge Modding time ago, since Bukkit-Plugins are getting boring and Bukkit seems to shutdown, but anyway.
    I'm working on a Mod which uses the EU-System and some Machines. Now I wanted to create my own Machine and tried to use a Interface (like the Machines from IC2) to register all Recipes.
    But I got to one problem > Because the Interfaces are the same, wouldn't it normally register a Recipe to all Machines with the same Interface?