Template:Arg desc/doc - minecraft.fandom.com

Treść tej podstrony pochodzi z artykułu „Template:Arg desc/doc” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information

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

Parameters[]

|je=: an argument type in Java Edition.

|be=: an argument type in Bedrock Edition.

Example[]

{{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 the format 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[]