Skip to content

Commit 20c7dcf

Browse files
authored
Fix invalid identifiers
1 parent 851f190 commit 20c7dcf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/routes/guide/getting-started/+page.svx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ and it is set to **creative mode**. In the world, you will need to run the
6969
`/datapack create` command - it will create your datapack folder as well as the
7070
necessary metadata for you, which saves you a bunch of time.
7171

72-
For example, to make a datapack with the ID `ExampleDatapack` and the
72+
For example, to make a datapack with the ID `example_datapack` and the
7373
description "This is an example datapack", you would run the following command:
7474

7575
```
76-
/datapack create ExampleDatapack "This is an example datapack"
76+
/datapack create example_datapack "This is an example datapack"
7777
```
7878

7979
Once you've created your empty datapack, the next step is to find and open the
@@ -156,7 +156,7 @@ fashion, let's make a function which sends "Hello World" to chat.
156156
You should now have a folder structure that looks something like this:
157157

158158
```
159-
/world/datapacks/ExampleDatapack/data/example/function
159+
/world/datapacks/example_datapack/data/example/function
160160
```
161161

162162
:::warning
@@ -247,7 +247,7 @@ Minecraft "run this command every tick" (every tick = 20 times per second)
247247
The final path would look like this:
248248

249249
```
250-
/world/datapacks/ExampleDatapack/data/minecraft/tags/function/tick.json
250+
/world/datapacks/example_datapack/data/minecraft/tags/function/tick.json
251251
```
252252

253253
**`tick.json` is NOT a function**. In `tick.json`, we are going to put a **list

0 commit comments

Comments
 (0)