Interface BlockPosArgument

All Superinterfaces:
ArgumentInf

@NullMarked @Deprecated(since="1.21.7", forRemoval=true) public interface BlockPosArgument extends ArgumentInf
Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getSpawnablePos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from interface moe.caramel.daydream.brigadier.argument.ArgumentInf

    get
  • Method Details

    • getLoadedBlockPos

      Block getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getSpawnablePos

      Block getSpawnablePos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • create

      @Internal static BlockPosArgument create()
      Deprecated, for removal: This API element is subject to removal in a future version.