good days
im triying to make an animated item swiching json files but i been notice when in my code try to write an nbt in the onUsingTick() method i just break and causes the playerIn.setItemInUse(pistola, this.getMaxItemUseDuration(pistola)); to stop and execute onPlayerStoppedUsing()
for example
@Override
public int getMaxItemUseDuration(ItemStack pistola)
{
return 1000;
}
@Override
public EnumAction getItemUseAction(ItemStack pistola)
{
return EnumAct