nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft.
DolphinsWithGills

DolphinsWithGills

Plugin

Prevents dryout and drowning damage for dolphins

Server Game Mechanics Mobs

57 downloads
3 followers
Created7 months ago
Updated7 months ago

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

Owner


Technical information

License
MIT
Project ID
Expand Down