net.minecraft.commands.arguments

public class DimensionArgument

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

di
net.minecraft.commands.arguments.DimensionArgument
net.minecraft.class_2181
net.minecraft.command.argument.DimensionArgumentType
net.minecraft.command.arguments.DimensionArgument
net.minecraft.server.v1_16_R2.ArgumentDimension

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_9844
EXAMPLES
field_237479_a_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_INVALID_VALUE
field_9845
INVALID_DIMENSION_EXCEPTION
field_237480_b_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public ResourceLocation
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9287(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> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()
getExamples()
public static DimensionArgument
a()
dimension()
method_9288()
dimension()
func_212595_a()
public static ServerLevel
a(com.mojang.brigadier.context.CommandContext<db> arg0, String arg1)
getDimension(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9289(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getDimensionArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
func_212592_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)