Jump to content

jjw123

Forge Modder
  • Posts

    80
  • Joined

  • Last visited

Posts posted by jjw123

  1. you can always do it a different way, have a play around with it

     

    for example, if youre not bothered about durability, make it add damage stuff while using it, then set the texture based on damage values. but remember to set the damage back to 0 when released

  2. i havent done this myself, but just looking at the code you should look at this method

     

    /**
         * returns the action that specifies what animation to play when the items is being used
         */
        public EnumAction getItemUseAction(ItemStack par1ItemStack)
        {
        	return EnumAction.bow;
        }

     

    you should probably make a custom EnumAction with your bow in :)

  3. well, in your block 2nd parameter you would have the block texture index (there is a nice tutorial for this on the forge wiki) and where you need to put the number of the texture index, you would put the 'formula' that i said (i really dont like calling it a formula...)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.