Repository navigation
Ride the Ender Dragon. No NMS. No compromises.
RDragonRide turns the Ender Dragon into a fully controllable mount and gives you a clean API to use it in your own plugin. One jar, no dependencies, Paper 1.21.4 and newer.
Highlights
- Full flight control: forward, backward, strafe, climb, dive and pitch-based flying
- Zero NMS: pure Paper API, no version-specific internals
- No dependencies: ProtocolLib is not required
- Timed or permanent dragons: automatic despawn, or stay until dismissed
- Dragon fireballs: with a configurable cooldown and no block damage
- Live boss bar: HP and remaining time at a glance
- World-safe: ridden dragons do not break blocks and are never saved to the world
- Fully configurable: HP, speed, strafe, vertical and pitch factors, duration, fireballs and boss bar
For developers
Summon a dragon in one line:
RDragonRideAPI.get().summonDragon(player);
Or make it your own:
RDragonRideAPI.get().summonDragon(player, DragonConfig.builder()
.durationTicks(6000)
.maxHealth(1000)
.baseSpeed(1.1)
.build());
React to what happens with DragonRideEvent (cancellable) and DragonDismissEvent, which tells you exactly why the dragon is gone.
RDragonRide is a developer API. It adds no commands or items by itself.
Installation
- Download
RDragonRide-1.0-all.jarbelow - Drop it into your
plugins/folder - Restart the server
To use the API, copy the same jar into your project's libs/ folder:
compileOnly files('libs/RDragonRide-1.0-all.jar')
Then add depend: [RDragonRide] to your plugin.yml.
Compatibility
| Paper | Java |
|---|---|
| 1.21.4+ | 21+ (or newer if your Paper version requires it) |
Startup and mounted teleport checked on Paper 1.21.4, 1.21.11, 26.1.2 and 26.2.
Good to know
- Summoning has a 10 minute cooldown per player
- Boss bar and action bar texts are in Hungarian
- Max HP is capped by the server (1024 by default)
Full guide and API reference: README
Found a bug or have an idea? Open an issue or join our Discord.