Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-195183

The angle argument type does not have a serializer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 20w29a
    • None
    • Unconfirmed
    • (Unassigned)

      The angle argument type does not have a serializer, and is not registered in ArgumentTypes like other argument types.

      Because of this, in the commands report, any command using the angle argument type will have the "unknown" type for its angle argument(s):

      {
        "type": "root",
        "children": {
          "setworldspawn": {
            "type": "literal",
            "children": {
              "pos": {
                "type": "argument",
                "parser": "minecraft:block_pos",
                "children": {
                  "angle": {
                    "type": "unknown",
                    "executable": true
                  }
                },
                "executable": true
              }
            },
            "executable": true
          },
          "spawnpoint": {
            "type": "literal",
            "children": {
              "targets": {
                "type": "argument",
                "parser": "minecraft:entity",
                "properties": {
                  "amount": "multiple",
                  "type": "players"
                },
                "children": {
                  "pos": {
                    "type": "argument",
                    "parser": "minecraft:block_pos",
                    "children": {
                      "angle": {
                        "type": "unknown",
                        "executable": true
                      }
                    },
                    "executable": true
                  }
                },
                "executable": true
              }
            },
            "executable": true
          }
        }
      }
      

            Unassigned Unassigned
            haykam haykam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: