Skip to content

Commit

Permalink
Remaining scorp issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Strokkur424 committed Jan 15, 2025
1 parent d8e9107 commit 68642b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/paper/dev/api/command-api/arguments/minecraft.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: /dev/command-api/arguments/minecraft
description: An overview of all arguments defined in the ArgumentTypes class.
description: Everything regarding the essential Brigadier arguments.
---

# Minecraft Arguments
Expand Down
6 changes: 3 additions & 3 deletions docs/paper/dev/api/command-api/arguments/predicate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ slug: /dev/command-api/arguments/predicate
description: Documentation for arguments that allow value validation.
---

import DoubleRangeMp4 from "./assets/vanilla-arguments/doublerange.mp4"
import IntegerRangeMp4 from "./assets/vanilla-arguments/integerrange.mp4"
import ItemPredicateMp4 from "./assets/vanilla-arguments/itempredicate.mp4"
import DoubleRangeMp4 from "./assets/vanilla-arguments/doublerange.mp4";
import IntegerRangeMp4 from "./assets/vanilla-arguments/integerrange.mp4";
import ItemPredicateMp4 from "./assets/vanilla-arguments/itempredicate.mp4";

# Predicate Arguments
A predicate allows for checking for valid values. These arguments are dedicated to checking whether some sort of value is valid according to user input.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ Here you can see the arguments in action:

## Further reference
### Minecraft arguments
Apart from these build-in Brigadier arguments, countless custom arguments are defined by Paper as well. These can be accessed in a static context with the `ArgumentTypes` class. You
can read more about these [here](../arguments/minecraft.mdx)
Apart from these built-in Brigadier arguments, countless custom arguments are defined by Paper as well. These can be accessed in a static context with the `ArgumentTypes` class. You
can read more about these [here](../arguments/minecraft.mdx).

### Custom arguments
Sometimes you want to define your own, custom arguments. For that you can implement the `CustomArgumentType<T, N>` interface.

0 comments on commit 68642b7

Please sign in to comment.