Minecraft:Commands/reload: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 2: | Line 2: | ||
|name=reload | |name=reload | ||
|oplevel=2 | |oplevel=2 | ||
|others=Cheat only{{only|bedrock|short=1}} | |others=[[Minecraft:Cheat]] only{{only|bedrock|short=1}} | ||
}} | }} | ||
Reloads data | Reloads [[Minecraft:data pack]]s {{in|java}}, or reloads functions and scripts in [[Minecraft:behavior pack]]s {{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.{{ | If a data pack or behavior pack has invalid data (such as an invalid [[Minecraft:recipe]] format), changes are not applied and the game continues using the previous data.{{Needs testing|bedrock=1}} | ||
== Syntax == | == Syntax == | ||
:<code>reload</code> | :<code>reload</code> | ||
:: Reloads the current data packs {{ | :: 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 [[Minecraft:Data pack#Folder structure|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}} | ||
{{ | {{Output table|edition=je|On success|1|1|0}} | ||
{{ | {{Output table}} | ||
== History == | == History == | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|java}} | ||
|{{HistoryLine||1.12|dev=17w18a|Added {{ | |{{HistoryLine||1.12|dev=17w18a|Added {{cmd|reload|link=none}}.}} | ||
|{{HistoryLine||1.14.4|dev=pre4|{{ | |{{HistoryLine||1.14.4|dev=pre4|{{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 [[Minecraft:recipe]] format), changes are not applied now.}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|Added {{ | |{{HistoryLine||1.8.0|dev=beta 1.8.0.8|Added {{cmd|reload|link=none}}.}} | ||
|{{HistoryLine||1.20.60|dev=Preview 1.20.60.20|Added {{ | |{{HistoryLine||1.20.60|dev=Preview 1.20.60.20|Added {{cmd|reload all|link=none}} in the [[Minecraft:Bedrock Editor]].}} | ||
|{{HistoryLine||1.21.30|dev=Preview 1.21.30.22|Added {{ | |{{HistoryLine||1.21.30|dev=Preview 1.21.30.22|Added {{cmd|reload all|link=none}} in regular game.}} | ||
}} | }} | ||
== Trivia == | == Trivia == | ||
* The {{ | * The {{cmd|datapack enable}} and {{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}} | ||
de:Befehl/reload | [[Minecraft:de:Befehl/reload]] | ||
es:Comandos/reload | [[Minecraft:es:Comandos/reload]] | ||
ja:コマンド/reload | [[Minecraft:fr:Commandes/reload]] | ||
nl:Opdrachten/reload | [[Minecraft:ja:コマンド/reload]] | ||
pt:Comandos/reload | [[Minecraft:nl:Opdrachten/reload]] | ||
ru:Команды консоли/reload | [[Minecraft:pt:Comandos/reload]] | ||
uk:Команди консолі/reload | [[Minecraft:ru:Команды консоли/reload]] | ||
zh:命令/reload | [[Minecraft:uk:Команди консолі/reload]] | ||
[[Minecraft:zh:命令/reload]] | |||
Latest revision as of 11:07, 20 May 2026
Template:Infobox command Reloads Minecraft:data packs Template:In, or reloads functions and scripts in Minecraft:behavior packs Template:In.
If a data pack or behavior pack has invalid data (such as an invalid Minecraft:recipe format), changes are not applied and the game continues using the previous data.Template:Needs testing
Syntax
reload- Reloads the current data packs Template:In, or functions and scripts Template:In. 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
Template:Output table Template:Output table Template:Output table
History
Java Edition
Bedrock Edition
Trivia
- The Template:Cmd and Template:Cmd commands can also be used to reload data packs.Template:Only
External links
Minecraft:de:Befehl/reload Minecraft:es:Comandos/reload Minecraft:fr:Commandes/reload Minecraft:ja:コマンド/reload Minecraft:nl:Opdrachten/reload Minecraft:pt:Comandos/reload Minecraft:ru:Команды консоли/reload Minecraft:uk:Команди консолі/reload Minecraft:zh:命令/reload