Started by
Memeslayer06
on
Topic category: Help with Minecraft modding (Java Edition)
is there was a way to give players control of a tamed pet. control meaning that wasd will move the pet and not the player, and the player will see through the animal's eyes
It's possible with MCreator, but it'd be much more flushed out if it were to be hard-coded. The easiest way to do this is to use the "on player tick" event to constantly teleport the pet to the player's position, and also make the player invisible. So in a sense, this allows the player to control the entity it wants to as long as you set custom procedures to only let it control specific animals and all that. But teleporting the entity to the player of the position each tick would most likely be the best way to go about this in MCreator.
is there any way to do this that the player doesn't move but the pet does?
You could save the original position of the player so as soon as they decide to stop possessing the mob they will return to the original place
anyone found a way to do this but have it so the original player doesnt move at all lol cause i want someone near them to still see them as there they just dont move not sure if that makes sense