Skip to content

Commit 59b0c1a

Browse files
[Wiki Update]: 1.21.2, resources, callouts (#4)
* [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
1 parent 1801d86 commit 59b0c1a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3279
-2157
lines changed

404.html

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>404: Page Not Found</title>
7+
<style>
8+
body {
9+
font-family: Arial, sans-serif;
10+
background-color: #f4f4f4;
11+
display: flex;
12+
justify-content: center;
13+
align-items: center;
14+
height: 100vh;
15+
margin: 0;
16+
}
17+
.container {
18+
text-align: center;
19+
background-color: #ffffff;
20+
padding: 40px;
21+
border-radius: 10px;
22+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
23+
}
24+
h1 {
25+
color: #e74c3c;
26+
font-size: 36px;
27+
}
28+
button {
29+
background-color: #3498db;
30+
color: white;
31+
padding: 12px 24px;
32+
font-size: 16px;
33+
border: none;
34+
border-radius: 5px;
35+
cursor: pointer;
36+
transition: background-color 0.3s;
37+
}
38+
button:hover {
39+
background-color: #2980b9;
40+
}
41+
</style>
42+
</head>
43+
<body>
44+
<div class="container">
45+
<h1>404: Page Not Found</h1>
46+
<button onclick="window.location.href='https://minecraftcommands.github.io/wiki';">Go back to the Table of Contents</button><br>
47+
<p>If you encounter any issues, you can <a href="https://github.com/MinecraftCommands/wiki/issues" target="_blank">create a GitHub issue</a>.</p>
48+
</div>
49+
</body>
50+
</html>

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ include:
1111
- CODE_OF_CONDUCT.md
1212
- CONTRIBUTING.md
1313
- ISSUE_TEMPLATE.md
14-
- PULL_REQUEST_TEMPLATE.md
14+
- PULL_REQUEST_TEMPLATE.md

bcresources.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Bedrock Codebase Resources
22

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.
44

55
Looking for resources for the normal Java PC edition? [Click here for Java/PC resources.](/wiki/resources)
66

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.
88

9-
[Online documentation](https://bedrock.dev) (TheDestruc7i0n)
9+
* [Online documentation](https://bedrock.dev) (TheDestruc7i0n)
10+
* [Online documentation](https://wiki.bedrock.dev)
1011

1112
## NBT
1213

debugging.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,24 @@ This page details information on common problems you might have with a command,
2020
* 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)
2121
* 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
2222
* Macs add weird characters 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
2625
* If you have any mods, try vanilla to see if the mod is causing the problem. Even mods like Optifine can cause issues
2726
* 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...)
3029
* 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
3130
* Maybe you set the command to conditional accidentaly and it should be uncoditional, double check that
3231
* The command block must be `always active` or have redstone powering in order for it to run the command
3332
* 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)
3433
* 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
3635
* Make sure you are **not** using per-1.13 execute in newer versions
3736
* Or viceversa, using 1.13+ execute in pre-1.13
3837
* The same goes for bedrock new execute
3938
* Command blocks can only run commands of level permission of 1 or 2
4039
* The can **not** ban, kick or deop, for example
4140
* 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
4341

4442
## Functions
4543

@@ -51,17 +49,17 @@ This page details information on common problems you might have with a command,
5149
* Inserting from a list/array or NBT path is not allowed
5250
* Use a plain plain text editor (Notepad, Notepad++, Sublime, Code), **not** a word processor or rich text editor (Microsoft Word, Wordpad, Textedit)
5351
* 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)
5654
* Don't forget to use `/reload` to reload the functions after making changes
5755
* Make sure you have the datapack enabled. You can enable the datapack by typing `/datapack enable "<datapack name>"`
5856
* When edition world generation you need to leave and rejoin the world in order to save changes (or restart the server).
5957
* 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
6058
* Recursive/looping functions will run `maxCommandChainLength` commands in one tick, then stop, the default value of this gamerule is `65536`
6159
* 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.
6260
* 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
6563
* 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
6664
* All commands must have a correct syntax in order to run the function
6765
* You can start the function with a `/say` command, so you will know if the function has been executed

0 commit comments

Comments
 (0)