DolphinsWithGills

DolphinsWithGills

Plugin

Prevents dryout and drowning damage for dolphins

Server Game Mechanics Mobs

11 downloads
0 followers
Createda month ago
Updateda month ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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


Technical information

License
MIT
Project ID