Skip to content

Commit d4e7e85

Browse files
Add client completion type for remaining joined strings (#2595)
1 parent 0dea7ed commit d4e7e85

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/org/spongepowered/api/command/parameter/managed/clientcompletion/ClientCompletionTypes.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ public final class ClientCompletionTypes {
6666
*/
6767
public static final DefaultedRegistryReference<ClientCompletionType> NONE = ClientCompletionTypes.key(ResourceKey.sponge("none"));
6868

69+
/**
70+
* Indicates to the client that the {@link ValueParser} is a greedy
71+
* string.
72+
*/
73+
public static final DefaultedRegistryReference<ClientCompletionType> REMAINING_JOINED_STRINGS = ClientCompletionTypes.key(ResourceKey.sponge("remaining_joined_strings"));
74+
6975
/**
7076
* Indicates to the client that the {@link ValueParser} is a
7177
* {@link ResourceKey}.

0 commit comments

Comments
 (0)