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: hey my monster don't hold item  (Read 169 times)

dricto

  • Newbie
  • *
  • Posts: 13
hey my monster don't hold item
« on: July 22, 2012, 07:46:22 AM »

​I wrote the code and mobs have to be holding some items but they dont​


    private static final ItemStack defaultHeldItem = new ItemStack(Item.bow, 1);
   public ItemStack getHeldItem()
    {
        return defaultHeldItem;
    }


a this code in forge

 
« Last Edit: July 22, 2012, 07:57:26 AM by dricto »