Started by
Morugar
on
Topic category: Help with Minecraft modding (Java Edition)
I want to create entity that just fly forward. Here my test code:
Don't look at else if and direction, it's from old code. I try a lot of, but my entity still don't move. Here I just summon entity and give vx * vz to 100, but nothing happend. My entity just spawn in direction I look and don't move. How I can move it forward?
Edited by Morugar on Thu, 08/11/2022 - 11:54
What code? All you said was amogus
i thing with this you can use the command '/execute as @e[type=modname:entity] at @s run tp @s ^ ^ ^0.1'
your code turns the entity, and my command makes it move forward BTW replace modname:entity with ur mod's name and the entity name and u can change the 0.1 with a higher number to go faster. hope that helps!