Language

DolphinsWithGills

DolphinsWithGills

Modrinth

Prevents dryout and drowning damage for dolphins

165 downloads 4 followers updated 26mo ago
Modrinth
Paper Purpur Spigot 1.13 – 1.21 Game-mechanicsMobs

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);
    }

Versions

No version history available. Use the Download button to get the latest from the source.

Comments 0

No comments yet. Be the first to share your thoughts.

Download DolphinsWithGills

Files are served directly from the original source. Modgrid does not host or modify them.