Skip to content

Commit

Permalink
Merge pull request BetonQuest#2537 from Spongecade/main
Browse files Browse the repository at this point in the history
Update Minecraft wiki links to new domain
  • Loading branch information
Wolf2323 authored Oct 6, 2023
2 parents 127acac + c366baf commit 00a4517
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/Documentation/Features/Menus/Menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ These are general settings for customizing a menu.
| Setting Name | <div style="width:160px">Example</div> | Description |
|:------------:|:---------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `title` | `title: "&6&lQuests"` | Will be displayed in the top left corner of your menu. You can use [color codes](https://minecraft.gamepedia.com/Formatting_codes) to color the title. Variables are supported. |
| `title` | `title: "&6&lQuests"` | Will be displayed in the top left corner of your menu. You can use [color codes](https://minecraft.wiki/w/Formatting_codes) to color the title. Variables are supported. |
| `height` | `height: 3` | How many lines of slots your menu will have. Minimum 1, Maximum 6. |

#### Optional Settings
Expand Down Expand Up @@ -76,7 +76,7 @@ The three basic optional settings.
### The optional `text` setting
By default, the name and description of the quest item is displayed when hovering over the item.
You can overwrite this by using the `text` setting.
Both [color codes](https://minecraft.gamepedia.com/Formatting_codes) and [variables](../../Scripting/Building-Blocks/Variables-List.md) are supported.
Both [color codes](https://minecraft.wiki/w/Formatting_codes) and [variables](../../Scripting/Building-Blocks/Variables-List.md) are supported.
The text can be provided as a single string with newlines, a multi-line string, or a list of strings, see examples.

``` YAML title="List Example"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ icon: octicons/question-16

This condition checks if the player has specified advancement. The only argument is the full name of the advancement.
This includes the namespace, the tab and the name of the advancement as configured on your server.
[List of all vanilla advancements](https://minecraft.gamepedia.com/Advancement#List_of_advancements).
[List of all vanilla advancements](https://minecraft.wiki/w/Advancement#List_of_advancements).

!!! example
```YAML
Expand Down Expand Up @@ -298,7 +298,7 @@ Checks if the player is looking at a block with the given location or material.

## Moon Cycle: `mooncycle`

This condition checks the players moon cycle (1 is full moon, 8 is Waxing Gibbous) and returns if the player is under that moon. A list of phases can be found [here](https://minecraft.gamepedia.com/Moon).
This condition checks the players moon cycle (1 is full moon, 8 is Waxing Gibbous) and returns if the player is under that moon. A list of phases can be found [here](https://minecraft.wiki/w/Moon).

!!! example
```YAML
Expand Down
4 changes: 2 additions & 2 deletions docs/Documentation/Scripting/Data-Formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ Where:
It can be a [regex](#regex-regular-expressions).
If the regex ends with square brackets you have to add another pair of empty square brackets even if you don't want to
use the state argument (`[regex][]`).
Instead of using a regex to match multiple materials you can also define a [tag](https://minecraft.gamepedia.com/Tag).
Instead of using a regex to match multiple materials you can also define a [tag](https://minecraft.wiki/w/Tag).
Every tag matches a special group of blocks or items that can be grouped together logically. They can be used using this format `:blocks:flowers` or `minecraft:blocks:flowers`.
Be aware that a tag always starts with either `:` or a namespace.

- `state` - (optional) The block states can be provided in a comma separated `key=value` list surrounded by square brackets.
You can look up states in the Minecraft [wiki](https://minecraft.gamepedia.com/Block_states).
You can look up states in the Minecraft [wiki](https://minecraft.wiki/w/Block_states).
Any states left out will be ignored when matching.
*Values* can be a [regex](#regex-regular-expressions).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ during the animation.

### Sound
This IO just plays a sound. You can use its options in any other IO.
You should read the [wiki page](https://minecraft.gamepedia.com/Commands/playsound) of the playsound command
You should read the [wiki page](https://minecraft.wiki/w/Commands/playsound) of the playsound command
as Minecraft's sound system is kinda strange. Just one example: Sound never moves in Minecraft. It's totally static.
Keep that in mind when creating sounds close to a player. They can move around the sound and make it louder or quieter by walking towards / away from it.

| Option | Description |
|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| sound | Sound to play. If blank, no sound. Either vanilla Minecraft sounds (get them using /playsound autocompletion) or the name of a sound from a resource pack. |
| soundcategory | The [category](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/SoundCategory.html) in which the sound will be played. |
| soundvolume | Minecraft's [special sound volume](https://minecraft.gamepedia.com/Commands/playsound#Arguments). Default: _1_ |
| soundvolume | Minecraft's [special sound volume](https://minecraft.wiki/w/Commands/playsound#Arguments). Default: _1_ |
| soundpitch | Pitch of the sound. Default: _1_ Min: _0_ Max: _2_ |
| soundlocation | Default: The player's location. A location using the BetonQuest [ULF](../../Scripting/Data-Formats.md#unified-location-formating). Can include variables. |
| soundplayeroffset | This option is special. See below. |
Expand Down

0 comments on commit 00a4517

Please sign in to comment.