Started by
Dirfoxpyt
on
Topic category: Help with MCreator software
Hello, I want to make my flying mob when it is on the ground change to another mob but when it jumps it changes to previous mob
Topic category: Help with MCreator software
Hello, I want to make my flying mob when it is on the ground change to another mob but when it jumps it changes to previous mob
Create a new mob, and in tick update use:
In your previous mob, use:
Hopefully this helps!
I don't think it will let you do if not block at x y z, I don't know I haven't tried, but I don't think the two are compatible, a workaround, if I'm right, and you can't use the two together, would be this:
If [block at [x] [y-1] [z] = air then
(Put a piece of code here that would do absolutely nothing)
else
Summon [new mob] at [x] [y] [z]
Despawn [event / target entity]
I mean not the block = air
keep in mind that the mob will also change when going up and down blocks
You can send me an image as a reference for the procedure as I can't find different block.
friend there is a problem, notice that the mob changes when it runs into another block that is not air and does not detect what it steps on
I accidentally wrote y instead of y + 1