Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/reload: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
Line 4: Line 4:
|others=Cheat only{{only|bedrock|short=1}}
|others=Cheat only{{only|bedrock|short=1}}
}}
}}
Reloads data packs {{in|java}}, or reloads functions and scripts in [[Minecraft:behavior pack]]s {{in|bedrock}}.
Reloads data packs {{MC/In|java}}, or reloads functions and scripts in [[Minecraft:behavior pack]]s {{MC/In|bedrock}}.


If a data pack or behavior pack has invalid data (such as an invalid recipe format), changes are not applied and the game continues using the previous data.{{Needs testing|bedrock=1}}
If a data pack or behavior pack has invalid data (such as an invalid recipe format), changes are not applied and the game continues using the previous data.{{MC/Needs testing|bedrock=1}}


== Syntax ==
== Syntax ==
:<code>reload</code>
:<code>reload</code>
:: Reloads the current data packs {{in|java}}, or functions and scripts {{in|bedrock}}. For data packs, any definitions considered experimental by the game (i.e. marked with an asterisk here) are not reloaded; the player must leave and rejoin the world to reload these.
:: Reloads the current data packs {{MC/In|java}}, or functions and scripts {{MC/In|bedrock}}. For data packs, any definitions considered experimental by the game (i.e. marked with an asterisk here) are not reloaded; the player must leave and rejoin the world to reload these.
:<code>reload all</code>{{Only|BE}}
:<code>reload all</code>{{Only|BE}}
:: Makes the player quit the world and rejoin, as well as reloading all behavior and resource packs.
:: Makes the player quit the world and rejoin, as well as reloading all behavior and resource packs.
Line 20: Line 20:
== Output ==
== Output ==


{{Output table}}
{{MC/Output table}}
{{Output table|edition=je|On success|1|1|0}}
{{MC/Output table|edition=je|On success|1|1|0}}
{{Output table}}
{{MC/Output table}}


== History ==
== History ==
=== ''Java Edition'' ===
=== ''Java Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java}}
|{{MC/HistoryLine|java}}
|{{HistoryLine||1.12|dev=17w18a|Added {{cmd|reload|link=none}}.}}
|{{HistoryLine||1.12|dev=17w18a|Added {{MC/Cmd|reload|link=none}}.}}
|{{HistoryLine||1.14.4|dev=pre4|{{cmd|reload|link=none}} is now available up to permission level 2.}}
|{{HistoryLine||1.14.4|dev=pre4|{{MC/Cmd|reload|link=none}} is now available up to permission level 2.}}
|{{HistoryLine||1.16|dev=20w22a|If a data pack has invalid data (such as an invalid recipe format), changes are not applied now.}}
|{{MC/HistoryLine||1.16|dev=20w22a|If a data pack has invalid data (such as an invalid recipe format), changes are not applied now.}}
}}
}}


=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|Added {{cmd|reload|link=none}}.}}  
|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|Added {{MC/Cmd|reload|link=none}}.}}  
|{{HistoryLine||1.20.60|dev=Preview 1.20.60.20|Added {{cmd|reload all|link=none}} in the [[Minecraft:Bedrock Editor]].}}  
|{{HistoryLine||1.20.60|dev=Preview 1.20.60.20|Added {{MC/Cmd|reload all|link=none}} in the [[Minecraft:Bedrock Editor]].}}  
|{{HistoryLine||1.21.30|dev=Preview 1.21.30.22|Added {{cmd|reload all|link=none}} in regular game.}}
|{{HistoryLine||1.21.30|dev=Preview 1.21.30.22|Added {{MC/Cmd|reload all|link=none}} in regular game.}}
}}
}}


== Trivia ==
== Trivia ==
* The {{cmd|datapack enable}} and {{cmd|datapack disable}} commands can also be used to reload data packs.{{only|java}}
* The {{MC/Cmd|datapack enable}} and {{MC/Cmd|datapack disable}} commands can also be used to reload data packs.{{only|java}}


== External links ==
== External links ==
Line 49: Line 49:


== Navigation ==
== Navigation ==
{{Navbox commands}}
{{MC/Navbox commands}}


de:Befehl/reload
de:Befehl/reload

Latest revision as of 20:12, 9 April 2026

Template:Infobox command Reloads data packs in Template:Editions, or reloads functions and scripts in Minecraft:behavior packs in Template:Editions.

If a data pack or behavior pack has invalid data (such as an invalid recipe format), changes are not applied and the game continues using the previous data.<needs testing in Bedrock Edition></needs testing in Bedrock Edition>

Syntax

reload
Reloads the current data packs in Template:Editions, or functions and scripts in Template:Editions. For data packs, any definitions considered experimental by the game (i.e. marked with an asterisk here) are not reloaded; the player must leave and rejoin the world to reload these.
reload allTemplate:Only
Makes the player quit the world and rejoin, as well as reloading all behavior and resource packs.

Result

Always successful.

Output

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|1}}{{#vardefine:output3-{{#var:output-table-lines}}|0}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-editions-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-{{#var:output-editions-num}}|je}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|1}}

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Trivia

  • The
  1. REDIRECT Template:Command

Template:Redr and

  1. REDIRECT Template:Command

Template:Redr commands can also be used to reload data packs.Template:Only

External links

Navigation

All editions
Removed
Template:El only
Debug
Removed
Template:Els only
Template:El only
Removed
Template:El only
Removed
Template:Els only
Removed
Joke
Related

de:Befehl/reload es:Comandos/reload ja:コマンド/reload nl:Opdrachten/reload pt:Comandos/reload ru:Команды консоли/reload uk:Команди консолі/reload zh:命令/reload