Started by
Eggysandwiches
on
Topic category: Help with Minecraft modding (Java Edition)
I have several flying entities but most of them fly too high in the sky to be useful, and some move with ridiculous velocities if they touch the ground as well. How do I stop this?
I too would like to know
if y>= number you want then set entity location to y number you want
You could make the entity in blockbench not on the ground and make the wings a constant motion. Thus not making it a flying entity but still looking like one. The bad thing is it wont fly below or above.
Make This:
If Y > 100 Then Vector Y = -80.
Or Something Like
Place in on entity tick update.
IF [Y position of event/target entity > [Get World surface height at [X: X position of event/target entity], [Z: Z position of Event/target entity + 26]] (or whatever height you want your max limit)
DO [Attempt to make Event/target entity find path and move to [X: X position of event/target entity], [Y: Y position of event/target entity - 8] (or however much you want your mob to drop), [Z: Z position of event/target entity with speed factor of 1]](or however fast you want him to drop)
It worked for me.