Repository navigation
Argument Types
Ontey6 edited this page Sep 17, 2026
·
2 revisions
A substantial part of this is AI generated.
| Identifier (Key) | Description | Example (YAML) |
|---|---|---|
| word | Parses a single word string with no spaces. | |
| string | Parses a quoted string or a single word. | |
| varargs_string | Greedily parses all remaining input text as a single string. | |
| boolean | Parses a boolean true or false value. | |
| integer | Parses a whole number within an optional min/max range. | |
| long | Parses a 64-bit integer within an optional min/max range. | |
| float | Parses a single-precision floating-point number within an optional min/max range. | |
| double | Parses a double-precision floating-point number within an optional min/max range. | |
| entity | Target selector that resolves to a single entity. | |
| entities | Target selector that resolves to one or multiple entities. | |
| player | Target selector or name that resolves to a single online player. | |
| players | Target selector that resolves to one or multiple online players. | |
| player_profiles | Target selector or name resolving to player profiles (works for offline players). | |
| block_position | Block coordinate triplet (x, y, z) formatted as integers. | |
| column_block_position | 2D column block coordinate pair (x, z) formatted as integers. | |
| block_in_world_predicate | A predicate test matching block states or tags in the world. | |
| fine_position | Precise continuous coordinate triplet (x, y, z) as floating-point numbers. | |
| column_fine_position | Precise continuous 2D column coordinate pair (x, z) as floating-point numbers. | |
| rotation | Two-value rotation representing yaw and pitch angles. | |
| angle | A relative or absolute angle value. | |
| axes | Coordinate axes selection (e.g., x, xy, xyz). | |
| block_state | A block state specification, including block type and properties. | |
| item_stack | An item type along with optional NBT/components data. | |
| item_predicate | A predicate used to test and match item stacks. | |
| named_color | A standard Minecraft named formatting color (e.g., red, blue). | |
| hex_color | A custom RGB color in hexadecimal notation (e.g., #FF5555). | |
| component | A text component formatted as JSON. | |
| style | Formatting styles for text components as JSON. | |
| signed_message | A cryptographically signed chat message string. | |
| scoreboard_display_slot | A valid scoreboard display slot (e.g., sidebar, belowName). | |
| namespaced_key | A standard key identifier in namespace:value format. | |
| key | A resource key identifier. | |
| integer_range | An integer range value (e.g., 1..5, 10..). | |
| double_range | A floating-point double range value (e.g., 1.5..5.5). | |
| world | A loaded world/dimension instance. | |
| game_mode | A valid Minecraft gamemode (e.g., survival, creative). | |
| height_map | A world heightmap type (e.g., world_surface, ocean_floor). | |
| uuid | A valid Universally Unique Identifier string. | |
| objective_criteria | A valid scoreboard objective criteria name. | |
| entity_anchor | An entity anchor point (e.g., feet or eyes). | |
| time | A duration value in ticks, seconds, or days with an optional minimum limit. | |
| template_mirror | A structure block mirror setting (e.g., none, left_right, front_back). | |
| template_rotation | A structure block rotation setting (e.g., none, clockwise_90). | |