- check_circle Functions
- check_circle Loot Tables
- check_circle Predicates
Published Nov 12th, 2023, 11/12/23 11:23 am
- 940 views, 10 today
- 104 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.
Built in dependancy (alternative light version 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)
[url=www.youtube.com/watch?v=dp5uYkfttQY&t=339s&ab_channel=CloudWolf
]www.youtube.com/watch?v=dp5uYkfttQY&t=339s&ab_channel=CloudWolf
[/url]
Light version: www.planetminecraft.com/data-pack/ride-mobs-light-version/
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.
Built in dependancy (alternative light version 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)
[url=www.youtube.com/watch?v=dp5uYkfttQY&t=339s&ab_channel=CloudWolf
]www.youtube.com/watch?v=dp5uYkfttQY&t=339s&ab_channel=CloudWolf
[/url]
Light version: www.planetminecraft.com/data-pack/ride-mobs-light-version/
Compatibility | Minecraft 1.20 |
Tags |
tools/tracking
6116430
119
ride-mobs-6116430
Create an account or sign in to comment.
(Edit) Ravagers are indeed rideable, but they barely move, and most certainly never look in the direction you are pointing towards. Furthermore, they still damage you when you are riding them.
EDIT: During testing I couldn't recreate the issue so not sure whats going on there. On my end ravagers dont hurt riders and move at a normal pace. If you could share a video link that might help me identify the issue? To confirm you are using the tools right to control them?
Another issue I have discovered is that this datapack slightly conflicts with another one - Agabe's chairs, that allows you to summon an invisible pig with a saddle wherever you need, and remove it just as easily. The conflict consists in that I can summon the pig, can rotate it, but can no longer remove it. Furthermore, even after this datapack is deleted, the already existing pig chairs still refuse to die via intended command, so I have to kill it directly with /kill.
(EDIT) Okay, i have found out how to make the ravager walk where you need. You have to constantly move your cursor while looking towards needed direction. If you stop, the ravager stops. However, they still only look in one direction, specifically, the one they looked towards when you mounted them, and each time the direction changes. And they still attack me while I'm on them.