20 avr. 2019, 09:40

ton wather breating c’est ca

if(this.armorType == 0 && player.isInWater())
           {
               player.addPotionEffect(new PotionEffect(Potion.waterBreathing.id, 220, 0));
           }