Class PotionEffectArgument.NamespacedKey

java.lang.Object
dev.jorel.commandapi.AbstractArgumentTree<Argument<org.bukkit.NamespacedKey>, Argument<?>, org.bukkit.command.CommandSender>
dev.jorel.commandapi.arguments.AbstractArgument<org.bukkit.NamespacedKey, Argument<org.bukkit.NamespacedKey>, Argument<?>, org.bukkit.command.CommandSender>
dev.jorel.commandapi.arguments.Argument<org.bukkit.NamespacedKey>
dev.jorel.commandapi.arguments.SafeOverrideableArgument<org.bukkit.NamespacedKey, org.bukkit.NamespacedKey>
dev.jorel.commandapi.arguments.PotionEffectArgument.NamespacedKey
All Implemented Interfaces:
CustomProvidedArgument, SafeOverrideable<org.bukkit.NamespacedKey, org.bukkit.NamespacedKey, Argument<org.bukkit.NamespacedKey>, Argument<?>, org.bukkit.command.CommandSender>, BukkitExecutable<Argument<org.bukkit.NamespacedKey>>, ChainableBuilder<Argument<org.bukkit.NamespacedKey>>, PlatformExecutable<Argument<org.bukkit.NamespacedKey>, org.bukkit.command.CommandSender>
Enclosing class:
PotionEffectArgument

public static class PotionEffectArgument.NamespacedKey extends SafeOverrideableArgument<org.bukkit.NamespacedKey, org.bukkit.NamespacedKey> implements CustomProvidedArgument
An argument that represents the Bukkit PotionEffectType object
Since:
1.1
API Note:
Returns a NamespacedKey
  • Field Details

  • Constructor Details

    • NamespacedKey

      public NamespacedKey(String nodeName)
      Constructs a PotionEffectArgument with the given node name. This returns a NamespacedKey
      Parameters:
      nodeName - The name of the node for this argument
  • Method Details