• 10/18/22 7:45 pm
- 1.3k views • 0 today
- save_alt 142 downloads
- Compatibility
- Minecraft 1.19
- Changes include
- Functions
20
I made it so pets while sitting have a regeneration effect on them i was just going to make it so any Tamed pet had it but turns out
pets dont have a (non player specific) Tamed NBT tag so i decided to go with sitting instead
uhh yea not much else to say really its kinda self explanatory
pets dont have a (non player specific) Tamed NBT tag so i decided to go with sitting instead
uhh yea not much else to say really its kinda self explanatory
More like this
5743719
119




Have something to say?
And I got a further idea, do you think it’s worthy to make a “player version”? When players sit (on horse or boat or cart or just blocks with a sitting mod/datapack), they will get a regeneration effect, too!
I came up with this idea long ago, but I don’t know how to make it… I think the idea is cool cuz it makes sitting useful and realistic rather than just posting and decorative.
I couldn't find any nbt stuff about "sitting player", then I change
"effect give @e[nbt={Sitting:1b}] regeneration 1"
to
"effect give @e[nbt={Ridding:1b}] regeneration 1"
LOL and of course nothing happen
don't have time to learn more about function datapack...
might be possible with a different method but it certainly isnt possible with the method i used for the pets
ill look into it and if i find a way to detect when a player is sitting then ill update this one