I've been able to create a custom bow with different range and damage that the usual bow, now the bow doesn't animate as needed and after looking through the ItemBow class and referred classes inside I cannot make up where the actual animation length and "zooming-in" effect comes from.
I have been able to find where the animation is decided which should be this:
/**
* returns the action that specifies what animation to play when the items is being used
*/
public EnumAction getItemUseAction(ItemStack p_77661_1_)
{
return EnumAction.bow;
}
But there is nothing in that EnumAction class that declares the parameters of the animation.
As far as the "zooming-in" effect goes, I'm confused as to why it isn't already functioning since I'm just extending the base ItemBow class which should have that in it.