net.minecraft.commands.arguments

public class DimensionArgument

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

fe
net.minecraft.commands.arguments.DimensionArgument
net.minecraft.class_2181
net.minecraft.command.argument.DimensionArgumentType
net.minecraft.src.C_3303_
net.minecraft.commands.arguments.ArgumentDimension

Field summary

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

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> p_88818_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
public static DimensionArgument
a()
dimension()
method_9288()
dimension()
m_88805_()
public static ServerLevel
a(com.mojang.brigadier.context.CommandContext<et> 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)
m_88808_(com.mojang.brigadier.context.CommandContext<C_2969_> p_88809_, String p_88810_)