net.minecraft.commands.arguments

public class GameModeArgument

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

dz
net.minecraft.commands.arguments.GameModeArgument
net.minecraft.class_7918
net.minecraft.unmapped.C_lctpvygm
net.minecraft.command.argument.GameModeArgumentType
net.minecraft.command.argument.GameModeArgumentType
net.minecraft.src.C_256680_
net.minecraft.commands.arguments.GameModeArgument

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_41088
f_jfnzifna
EXAMPLES
EXAMPLES
f_257050_
private static final GameType[]
b
VALUES
field_41089
f_cbvzxidw
VALUES
GAME_MODES
f_256868_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_INVALID
field_41090
f_dspzkcxb
INVALID_GAME_MODE_EXCEPTION
INVALID_GAME_MODE_EXCEPTION
f_256859_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public GameType
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_47384(com.mojang.brigadier.StringReader arg0)
m_ttutirko(com.mojang.brigadier.StringReader arg0)
parse(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_259515_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
public static GameModeArgument
a()
gameMode()
method_47383()
m_ujokqont()
gameMode()
gameMode()
m_257772_()
public static GameType
a(com.mojang.brigadier.context.CommandContext<dn> arg0, String arg1)
getGameMode(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_47385(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
m_vzknrfeg(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getGameMode(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
getGameMode(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_257804_(com.mojang.brigadier.context.CommandContext<C_2969_> p_259927_, String p_260246_)