Skip to main content

Dispenser Block Appearance and Orientation Issues in MakeCode

Comments

2 comments

  • Zoe Q

    I also tried to add backslash mark to avoid the quotation problem, but it doesnt work

    0
  • Kaleb Support Agent
    Bug Zapper Support Beacon of Knowledge

    Hi there,

    Thanks for your patience while we took a closer look at this. You were definitely on the right track, and we were able to identify a workaround for setting the orientation of dispensers and droppers in MakeCode.

    Instead of using blockWithData or "facing_direction", you can use the following:

    player.execute("setblock ~3 ~ ~ dispenser 2")

    The value at the end controls the direction the dispenser is facing, so you can adjust it based on the orientation you need.

    0

Please sign in to leave a comment.