SimCraft for Minecraft

!!

Welcome Guest

Dear visitor, welcome to MC Port Central. If this is your first visit here,  you should consider registering to show your support.   By registering you will give us an idea and clear indication of how in demand our work really are and will motivate our porting team to continue there work. We port vanilla mods to Bukkit and you will also find a lot of other related Minecraft material on our Forum.

Author Topic: IndustrialCraft2: Quantum Armor  (Read 829 times)

Rowert

  • Newbie
  • *
  • Posts: 35
IndustrialCraft2: Quantum Armor
« on: June 24, 2012, 12:21:10 PM »
Hello! I have a problem, I need to turn off the armor of the quantum (in config file disables only the craft), or increase the damage of the armor (for example, that it broke from 10 beats nano-sword) How to change the values​​? (I know that the file ItemArmoryQauantumSuit)

When compiling it writes this: Spoiler
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:18: cannot access forge.ITextureProvider
class file for forge.ITextureProvider not found
public class ItemArmorQuantumSuit extends ItemArmorElectric
       ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:37: cannot find symbol
symbol  : class ItemStack
location: class ic2.common.ItemArmorQuantumSuit
    public boolean isMetalArmor(ItemStack itemstack, EntityHuman entityhuman)
                                ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:37: cannot find symbol
symbol  : class EntityHuman
location: class ic2.common.ItemArmorQuantumSuit
    public boolean isMetalArmor(ItemStack itemstack, EntityHuman entityhuman)
                                                     ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:42: cannot find symbol
symbol  : class ItemStack
location: class ic2.common.ItemArmorQuantumSuit
    public int rarity(ItemStack itemstack)
                      ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:47: cannot find symbol
symbol  : class EntityHuman
location: class ic2.common.ItemArmorQuantumSuit
    public static void performQuantum(EntityHuman entityhuman)
                                      ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:126: cannot find symbol
symbol  : class EntityHuman
location: class ic2.common.ItemArmorQuantumSuit
    public static void absorbFalling(EntityHuman entityhuman)
                                     ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:29: cannot find symbol
symbol  : variable a
location: class ic2.common.ItemArmorQuantumSuit
        return a == 1 ? 1.1000000000000001D : 1.0D;
               ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:49: cannot find symbol
symbol  : class ItemStack
location: class ic2.common.ItemArmorQuantumSuit
        ItemStack aitemstack[] = entityhuman.inventory.armor;
        ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:54: cannot access net.minecraft.server.Item
class file for net.minecraft.server.Item not found
            if(ElectricItem.canUse(aitemstack[3], 1000) && i < 100)
                           ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:63: package MobEffectList does not exist
            Platform.removePotionFrom(entityhuman, MobEffectList.POISON.id);
                                                                ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:71: operator > cannot be applied to java.lang.String,double
        if(aitemstack[1] != null && (aitemstack[1].getItem() instanceof ItemArmorQuantumSuit) && ElectricItem.canUse(aitemstack[1], 1000) && (entityhuman.onGround && Math.abs(entityhuman.motX) + Math.abs(entityhuman.motZ) > 0.10000000149011612D || entityhuman.aU()) && (mod_IC2.enableQuantumSpeedOnSprint && Platform.isPlayerSprinting(entityhuman) || !mod_IC2.enableQuantumSpeedOnSprint && Keyboard.isBoostKeyDown(entityhuman)))
                                                                                                                                                                                                                              ^
C:\12DD04~1.5\mods\ic2\common\ItemArmorQuantumSuit.java:84: cannot access forge.NetworkMod
class file for forge.NetworkMod not found
                if(mod_IC2.getIsJumpingOfEntityLiving(entityhuman))
                          ^
12 errors
I am used: DJ Java decompiler.
With coding I did not know, please help. If anyone can, then please feel free to lay out an example of the modified ItemArmorQuantumSuit.
« Last Edit: June 24, 2012, 12:22:44 PM by Rowert »

X_Pwnage

  • Newbie
  • *
  • Posts: 18
    • X_Pwnage
Re: IndustrialCraft2: Quantum Armor
« Reply #1 on: July 07, 2012, 08:44:33 PM »
First of all, why?
I think the only way is to edit the classfiles
I might be able to do that:D