public class TimeArgument
extends java.lang.Object
implements com.mojang.brigadier.arguments.ArgumentType<java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
private static java.util.Collection<java.lang.String> |
field_218093_a |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
field_218094_b |
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType |
field_218095_c |
private static it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> |
field_218096_d |
Constructor and Description |
---|
TimeArgument() |
Modifier and Type | Method and Description |
---|---|
static TimeArgument |
func_218091_a() |
java.util.Collection<java.lang.String> |
getExamples() |
<S> java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> |
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_listSuggestions_1_,
com.mojang.brigadier.suggestion.SuggestionsBuilder p_listSuggestions_2_) |
java.lang.Integer |
parse(com.mojang.brigadier.StringReader p_parse_1_) |
private static final java.util.Collection<java.lang.String> field_218093_a
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType field_218094_b
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_218095_c
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> field_218096_d
public static TimeArgument func_218091_a()
public java.lang.Integer parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<java.lang.Integer>
com.mojang.brigadier.exceptions.CommandSyntaxException
public <S> java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_listSuggestions_1_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_listSuggestions_2_)
listSuggestions
in interface com.mojang.brigadier.arguments.ArgumentType<java.lang.Integer>
public java.util.Collection<java.lang.String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<java.lang.Integer>