Minecraft:Commands/resourceuri: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{ | {{Exclusive|education}} | ||
{{Infobox command | {{Infobox command | ||
|name=resourceuri | |name=resourceuri | ||
| Line 17: | Line 17: | ||
== Arguments == | == Arguments == | ||
{{ | {{argument|be=1|name: string|basic_string}} | ||
: Specifies the resource link's button text. | : Specifies the resource link's button text. | ||
: {{ | : {{arg desc|be=basic_string}} | ||
{{ | {{argument|be=1|uri: text|CommandRawText}} | ||
: Specifies the resource link's URI, defaults to empty. | : Specifies the resource link's URI, defaults to empty. | ||
: {{ | : {{arg desc|be=CommandRawText}} | ||
== Result == | == Result == | ||
| Line 32: | Line 32: | ||
== Output == | == Output == | ||
{{ | {{Output table|onlybe=1}} | ||
{{ | {{Output table|edition=be|On fail|0}} | ||
{{ | {{Output table|On success|1}} | ||
{{ | {{Output table}} | ||
== History == | == History == | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|education}} | ||
|{{HistoryLine||1.14.70|dev=1.14.60|Added {{ | |{{HistoryLine||1.14.70|dev=1.14.60|Added {{cmd|resourceuri|link=none}}.}} | ||
}} | }} | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox commands}} | ||
zh:命令/resourceuri | [[Minecraft:de:Befehl/resourceuri]] | ||
[[Minecraft:zh:命令/resourceuri]] | |||
Latest revision as of 11:09, 9 October 2026
Template:Exclusive Template:Infobox command Sets or clears the resource link in the pause menu.
Syntax
resourceuriresourceuri clear- Clears the resource link.
resourceuri default [uri: text]- Sets the resource link's URI, the button text is by default.
resourceuri named <name: string> [uri: text]- Sets the resource link.
Arguments
- Specifies the resource link's button text.
- Template:Arg desc
- Specifies the resource link's URI, defaults to empty.
- Template:Arg desc
Result
Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table