Started by
XPS
on
Topic category: Help with Minecraft modding (Java Edition)
Hello everyone, I was wondering if anyone knew how to make player mob interactions like the Jenny mod.
Im using it for a pet shop villager and a few pets so it looks very nice.
I did use geckolib for them and I have player animations installed but I don't know how to use them together to make a similer effect.
If anyone knows how please tell me.
Thank you!!!
You could make a Procedure that detects when you interact with your Pet Shop Villager, (probably like right-clicking them or right-clicking them with an item), and then make it so it plays the Player Animation, and calls another Procedure.
Then, make the other Procedure check if the Event/target Entity is your Pet Shop Villager, and if a Player is within a certain distance of them, and if so, play the Pet Shop Villager's Geckolib Animation