- check_circle Functions
- check_circle Loot Tables
Published Nov 12th, 2023, 11/12/23 11:23 am
- 1,144 views, 2 today
- 96 downloads, 0 today
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/
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/
Compatibility | Minecraft 1.20 |
Tags |
6116461
119
Create an account or sign in to comment.