mojira.dev

jodietron

Assigned

No issues.

Reported

MCPE-168892 Facing of player is copied when using summon inside a function Works As Intended

Comments

Attached a mcpack I was able to reproduce it in:

/tp -24 69 17
/summon sheep -24 69 17

Will summon a South facing sheep regardless of player facing, while

/function sheepcall

Will summon a sheep that copies player facing.

Here's a cheeky fix if anyone else is desperate for one

ui_template_dialogs.json

{
  "common_close_button_holder": {
    "modifications": [
      {
        "array_name": "bindings",
        "operation": "replace",
        "where": {
          "binding_name": "(not #is_using_gamepad)"
        },
        "value": {
          "binding_name": "((not #is_using_gamepad) AND ($show_close_button))"
        }
      }
    ]
  }
}