Skip to main content

Animals are not what they say they are

Comments

6 comments

  • Ernie Support Agent
    Support

    Hey David,

    Thanks for reporting this. How long has this been happening?
    also, can you provide a screenshot of your code with this happening?

    0
  • David Bond

    It started today.  Students are working in Minecraft Education on their assigned computers with a local install of Minecraft.  I am NOT hosting a game.

    0
  • David Bond

    I downloaded from MS Store last week for installation.  

    0
  • David Bond

    Several screenshots.  Javascript is at the bottom.

     

     

    let from_position: Position = null
    let to_position: Position = null
    let PlayerPosition: Position = null
    player.onChat("wall", function () {
        blocks.fill(
        GLASS,
        from_position,
        to_position,
        FillOperation.Replace
        )
    })
    player.onChat("position", function () {
        PlayerPosition = player.position()
        from_position = positions.add(
        PlayerPosition,
        pos(0, 0, 0)
        )
        to_position = positions.add(
        PlayerPosition,
        pos(9, 3, 2)
        )
    })
    blocks.onBlockBroken(GLASS, function () {
        blocks.place(mobs.monster(ZOMBIE), randpos(
        from_position,
        to_position
        ))
    })
    mobs.onMobKilled(mobs.monster(ZOMBIE), function () {
        blocks.fill(
        AIR,
        from_position,
        to_position,
        FillOperation.Replace
        )
    })
    0
  • Ernie Support Agent
    Support

    Hey David, 

    I just reproduced some of the errors you mentioned. I am sending this information to my team to see if there is a bug report created for this yet.

    0
  • David Bond

    Thank you for taking this support case!

    0

Please sign in to leave a comment.