Skip to main content

Code for standing on a specific block

Comments

3 comments

  • Cathy Cheo-Isaacs

    Hi Jason Luff, there is a block in Code Builder that tests for a block. It can be found in the Blocks toolbox.

    You can code a conditional to test for a block at the player's world position as the player is walking, and in the screenshot below, a chicken will be spawned when the player is on cobblestone. Hope this helps!

    1
  • Cathy Cheo-Isaacs

    You could also write something like this:

    1
  • Aleece Landis
    Bug Zapper Beacon of Knowledge Super Star

    You may also be able to do something with command blocks

    1

Please sign in to leave a comment.