How to use MakeCode for Minecraft

How to Use MakeCode for Minecraft

1. How to control agent movement.

1) go to "player" option, find "on chat command 'jump' ".





2) go to "agent" option, find "agent move 'forward' by '1' ", and put it inside "on chat command 'jump' ".

3) in Minecraft, click "enter" to open the chat, type "jump" then enter it, your agent will move      forward by 1.



4) change "agent move 'forward' by '1' " to "agent teleport to player" so when you type "jump" in chat, and enter, the agent will teleport to you.


5) change "jump" to what ever you want so it's easy to remember and distinguish. change forward to back or something else can change the direction of agent movement. change the number of agent move by, the agent can move more or less.

2. how to spawn animal in Minecraft
1) go to setting, open "show coordinates" so you can see the coordinates.

2) go to "mobs" option, find "spawn animal 'chicken' at ~'0' ~'0' ~'0' ".


3) click "egg" and choose what type of animal you want spawn.

4) go to "loops" option, find "repeat '4' times do", put it inside "on chat command 'jump' " outside "spawn animal 'chicken' at ~'0' ~'0' ~'0' ".

5) change the time to how many time you want to repeat. 

6) type command in chat, and enter it, animal will spawn at where you write.


3. how to control yourself
1) go to "player" option, find "on chat command 'jump' ".
2) also in "player" option, find "teleport to ~'0' ~'0' ~'0' "
3) change the 3 number of the "teleport to ~'0' ~'0' ~'0' " to where you want to go.
4) type command in Minecraft, enter it so you can teleport to where you write. 



Comments

Popular posts from this blog

2x4 piston door important things and change/enhance

Lotus lamp design doc