Skip to content
VertCodeDevPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Hyperion

Models, animations and custom armor for Minecraft servers, built to stay fast


Important

Hyperion is being planned and built in the open. There is no release yet: everything below is what Hyperion is being built to do, and the roadmap further down shows what is done.

✨ Introduction

Hyperion is an open source, server-side engine for Paper, Folia and Canvas that brings Blockbench models into the game: animated models for bosses, NPCs, pets, mounts and props, effects that play along with them, and custom armor, with the resource pack built for you. Players need no mods.

It does three things, and aims to do each of them as fast and as cleanly as a plugin can:

🧊 Models Your Blockbench models in game, on an entity or on their own, shown with display entity packets
🎬 Animations Blockbench animations with particles, sounds and effects on the timeline, played per model or per player
🛡️ Armor Custom armor sets from your own textures and models, worn like vanilla armor

🚀 Why Hyperion

The most optimised and cleanest library for models, animations and custom armor. Everything is designed around that one goal:

  • Nothing on the tick that can be off it. Model loading, pack building, animation baking and packet building run off the server thread. The tick only does what has to happen there.
  • Folia and Canvas first. Built on region threading from day one, so a model is always driven by the thread that owns it, and the same jar runs on plain Paper.
  • Packets only. Models are display entity packets sent to the players who can see them. No real entities, no armor stands, nothing for the server to tick or save.
  • Send changes, not frames. Bones that did not move are not sent again; models out of view cost nothing.
  • Low memory, low allocation. Animations are baked once into compact keyframe data and shared by every model that plays them.
  • A small, clean API. Few concepts, clear names, documented with real Javadoc, stable between releases.
  • Free and open. MIT licensed: use it on any server, change it, ship it.

📦 Features

🧊 Models

  • Blockbench models (.bbmodel): cubes, groups as bones, pivots and rotations, multiple textures.
  • Models on an entity (following its movement, head and body rotation) or standing on their own.
  • Automatic resource pack generation, no core shaders needed.
  • Scaling, tinting, glow and per-bone visibility at runtime.
  • Hitboxes and interaction for models that should be clicked or hit.
  • Per-player visibility: show a model to some players only.
  • Bedrock support: Bedrock players (through Geyser) see the models too. Better Bedrock support than existing engines is one of Hyperion's goals.

🎬 Animations

  • Blockbench keyframe animations: rotation, position and scale, with linear, smooth and step interpolation.
  • Loop, play once and hold on the last frame; blending between animations; speed control.
  • Effects on the timeline: particles, sounds and custom events at a keyframe, played at a bone, so a sword swing can leave a trail and a stomp can shake the ground.
  • Per-player animation: the same model can play something different for each viewer.
  • Molang expressions in keyframes.

🛡️ Armor

  • Custom armor sets from your own Blockbench models and textures, worn in the vanilla armor slots.
  • 3D helmets on every version, and 3D chestplates, leggings and boots through a core shader, with a flat look wherever the shader cannot run.
  • Real armor items underneath, so enchanting, repairing and dyeing work as players expect.
  • Events for equipping, taking off and wearing a full set, to build set bonuses on.

🕺 Player models

  • Models that wear a player's own skin, with no core shader, from 1.21.4.
  • Animations on players: a player model takes the player's place and plays an animation, for emotes, sitting, or a pose they keep while they run around, such as hands in the air.
  • Slim and wide arms, two-part arms and legs, and a ready player rig to animate in Blockbench.

🧩 For developers

  • A Java API to spawn, animate and control models, listen to animation events and register armor.
  • Every call safe to make from the thread that owns the entity or location, on Paper and on Folia.
  • Events for model spawn, removal, animation start and end, and timeline events.

🗺️ Roadmap

  • Repository, build and license
  • Planning and API design
  • Plugin bootstrap and the /hyperion command
  • Blockbench model loading
  • Resource pack generation
  • Display entity rendering and tracking
  • Animations
  • Bone behaviors: heads, hitboxes, seats, name tags, hands
  • Timeline effects (particles, sounds, events)
  • Custom armor
  • Player models and animations on players
  • Bedrock support
  • Public API release

🖥️ Platforms

Platform Supported
Paper ✅
Folia ✅
Canvas ✅
Purpur ✅ (Paper fork)
Spigot ❌ Hyperion uses Paper APIs

🛠️ Building

Building needs Java 21 and Java 25: Hyperion compiles for Java 21 so it runs on 1.21 servers, and checks itself a second time against the 26.3 api, which needs Java 25. The Gradle toolchain downloads both when they are missing.

./gradlew build

The plugin jar is modules/paper/build/libs/hyperion-paper-v<version>.jar.

Module What it is
modules/api The API other plugins compile against
modules/paper The plugin, for Paper, Folia and Canvas
modules/menu What a menu shows, drawn by menu-invui1 (1.21.x) or menu-invui2 (26.x)
modules/geyser The Geyser extension that shows models to Bedrock players as native Bedrock entities

💻 API

The API is published to Maven Central with every release. There is no release yet; once there is, adding Hyperion to a plugin looks like this:

repositories {
    mavenCentral()
}

dependencies {
    compileOnly("dev.vertcode.hyperion:hyperion-api:VERSION")
}

🤝 Contributing

Issues and pull requests are welcome. For anything bigger than a small fix, open an issue first so we can talk about the approach before you spend time on it.

🙏 Credits

Hyperion is inspired by the work of BetterModel and ModelEngine, and builds on Blockbench and PaperMC.

📄 License

Hyperion is released under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages