Skip to content

Commit aa67a4b

Browse files
committed
Final fixup
1 parent 7fde946 commit aa67a4b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/paper/dev/api/command-api/arguments/minecraft-arguments.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ toc_max_heading_level: 4
66
---
77

88
# Minecraft Arguments
9-
The [Arguments and Literals](./arguments-and-literals) page covers the most used, native Brigadier arguments. But Minecraft (and Paper) defines a few more. These can be accessed
9+
The [Arguments and Literals](../basics/arguments-and-literals) page covers the most used, native Brigadier arguments. But Minecraft (and Paper) defines a few more. These can be accessed
1010
in a static context using the `ArgumentTypes` class. We will go over all of those in this section.
1111

1212
## Quick overview
@@ -16,7 +16,7 @@ A quick overview of all possible arguments is defined here:
1616
|-----------------------------------------|--------------------------------|----------------------------------------------------------------------------------------|
1717
| `blockPosition()` | BlockPositionResolver | [Block Position Argument](./location-arguments#block-position-argument) |
1818
| `blockState()` | BlockState | [Block State Argument](./bukkit-arguments#block-state-argument) |
19-
| `component()` | Component (Kyori) | [Adventure Component Argument](./adventure-arguments#adventure-component-argument) |
19+
| `component()` | Component (Kyori) | [Component Argument](./adventure-arguments#component-argument) |
2020
| `doubleRange()` | DoubleRangeProvider | [Double Range argument](./predicate-arguments#double-range-argument) |
2121
| `entity()` | EntitySelectorArgumentResolver | [Entity Argument](./entity-player-arguments#entity-argument) |
2222
| `entities()` | EntitySelectorArgumentResolver | [Entities Argument](./entity-player-arguments#entities-argument) |
@@ -27,7 +27,7 @@ A quick overview of all possible arguments is defined here:
2727
| `integerRange()` | IntegerRangeProvider | [Integer Range Argument](./predicate-arguments#integer-range-argument) |
2828
| `itemPredicate()` | ItemStackPredicate | [Item Predicate Argument](./predicate-arguments#item-predicate-argument) |
2929
| `itemStack()` | ItemStack | [ItemStack Argument](./bukkit-arguments#itemstack-argument) |
30-
| `key()` | Key (Kyori) | [Adventure Key Argument](./adventure-arguments#adventure-key-argument) |
30+
| `key()` | Key (Kyori) | [Key Argument](./adventure-arguments#key-argument) |
3131
| `namedColor()` | NamedTextColor (Kyori) | [Named Color Argument](./adventure-arguments#named-color-argument) |
3232
| `namespacedKey()` | NamespacedKey (Bukkit) | [Bukkit NamespacedKey Argument](./bukkit-arguments#bukkit-namespacedkey-argument) |
3333
| `objectiveCriteria()` | Criteria | [Objective Criteria Argument](./enum-arguments#objective-criteria-argument) |
@@ -36,7 +36,7 @@ A quick overview of all possible arguments is defined here:
3636
| `playerProfiles()` | PlayerProfileListResolver | [Player Profiles Argument](./entity-player-arguments#player-profiles-argument) |
3737
| `resource(RegistryKey)` | (Depends on RegistryKey) | [Resource Argument](./registry-arguments#resource-argument) |
3838
| `resourceKey(RegistryKey)` | (Depends on RegistryKey) | [Resource Key Argument](./registry-arguments#resource-key-argument) |
39-
| `style()` | Style (Kyori) | [Adventure Style Argument](./adventure-arguments#adventure-style-argument) |
39+
| `style()` | Style (Kyori) | [Style Argument](./adventure-arguments#adventure-style-argument) |
4040
| `signedMessage()` | SignedMessageResolver | [Signed Message Argument](./adventure-arguments#signed-message-argument) |
4141
| `scoreboardDisplaySlot()` | DisplaySlot | [Scoreboard Display Slot Argument](./enum-arguments#scoreboard-display-slot-argument) |
4242
| `time(float mintime)` | Integer | [Time Argument](./bukkit-arguments#time-argument) |

docs/paper/dev/api/command-api/basics/introduction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It offers many advantages above the previously widely used Bukkit command system
1414

1515
:::info
1616

17-
To see a comparison between the new Brigadier system and the old Bukkit system, check out [this page](./comparison)
17+
To see a comparison between the new Brigadier system and the old Bukkit system, check out [this page](../misc/comparison-bukkit-brigadier)
1818

1919
:::
2020

docs/paper/dev/api/command-api/misc/comparison-bukkit-brigadier.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ As you can see, you have to do a lot of manual checking in order to register a s
5959
the Brigadier api do it?
6060

6161
### The new Paper way
62-
First, we need to retrieve a `LiteralCommandNode<CommandSourceStack>`. That's a special Brigadier class that holds some sort of [command tree](./command-tree).
62+
First, we need to retrieve a `LiteralCommandNode<CommandSourceStack>`. That's a special Brigadier class that holds some sort of [command tree](../basics/command-tree).
6363
In our case, it is the root of our command. We can do that by running `Commands.literal(final String literal)`, which returns a
6464
`LiteralArgumentBuilder<CommandSourceStack>`, where we can define some arguments and executors. Once we are done, we can call
6565
`LiteralArgumentBuilder#build()` to retrieve our build `LiteralCommandNode`, which we can then register. That sounds complicated at first,

0 commit comments

Comments
 (0)