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

The angle argument type does not have a serializer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 20w29a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      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
          }
        }
      }
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: