hiya! im trying to make it so that if i feed, for example, a cow 10-12 apples instead of wheat which breeds them, it would become rideable for players. I'm trying to do this through a datapack because our server doesnt like commands. I've got the cow rideable with commands in a test world but its a survival server so if anyone knows how to also make it right click to mount instead, too, that'd be great! know this is a lot, sorry
#Tame(?)able/Rideable mobs!
1 messages · Page 1 of 1 (latest)
Our server doesn't like commands
Data packs are commands
Datapacks are more performant than command blocks though
we had command blocks but it caused the server to completely glitch out
alone that they don't have to be parsed every time they run
we have a head dropping data pack so i know datapacks work, but command blocks dont
That might be less a problem of commands/datapacks but more how optimized it is.
Do you use a lot of unrestricted @e and nbt modification
not really, the commands are usually just @p because theyre player based, our head dropper that was added runs fine with @e, though
this is our head dropping datapack
What part are you stuck on?
im currently stuck on being able to get the cows to eat somethign other than wheat
literally everything i can find online is designed for bedrock
For that, I recommend you look into tags (item tags in this case)
so if the original object was wheat, would i put the replace to false because i want to keep that useable for breeding, but want the apples to have another purpose? or would the apple go in the additional options folder/file
looking at the wiki
oh theres a whole other section that lists additionals, yay
looking at this, would it be like adding an additional item and then editing the purpose of that item so that it triggers the rideable ability rather than the love mode that wheat puts them in?
ill try that
Some stuff unfortunately is still hard-coded and not data driven.
In this particular case, whether a mob can be tamed, is hard-coded.
Ahh that's unfortunate, I'll try something else