Skip to content

Commit

Permalink
Merge pull request #970 from BedrockCommands/wiki
Browse files Browse the repository at this point in the history
Updated Commands Section
  • Loading branch information
zheaEvyline authored Jan 18, 2025
2 parents eb815af + d3c5de6 commit cd75234
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions docs/.vitepress/tags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ export default {
expert: {
color: "red",
},
function: {
color: "blue",
sidebar: true,
},
guide: {
color: "green",
sidebar: true,
Expand Down Expand Up @@ -48,8 +52,4 @@ export default {
text: "Scripts",
},
},
system: {
color: "blue",
sidebar: true,
},
} satisfies Tags;
3 changes: 2 additions & 1 deletion docs/commands/custom-crafting.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Custom Crafter
category: Useful Creations
tags: [easy]
tags:
- easy
mentions:
- TwigYT
description: Command to simulate a crafting table using droppers.
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/display-entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ To edit values, use the following command structure:
Write the molang code for the variable you want to edit inside the double quotes and assign the value.

Example, to set `xrot` to 35, `ypos` to 16, and `scale` to 1.5:
- `/playanimation @e[type=fox,tag=FMBE] animation.player.attack.positions none 0 "v.xrot=35;v.ypos=16;v.scale=1.5;" setvariable`
- `/playanimation @e[type=fox,tag=FMBE] animation.player.attack.positions none 0 "v.xrot=35;v.ypos=16;v.scale=1.5;" wiki:setvariable`

Molang also allows for more complex animations using various queries and operators. To learn more about Molang, refer to the **[Molang Documentation](https://bedrock.dev/docs/stable/Molang)**.

Expand Down
2 changes: 0 additions & 2 deletions docs/commands/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ categories:
color: blue
- title: Techniques
color: orange
- title: Functions
color: blue
- title: Useful Creations
color: yellow
---
4 changes: 3 additions & 1 deletion docs/commands/rearrange-positions.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
title: Multiplayer Position Rearrangement
category: Functions
category: Useful Creations
mentions:
- BedrockCommands
- zheaEvyline
- jeanmajid
tags:
- function
description: Randomly relocate all selected targets among each other, ensuring none remain in their original position.
---

Expand Down
2 changes: 1 addition & 1 deletion docs/commands/selectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Limits the selection of targets by experience levels. Only players can have EXP,
**Examples:**

Give all players who have nine or less levels a gold ingot:
- `/give @a[lm=9] iron_ingot`
- `/give @a[lm=9] gold_ingot`

Give all players who have ten or more levels a gold ingot:
- `/give @a[l=10] gold_ingot`
Expand Down
2 changes: 1 addition & 1 deletion docs/contribute-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ If you're just looking for existing tags, here is the list of tags that this wik
- <Tag name="method" />
- <Tag name="outdated" />
- <Tag name="scripting" />
- <Tag name="system" />
- <Tag name="function" />

### Content

Expand Down

0 comments on commit cd75234

Please sign in to comment.