How to Ride a Dragon (Mod Making)
Creating a Dragon the Player can ride and fly in Minecraft 1.16.5
Page is WiP- For now Download Tutorial-ModKit_1.16.5 and use the source provided.
The Process:
- Copy the Mojang code for a Pig
- ^^ – player can ride pigs, when holding a carrot on a stick
- Add the Ender Dragon Code to it
- Add Movement Code for Up & Down
- ^^ – Can be simple (holding an Item or advanced new controls, keybindings & entity goals).
- Add a Custom renderer, register and initiate in main mod class and event subscriber as usual
and that is it, spawn in your new dragon, give it a saddle and your off.
I know it is crazy simple [and super cool :)] and not advanced code, but a young child supervised could achieve this in under an hour and that could make them passionate about learning code in the future. It is a fun way to travel!
Telling someone to learn java who just wants to make a mod in minecraft has the opposite effect of encouragement.
You must be logged in to post a comment.