net.minecraft.commands.arguments

public class TimeArgument

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

gi
net.minecraft.commands.arguments.TimeArgument
net.minecraft.class_2245
net.minecraft.command.argument.TimeArgumentType
net.minecraft.src.C_4274_
net.minecraft.commands.arguments.ArgumentTime

Field summary

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

Constructor summary

ModifierConstructor
private (int minimum)

Method summary

Modifier and TypeMethod
public static TimeArgument
a()
time()
method_9489()
time()
m_113037_()
public static TimeArgument
a(int arg0)
time(int arg0)
method_48287(int arg0)
time(int minimum)
m_264474_(int p_265722_)
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)
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)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_113045_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()