Started by
daspiderrr
on
Topic category: Help with Minecraft modding (Java Edition)
how do i make it so that when i apply an effect using a splash potion or a tipped arrow to a certain mob and then right click it with a specific item which will then play a shaking animation for it (this is not necessary, although i would like if this was also possible) which after a short amount of time (probably around 5 minutes) will turn it into a different mob? just like how you cure a zombie villager
help pls
hello
If it's a custom mob, there should be a "on rightclick" procedure, then add "If" "mob has potion effect "...", "if" "player is holding ...", then use the new "wait (ticks)" feature, make it about 6000 ticks and after that "despawn entity" then "spawn ...". I haven't used MCreator in a while, so I'm not 100% sure it will work, neither do I know if I typed the procedure names correctly, but I hope this helps at least a little bit.
ok but how about a vanilla mob
?