net.minecraft.commands.arguments

public class StringRepresentableArgument<T extends Enum<T> extends StringRepresentable>

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

gh
net.minecraft.commands.arguments.StringRepresentableArgument
net.minecraft.class_7485
net.minecraft.unmapped.C_wmzutndm
net.minecraft.command.argument.EnumArgumentType
net.minecraft.command.argument.EnumArgumentType
net.minecraft.src.C_213417_
net.minecraft.commands.arguments.StringRepresentableArgument

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_INVALID_VALUE
field_39361
f_skyinctb
INVALID_ENUM_EXCEPTION
INVALID_ENUM_EXCEPTION
f_234055_
private final com.mojang.serialization.Codec<T>
b
codec
field_39362
f_fnrhzxlf
codec
codec
f_234056_
private final Supplier<T[]>
c
values
field_39363
f_liokytzo
valuesSupplier
enumValuesGetter
f_234057_

Constructor summary

ModifierConstructor
protected (com.mojang.serialization.Codec<T> codec, Supplier<T[]> valuesSupplier)

Method summary

Modifier and TypeMethod
public T
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_44091(com.mojang.brigadier.StringReader arg0)
m_yatyssrq(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
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_234075_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
protected String
a(String arg0)
convertId(String arg0)
method_49545(String arg0)
m_uebcruae(String arg0)
transformValueName(String name)
convertValue(String value)
m_274434_(String arg0)