Hello i was wondering how can i convert this line of code:
((LivingEntityBase) entity).getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(15);
Into 1.15.2 version of forge?
I tried using LivingEntity instead of LivingEntityBase but it gave me error:
((LivingEntity) entity).getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(15);
^
Thank you for help