MC Modding
Please register and join the community!


Join the forum, it's quick and easy

MC Modding
Please register and join the community!
MC Modding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[1.8.1] Armor

5 posters

Go down

[1.8.1] Armor Empty [1.8.1] Armor

Post by Strengthowns Wed Jun 15, 2011 6:31 am

Armor

Spoiler:

Creating Overlays
Spoiler:
Strengthowns
Strengthowns
Admin

Posts : 79
Join date : 2011-06-14
Location : Right here!

http://www.mcmodding.4umer.com

Back to top Go down

[1.8.1] Armor Empty Re: [1.8.1] Armor

Post by MasterRedstone114 Fri Oct 28, 2011 12:25 am

Will you focus more on theez forumz rather Than your modding tutorials on the mc forums?

MasterRedstone114
Member

Posts : 1
Join date : 2011-10-28

Back to top Go down

[1.8.1] Armor Empty Re: [1.8.1] Armor

Post by the undecided t Thu Nov 03, 2011 6:39 pm

Where would i look to find the different abilities possible for the armor?
the undecided t
the undecided t
Helper

Posts : 45
Join date : 2011-10-20
Age : 28

http://www.blacklistgaming.org/forums

Back to top Go down

[1.8.1] Armor Empty Re: [1.8.1] Armor

Post by lcass Thu Nov 03, 2011 7:30 pm

you would user this code
have a look throgh while doing it
Code:
 public boolean OnTickInGame(Minecraft minecraft)
    {
        ItemStack boots = minecraft.thePlayer.inventory.armorInventory[0];
        ItemStack legs = minecraft.thePlayer.inventory.armorInventory[1];
        ItemStack chest = minecraft.thePlayer.inventory.armorInventory[2];
        ItemStack helm = minecraft.thePlayer.inventory.armorInventory[3];

        if(boots == null || legs == null || chest == null || helm == null)
        {
            return true;
        }
        if(boots.itemID == NamehereBoots.shiftedIndex && legs.itemID == NamehereLegs.shiftedIndex && chest.itemID == NamehereBody.shiftedIndex && helm.itemID == NamehereHelmet.shiftedIndex)
        {
          minecraft.thePlayer.air = minecraft.thePlayer.maxAir;
        }
      if(boots.itemID == Namehere1Boots.shiftedIndex && legs.itemID == Namehere1Legs.shiftedIndex && chest.itemID == Namehere1Body.shiftedIndex && helm.itemID == Namehere1Helmet.shiftedIndex)
        {
          minecraft.thePlayer.isImmuneToFire = true;
        }
      return true;
    }

lcass
Member

Posts : 145
Join date : 2011-10-24
Location : england

https://www.youtube.com/user/thealcasgroup

Back to top Go down

[1.8.1] Armor Empty Re: [1.8.1] Armor

Post by lcass Thu Nov 03, 2011 7:30 pm

you would just need to see which ones you could theplayeris.

lcass
Member

Posts : 145
Join date : 2011-10-24
Location : england

https://www.youtube.com/user/thealcasgroup

Back to top Go down

[1.8.1] Armor Empty Re: [1.8.1] Armor

Post by Minecraftn00b123 Sat Nov 12, 2011 6:50 pm

i dont know where to put this in my mod_namehere...... when i put it somewhere it says for the package net.minecraft.src; that it cannot be resolved to a type. help?

Minecraftn00b123
Member

Posts : 7
Join date : 2011-11-08

Back to top Go down

[1.8.1] Armor Empty Re: [1.8.1] Armor

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum