nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
DolphinsWithGills

DolphinsWithGills

Plugin

Prevents dryout and drowning damage for dolphins

Server Game Mechanics Mobs

45 downloads
3 followers

A simple plugin that prevents dryout and drowning damage for dolphins

    @EventHandler
    public void onEntityDamage(EntityDamageEvent event) {
        if (event.getEntityType() != EntityType.DOLPHIN) return;
        DamageCause cause = event.getCause();
        if (cause == DamageCause.DROWNING) event.setCancelled(true);
        if (cause == DamageCause.DRYOUT) event.setCancelled(true);
    }

External resources


Project members

DrBot

Member


Technical information

License
MIT
Project ID