net.minecraft.commands.arguments

public class TimeArgument

implements com.mojang.brigadier.arguments.ArgumentType<Integer>

gl
net.minecraft.commands.arguments.TimeArgument
net.minecraft.class_2245
net.minecraft.command.argument.TimeArgumentType
net.minecraft.commands.arguments.ArgumentTime

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_9969
EXAMPLES
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_INVALID_UNIT
field_9970
INVALID_UNIT_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
c
ERROR_TICK_COUNT_TOO_LOW
field_41857
TICK_COUNT_TOO_LOW_EXCEPTION
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<String>
d
UNITS
field_9972
UNITS
final int
e
minimum
field_41858
minimum

Constructor summary

ModifierConstructor
private (int minimum)

Method summary

Modifier and TypeMethod
public static TimeArgument
a()
time()
method_9489()
time()
public static TimeArgument
a(int arg0)
time(int arg0)
method_48287(int arg0)
time(int minimum)
public Integer
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9490(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
public Collection<String>
getExamples()
getExamples()