net.minecraft.commands.arguments.coordinates

public class BlockPosArgument

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

gp
net.minecraft.commands.arguments.coordinates.BlockPosArgument
net.minecraft.class_2262
net.minecraft.command.argument.BlockPosArgumentType
net.minecraft.src.C_4482_
net.minecraft.commands.arguments.coordinates.ArgumentPosition

Field summary

Modifier and TypeField
private static final Collection<String>
d
EXAMPLES
field_10702
EXAMPLES
f_118236_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_NOT_LOADED
field_10703
UNLOADED_EXCEPTION
f_118234_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_OUT_OF_WORLD
field_10704
OUT_OF_WORLD_EXCEPTION
f_118235_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_OUT_OF_BOUNDS
field_29499
OUT_OF_BOUNDS_EXCEPTION
f_174394_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static BlockPosArgument
a()
blockPos()
method_9698()
blockPos()
m_118239_()
public static BlockPos
a(com.mojang.brigadier.context.CommandContext<et> arg0, String arg1)
getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9696(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_118242_(com.mojang.brigadier.context.CommandContext<C_2969_> p_118243_, String p_118244_)
public static BlockPos
a(com.mojang.brigadier.context.CommandContext<et> arg0, aqu arg1, String arg2)
getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, ServerLevel arg1, String arg2)
method_48298(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_3218 arg1, String arg2)
getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ServerWorld world, String name)
m_264205_(com.mojang.brigadier.context.CommandContext<C_2969_> p_265283_, C_12_ p_265219_, String p_265677_)
public static BlockPos
b(com.mojang.brigadier.context.CommandContext<et> arg0, String arg1)
getBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_48299(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_264582_(com.mojang.brigadier.context.CommandContext<C_2969_> p_265651_, String p_265039_)
public static BlockPos
c(com.mojang.brigadier.context.CommandContext<et> arg0, String arg1)
getSpawnablePos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9697(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getValidBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_174395_(com.mojang.brigadier.context.CommandContext<C_2969_> p_174396_, String p_174397_)
public Coordinates
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9699(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_118251_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()