Ride Anything

Ride Anything

Mod

Ride any animal in the game!

Server Game Mechanics Mobs

998 downloads
6 followers
Follow Save

RideAnything

Ride any animal in the game without commands!

Riding a cow

The Code

This mod's entire functionality is in 5 lines of code:

if (entity instanceof AnimalEntity && 
player.getMainHandStack().isEmpty()) {
  if (player.startRiding(entity)) {
    return ActionResult.SUCCESS;
  }
}

That's it!

Any mob in Minecraft that is an AnimalEntity can now be ridden by right clicking with an empty hand.

This includes basically every animal in the game, including some hostile ones, like hoglins. Good luck!


Project members

telecter

Member

Details

Licensed MIT
Published 4 months ago
Updated a month ago