net.minecraft.commands.arguments.coordinates

public class BlockPosArgument

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

gs
net.minecraft.commands.arguments.coordinates.BlockPosArgument
net.minecraft.class_2262
net.minecraft.command.argument.BlockPosArgumentType
net.minecraft.commands.arguments.coordinates.ArgumentPosition

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static BlockPosArgument
a()
blockPos()
method_9698()
blockPos()
public static BlockPos
a(com.mojang.brigadier.context.CommandContext<ew> 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)
public static BlockPos
a(com.mojang.brigadier.context.CommandContext<ew> arg0, ash 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)
public static BlockPos
b(com.mojang.brigadier.context.CommandContext<ew> 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)
public static BlockPos
c(com.mojang.brigadier.context.CommandContext<ew> 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)
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)
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()