Change Petting rules to allow petting all friendly creatures#253
Change Petting rules to allow petting all friendly creatures#253CCF100 wants to merge 2 commits intotr7zw:mainfrom
Conversation
PR Summary
|
|
|
Huh, wouldn't expect |
|
Apparently, everything except monsters are "friendly". I think this needs some refinement so stuff like boats/leashes/armorstands/villagers/minecarts/windcharge/itemframe etc don't end up being pettable 😅. |
Yeah, as is, even XP orbs are pettable, which is quite funny... |
|
I'm no expert, and this might count as a necropost or something, but couldn't you use:
to target anything that can be tamed? That would cover most other mods (Pet Cemetery's zombie/skeleton variants, Critters and Companions, etc.) as long as they extend TameableAnimal or something tameable from vanilla. Of course, it wouldn't cover pigs, cows, sheep, etc., so if that's the goal, then I can be safely ignored, but I'd definitely like to see the petting animation work on more mobs. |
|
I think combining that with a bigger rewrite would be better, that also keeps in mind the size of the animal. Especially when also looking at modded entities. |



I wanted to be able to pet all of the friendly mobs, so I wrote this PR lol
(I only updated the English text because I don't know those other languages)