Minecraft Data Packs / Game Mechanic

Ride Mobs (light version)

  • check_circle Functions
  • check_circle Loot Tables
  • 1,144 views, 2 today
  • 96 downloads, 0 today
  • 7
  • 5
AlpalcaLad's Avatar AlpalcaLad
Level 30 : Artisan Modder
10
Adds functionality to ride mobs and control their movement!
Mobs move in the direction you're looking if a tool is held, which works for flying mobs and allows mobs to climb blocks.
It is currently untested in multiplayer, so it may function strangely. Sorry!
Use /function mechs:give_mount_tools to get the tools to control and ride mobs.
Use /function mechs:add_rideable_area to make mobs in an area around you rideable.
Use the Ride entity tool close to a mob that has been tagged with the above function to ride it.
Hold the Move entity tool to move once riding.


Optional dependancy (version with this installed is linked below): looking_filtered datapack to add raycasting (allows you to make your mount attack things)
/function mechs:add_rideable targets the mob you're looking at specifically
when holding the target entity tool and looking at a creature
The raycasting component comes from Cloudwolf, an insanely good datapack maker (please check them out)
https://www.youtube.com/watch?v=dp5uYkfttQY&t=339s&ab_channel=CloudWolf

Raycasting version: www.planetminecraft.com/data-pack/ride-mobs-6116430/
CompatibilityMinecraft 1.20
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome