net.minecraft.commands.arguments

public class GameModeArgument

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

fk
net.minecraft.commands.arguments.GameModeArgument
net.minecraft.class_7918
net.minecraft.command.argument.GameModeArgumentType
net.minecraft.commands.arguments.GameModeArgument

Field summary

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

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)
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()
public static GameModeArgument
a()
gameMode()
method_47383()
gameMode()
public static GameType
a(com.mojang.brigadier.context.CommandContext<ew> 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)
getGameMode(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)