Started by
Atten007
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I'm currently working on a new mod named "MinecraftBots" for Forge 1.19.2 and Fabric 1.19.2 (will upgrade to 1.20.1 after Forge for this version comes out), with which the Minecraft players can learn how to program robots inside Minecraft: Java Edition. Now I'm programming the procedure for walking the robot one block forwards. Unfortunately, I don't know how to move a entity (in this case the robot) one block forward with a procedure. Can someone please help me with this?
Greetings,
Atten007 :)
you could move a entity by taking the execute commmand block and typing /tp (whatever) ~ ~ ~3
you can mess around with it its just a example its not correct but it teleports the entity 3 blocks
You can make it move by using "Attempt to make (Event/target entity) find path and move to x: (x) y: (y) z: (z) with speed factor (1)" procedure block, that should work i think.