net.minecraft.command.argument

public class BlockPosArgument

implements ArgumentType<Coordinates>

dj
net.minecraft.class_2262
net.minecraft.command.argument.BlockPosArgument
net.minecraft.command.arguments.BlockPosArgument
net.minecraft.command.arguments.BlockPosArgument

Field summary

Modifier and TypeField
private static final Collection<String>
c
field_10702
EXAMPLES
field_201333_c
EXAMPLES
public static final SimpleCommandExceptionType
a
field_10703
UNLOADED_EXCEPTION
field_197278_b
POS_UNLOADED
public static final SimpleCommandExceptionType
b
field_10704
OUT_OF_WORLD_EXCEPTION
field_197279_c
POS_OUT_OF_WORLD

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static BlockPosArgument
a()
method_9698()
blockPos()
func_197276_a()
blockPos()
public static BlockPos
a(CommandContext<cd> arg0, String arg1)
method_9696(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_197273_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static BlockPos
b(CommandContext<cd> arg0, String arg1)
method_9697(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_197274_b(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getBlockPos(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public Coordinates
a(StringReader arg0)
method_9699(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<Suggestions>
listSuggestions(CommandContext<S> arg0, SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()