Topic category: Help with Minecraft modding (Java Edition)
Hello Mcretor 2021.1 I'm making a mod for minecraft version 1.12.2 and I'm making Mob picker items in the mode mob picker logic is like when a live or Player damages a Mob picker item, he makes the live or player Y value -27 and changes the name of the item to the player's name, whatever the player's name is, then he gives the paralysis effect from ebwizardy mode and gives the blindness effect, then when he right-clicks on the block with that item, he teleports the received creature to us and it deletes its effects and deletes that item from our inventory. i did this, but it only works on players. i know how to do this I'll run it in mobs I'll give the link to the ptpl file below
https://www.mediafire.com/file/76b78nahy48tn1x/hit.ptpl/file
https://www.mediafire.com/file/oc6epyi2h3p6uxs/rightclicked.ptpl/file
https://www.mediafire.com/file/3qee68wfrekdvdt/potion_started.ptpl/file