DolphinsWithGills

DolphinsWithGills

Plugin

Prevents dryout and drowning damage for dolphins

Server Game Mechanics Mobs

61 downloads
3 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

DolphinsWithGills 1.0-SNAPSHOT

Changelog

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

Files

DolphinsWithGills-1.0-SNAPSHOT.jar(4.08 KiB) Primary Download

Project members

DrBot

Member

Details

Licensed MIT
Published 9 months ago
Updated 9 months ago