Minecraft Wiki
[view | edit | history | purge]Documentation

This template is used to show the format of each command argument type.


|je=: an argument type in Java Edition.

|be=: an argument type in Bedrock Edition.


{{arg desc|je=item_predicate}}
{{arg desc|je=vec2|be=RelativeFloat}}
{{arg desc|je=float|max=5.0|min=1.0|be=float}}
{{arg desc|je=entity|amount=single|type=entities|be=actor}}

It must be in form of item_id{data_tags}(accepts item or block tags), in which data tags can be omitted when they are not needed.

Must be a two-dimensional coordinates with floating-point number elements. Accepts tilde and caret notations.

Must be a Single-precision floating-point format number. In Java Edition, it must be between 1.0 and 5.0 (inclusive).

Must be a player name, a target selector or a UUID[Java Edition only]. In Java Edition, the target selector must be in single type.

See also

[view | edit | history | purge]The above documentation is transcluded from Template:Arg desc/doc.