net.minecraft.command.argument

public class BlockPosArgument

implements ArgumentType<Coordinates>

cy
net.minecraft.class_4252
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_20913
EXAMPLES
field_201333_c
EXAMPLES
public static final SimpleCommandExceptionType
a
field_20911
UNLOADED_EXCEPTION
field_197278_b
POS_UNLOADED
public static final SimpleCommandExceptionType
b
field_20912
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_19358()
blockPos()
func_197276_a()
blockPos()
public static BlockPos
a(CommandContext<bu> arg0, String arg1)
method_19360(com.mojang.brigadier.context.CommandContext<class_3915> 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<bu> arg0, String arg1)
method_19361(com.mojang.brigadier.context.CommandContext<class_3915> 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_19359(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)
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)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()