You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [Wiki Update]: 1.21.2, resources, callouts
* New resources page (old resources are kept)
* Callouts have been changed to tables and emojis
* 1.21.2 item click food method fix
* Organize misc category
* Fix customitemtag section
* Update raycast.md
#5
* Grammar fixes, escaping and 404
Grammar fixes added escaping to the FAQ, small fixes and consistency in `itemclick` and added a 404 page with a button to go back to the table of contents. Explanation in `questions` about changes to text components.
* Code Block Style
* Issue 6, typo in heighttest
#6
* FIx Links
Copy file name to clipboardExpand all lines: bcresources.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
1
# Bedrock Codebase Resources
2
2
3
-
This page contains a list of links to utilities and references for **Pocket Edition/Windows 10** ("Minecraft Unified") map making that you may find useful.
3
+
This page contains a list of links to utilities and references for **Minecraft Bedrock Edition** map making that you may find useful.
4
4
5
5
Looking for resources for the normal Java PC edition? [Click here for Java/PC resources.](/wiki/resources)
6
6
7
-
Submit a pull request or create a GitHub issue if you've found a useful tool or reference that you think would fit here.
7
+
Submit a [pull request](https://github.com/MinecraftCommands/wiki/pulls) or create a [GitHub issue](https://github.com/MinecraftCommands/wiki/issues) if you've found a useful tool or reference that you think would fit here.
Copy file name to clipboardExpand all lines: debugging.md
+9-11
Original file line number
Diff line number
Diff line change
@@ -20,26 +20,24 @@ This page details information on common problems you might have with a command,
20
20
* Watch out for `“smart quotes”` that word processors might auto-add, only `"normal quotes"` will work. You should use a plain plain text editor (Notepad, Notepad++, Sublime, Code), **not** a word processor or rich text editor (Microsoft Word, Wordpad, Textedit)
21
21
* Narrow down your problem as much as possible. Remove parts slowly (or build up your command slowly in the first place) until you have just the part that's causing the issue
22
22
* Macs add weird characters that are invisible in-game when the arrow keys are pressed. These will stop the command from working
23
-
* Mods/plugins (especially Essentials) may overwrite vanilla commands. To avoid this you can use one of the two following methods:
24
-
*`/minecraft:command` instead of `/command` for the vanilla implementation (e.g: `/minecraft:give`)
25
-
*`/execute run command` instead of `/command`, this is better because it works in vanilla servers too
23
+
* Mods/plugins (especially Essentials) may overwrite vanilla commands. To avoid this you can use`/minecraft:command` instead of `/command` for the vanilla implementation (e.g: `/minecraft:give`)
24
+
*`/execute run command` instead of `/command`, no longer works, as `execute` can run plugin commands
26
25
* If you have any mods, try vanilla to see if the mod is causing the problem. Even mods like Optifine can cause issues
27
26
* Make sure you don't have a mod that dissables command blocks or functions
28
-
* Make sure command blocks are enabled in server.propieties
29
-
* When using tutorials or [online generators](/wiki/resources) make sure that are for the correct edition (java or bedrock) and version (1.12, 1.17, 1.20)
27
+
* Make sure command blocks are enabled in `server.properties`
28
+
* When using tutorials or [online generators](/wiki/resources) make sure that are for the correct edition (java or bedrock) and version (1.12, 1.17, 1.20...)
30
29
* Check if the command block is in a loaded chunk, you can use the [`/forceload`](https://minecraft.wiki/w/Commands/forceload) command in Java or the [`/tickingarea`](https://minecraft.wiki/w/Commands/tickingarea) command in Bedrock to force a chunk to be always loaded
31
30
* Maybe you set the command to conditional accidentaly and it should be uncoditional, double check that
32
31
* The command block must be `always active` or have redstone powering in order for it to run the command
33
32
* Make sure to capitalize the correct leters in the command, for example `/Say` will not work but `/say` will do (in bedrock edition works different, as you can capitalize commands)
34
33
* Same goes for scoreboard values, if you capitalized it when creating it, it should be capitalized when you use it
35
-
* The `commandModificationBlockLimit` gamerule (defaults to 32768) specifies the limit of blocks that can be selected with the `/fill`, `/fillbiome` and `/clone` commands
34
+
* The `commandModificationBlockLimit` gamerule (defaults to `32768`) specifies the limit of blocks that can be selected with the `/fill`, `/fillbiome` and `/clone` commands
36
35
* Make sure you are **not** using per-1.13 execute in newer versions
37
36
* Or viceversa, using 1.13+ execute in pre-1.13
38
37
* The same goes for bedrock new execute
39
38
* Command blocks can only run commands of level permission of 1 or 2
40
39
* The can **not** ban, kick or deop, for example
41
40
* Make sure you are **not** using item components in pre-1.20.5 or item `nbt` in 1.20.5+
42
-
* execute does not allow the use of commands for plugins, so the command `/execute as @a run tpa ...` will **not** work
43
41
44
42
## Functions
45
43
@@ -51,17 +49,17 @@ This page details information on common problems you might have with a command,
51
49
* Inserting from a list/array or NBT path is not allowed
52
50
* Use a plain plain text editor (Notepad, Notepad++, Sublime, Code), **not** a word processor or rich text editor (Microsoft Word, Wordpad, Textedit)
53
51
* Make sure your file's encoding is UTF-8 (without BOM) - this is not the default in many programs! ([Notepad](http://i.imgur.com/R4yFjAQ.png), [Notepad++](http://i.imgur.com/8AsDJ3F.png), [Sublime](http://i.imgur.com/63rsYOB.png), [Code](http://i.imgur.com/dmOqy0y.png))
54
-
* The namespace folder is not optional, functions should **not** be directly inside `data/functions/`, they must be in `data/<namespace>/functions/`
55
-
* Don't forget to save changes if editing directly the datapack (with programs like VScode), normaly`ctrl+s` (Windows/Lunix) or `cmd+s` (Mac)
52
+
* The namespace folder is not optional, functions should **not** be directly inside `data/functions/`, they must be in `data/<namespace>/functions/` (or in `data/<namespace>/function/` in 1.21+)
53
+
* Don't forget to save changes if editing directly the datapack (with programs like VScode), normally`ctrl+s` (Windows/Lunix) or `cmd+s` (Mac)
56
54
* Don't forget to use `/reload` to reload the functions after making changes
57
55
* Make sure you have the datapack enabled. You can enable the datapack by typing `/datapack enable "<datapack name>"`
58
56
* When edition world generation you need to leave and rejoin the world in order to save changes (or restart the server).
59
57
* Check that you're saving to the place you think you're saving to (right world, right namespace), and running the function you intend to
60
58
* Recursive/looping functions will run `maxCommandChainLength` commands in one tick, then stop, the default value of this gamerule is `65536`
61
59
* To check if a function did **not** end (so it has been cut off by this gamerule) you can set a scoreboard value of a [fakeplayer](wiki/questions/fakeplayer) to 1, run all commands and set it to 0 after that (that command should be the last one in the whole tick). In the next tick you can check if the value is 1 or 0, if its 1, the function has been cutted.
62
60
* Make sure the tick/load function tag is specifing the correct function
63
-
* Functions can run any command that requires a higher level permission than 2.
64
-
* You can override this if you set `function-level-permission` in `server.propieties` to a higher number
61
+
* Functions can not run any command that requires a higher level permission than 2.
62
+
* You can override this if you set `function-level-permission` in `server.properties` to a higher number
65
63
* If a function has a syntax error, it will **not** show up in the autocomplete and it will flail, if you try to run it
66
64
* All commands must have a correct syntax in order to run the function
67
65
* You can start the function with a `/say` command, so you will know if the function has been executed
0 commit comments