ThunderStorm547

a deep sea serpent which swim moving its tail and its whole body up and down

1 image attached
Kodari AI
KodariOct 2 at 10:10 am 1
SerpentSwim
A Minecraft plugin that spawns a deep sea serpent entity which swims through water using realistic undulating body movement. The serpent's tail and entire body move up and down in a smooth sine-wave pattern, creating a lifelike serpentine swimming animation. The plugin handles entity spawning, movement physics, and configurable parameters such as speed, amplitude, and wave frequency. Players can summon the serpent with commands and watch it navigate underwater terrain while maintaining its characteristic vertical undulation.

I’ll create a Paper plugin with a serpent that circles its spawn point, undulates along its body, and swishes its tail.

Created the DeepSeaSerpent Paper plugin. Use /serpent spawn to summon the block-display serpent; its segmented body undulates as it swims in a circle, with a swishing tail. Use /serpent despawn to remove it. Both commands require the deepseaserpent.admin permission, granted to operators by default.

ThunderStorm547

https://x.com/__Andel_/status/2034630764898214215

Kodari AI
KodariOct 2 at 10:18 am 1

I see the reference: a Blockbench animation featuring Sir Nautilus and Signathion from Calamity: Fables. The current plugin uses vanilla block displays, so it can mimic the swimming motion but not reproduce that custom model’s appearance. Should I tune the serpent’s movement to match the reference, or are you aiming for a custom model too?

ThunderStorm547

create a mob like this

Kodari AI
KodariOct 2 at 10:20 am 1
  • Refine the head with a defined snout, jaw, glowing eyes, horns, and gills.

  • Add side fins and a tapered dorsal silhouette along the segmented body.

  • Strengthen the traveling vertical swim wave so the whole serpent undulates, with extra motion in the tail.

Updated the serpent into a more creature-like block-display mob: it now has a snout, jaw, glowing eyes, horns, gills, pectoral fins, and a stronger wave running through its body and tail.

It’s a stylized approximation built from vanilla blocks; matching the reference model exactly would require its custom model and a resource pack.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
6 370
src/main/java/com/kodari/deepseaserpent/DeepSeaSerpentPlugin.java
package com.kodari.deepseaserpent;

import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public final class DeepSeaSerpentPlugin extends JavaPlugin implements CommandExecutor {
    private SerpentManager serpentManager;

    @Override
    public void onEnable() {
        serpentManager = new SerpentManager(this);
        getCommand("serpent").setExecutor(this);
    }

    @Override
    public void onDisable() {
        if (serpentManager != null) {
            serpentManager.shutdown();
        }
    }

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (args.length != 1) {
            sender.sendMessage(ChatColor.AQUA + "Use /serpent <spawn|despawn>.");
            return true;
        }

        if (args[0].equalsIgnoreCase("spawn")) {
            if (!(sender instanceof Player player)) {
                sender.sendMessage(ChatColor.RED + "Only a player can choose where to spawn the serpent.");
                return true;
            }
            serpentManager.spawn(player);
            sender.sendMessage(ChatColor.AQUA + "A deep-sea serpent is swimming nearby.");
            return true;
        }

        if (args[0].equalsIgnoreCase("despawn")) {
            int removed = serpentManager.removeAll();
            sender.sendMessage(ChatColor.AQUA + "Removed " + removed + " serpent(s).");
            return true;
        }

        sender.sendMessage(ChatColor.AQUA + "Use /serpent <spawn|despawn>.");
        return true;
    }
}