Class BlankNMS

All Implemented Interfaces:
dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
Direct Known Subclasses:
ArgumentNMS

public abstract class BlankNMS extends Object implements dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final dev.jorel.commandapi.nms.NMS<?>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlankNMS(dev.jorel.commandapi.nms.NMS<?> baseNMS)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
    _ArgumentScoreholder(boolean single)
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    com.mojang.brigadier.arguments.ArgumentType<?>
     
    void
    addToHelpMap(Map<String,org.bukkit.help.HelpTopic> helpTopicsToAdd)
     
    convert(dev.jorel.commandapi.wrappers.ParticleData<?> particle)
     
    convert(org.bukkit.inventory.ItemStack is)
     
    convert(org.bukkit.potion.PotionEffectType potion)
     
    convert(org.bukkit.Sound sound)
     
    org.bukkit.help.HelpTopic
    generateHelpTopic(String commandName, String shortDescription, String fullDescription, String permission)
     
    float
    getAngle(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    EnumSet<org.bukkit.Axis>
    getAxis(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    net.md_5.bungee.api.chat.BaseComponent[]
    getChat(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    net.md_5.bungee.api.chat.BaseComponent[]
    getChatComponent(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    org.bukkit.World.Environment
    getDimension(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    dev.jorel.commandapi.wrappers.FloatRange
    getFloatRange(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    dev.jorel.commandapi.wrappers.SimpleFunctionWrapper
    getFunction(org.bukkit.NamespacedKey key)
     
    Set<org.bukkit.NamespacedKey>
     
    dev.jorel.commandapi.wrappers.IntegerRange
    getIntRange(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    dev.jorel.commandapi.wrappers.MathOperation
    getMathOperation(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    org.bukkit.NamespacedKey
    getMinecraftKey(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    org.bukkit.OfflinePlayer
    getOfflinePlayer(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    dev.jorel.commandapi.wrappers.Rotation
    getRotation(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    dev.jorel.commandapi.wrappers.ScoreboardSlot
    getScoreboardSlot(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    getScoreHolderMultiple(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    getScoreHolderSingle(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    org.bukkit.command.SimpleCommandMap
     
    dev.jorel.commandapi.wrappers.SimpleFunctionWrapper[]
    getTag(org.bukkit.NamespacedKey key)
     
    Set<org.bukkit.NamespacedKey>
     
    int
    getTime(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    getUUID(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
     
    boolean
    isVanillaCommandWrapper(org.bukkit.command.Command command)
     
    void
     
    void
    resendPackets(org.bukkit.entity.Player player)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.jorel.commandapi.nms.NMS

    _ArgumentBlockPredicate, _ArgumentBlockState, _ArgumentChat, _ArgumentChatComponent, _ArgumentEntity, _ArgumentItemPredicate, _ArgumentItemStack, _ArgumentMinecraftKeyRegistered, _ArgumentMobEffect, _ArgumentPosition, _ArgumentPosition2D, _ArgumentProfile, _ArgumentSyntheticBiome, _ArgumentVec2, _ArgumentVec3, canUseChatPreview, compatibleVersions, createDispatcherFile, getAdvancement, getAdventureChat, getAdventureChatComponent, getBiome, getBlockPredicate, getBlockState, getBrigadierDispatcher, getChatColor, getCLWFromCommandSender, getCommandSenderFromCSS, getEnchantment, getEntitySelector, getEntityType, getFunction, getItemStack, getItemStackPredicate, getLocation2DBlock, getLocation2DPrecise, getLocationBlock, getLocationPrecise, getLootTable, getNBTCompound, getObjective, getObjectiveCriteria, getParticle, getPlayer, getPotionEffect, getRecipe, getSenderForCommand, getSound, getSuggestionProvider, getTeam, getWorldForCSS, hookChatPreview, unhookChatPreview
  • Field Details

    • BASE_NMS

      public final dev.jorel.commandapi.nms.NMS<?> BASE_NMS
  • Constructor Details

    • BlankNMS

      public BlankNMS(dev.jorel.commandapi.nms.NMS<?> baseNMS)
  • Method Details

    • getSimpleCommandMap

      public org.bukkit.command.SimpleCommandMap getSimpleCommandMap()
      Specified by:
      getSimpleCommandMap in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • addToHelpMap

      public void addToHelpMap(Map<String,org.bukkit.help.HelpTopic> helpTopicsToAdd)
      Specified by:
      addToHelpMap in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • convert

      public String convert(org.bukkit.inventory.ItemStack is)
      Specified by:
      convert in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • convert

      public String convert(dev.jorel.commandapi.wrappers.ParticleData<?> particle)
      Specified by:
      convert in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • generateHelpTopic

      public org.bukkit.help.HelpTopic generateHelpTopic(String commandName, String shortDescription, String fullDescription, String permission)
      Specified by:
      generateHelpTopic in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • isVanillaCommandWrapper

      public boolean isVanillaCommandWrapper(org.bukkit.command.Command command)
      Specified by:
      isVanillaCommandWrapper in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • reloadDataPacks

      public void reloadDataPacks()
      Specified by:
      reloadDataPacks in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • resendPackets

      public void resendPackets(org.bukkit.entity.Player player)
      Specified by:
      resendPackets in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getFunction

      public dev.jorel.commandapi.wrappers.SimpleFunctionWrapper getFunction(org.bukkit.NamespacedKey key)
      Specified by:
      getFunction in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getFunctions

      public Set<org.bukkit.NamespacedKey> getFunctions()
      Specified by:
      getFunctions in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getTag

      public dev.jorel.commandapi.wrappers.SimpleFunctionWrapper[] getTag(org.bukkit.NamespacedKey key)
      Specified by:
      getTag in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getTags

      public Set<org.bukkit.NamespacedKey> getTags()
      Specified by:
      getTags in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentAngle

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentAngle()
      Specified by:
      _ArgumentAngle in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentAxis

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentAxis()
      Specified by:
      _ArgumentAxis in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentChatFormat

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentChatFormat()
      Specified by:
      _ArgumentChatFormat in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentDimension

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentDimension()
      Specified by:
      _ArgumentDimension in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentEnchantment

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentEnchantment()
      Specified by:
      _ArgumentEnchantment in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentEntitySummon

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentEntitySummon()
      Specified by:
      _ArgumentEntitySummon in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentFloatRange

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentFloatRange()
      Specified by:
      _ArgumentFloatRange in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentIntRange

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentIntRange()
      Specified by:
      _ArgumentIntRange in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentMathOperation

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentMathOperation()
      Specified by:
      _ArgumentMathOperation in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentNBTCompound

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentNBTCompound()
      Specified by:
      _ArgumentNBTCompound in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentParticle

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentParticle()
      Specified by:
      _ArgumentParticle in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentRotation

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentRotation()
      Specified by:
      _ArgumentRotation in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentScoreboardCriteria

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardCriteria()
      Specified by:
      _ArgumentScoreboardCriteria in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentScoreboardObjective

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardObjective()
      Specified by:
      _ArgumentScoreboardObjective in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentScoreboardSlot

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardSlot()
      Specified by:
      _ArgumentScoreboardSlot in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentScoreboardTeam

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardTeam()
      Specified by:
      _ArgumentScoreboardTeam in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentScoreholder

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreholder(boolean single)
      Specified by:
      _ArgumentScoreholder in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentTag

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentTag()
      Specified by:
      _ArgumentTag in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentTime

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentTime()
      Specified by:
      _ArgumentTime in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • _ArgumentUUID

      public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentUUID()
      Specified by:
      _ArgumentUUID in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • convert

      public String convert(org.bukkit.potion.PotionEffectType potion)
      Specified by:
      convert in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • convert

      public String convert(org.bukkit.Sound sound)
      Specified by:
      convert in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getAngle

      public float getAngle(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
      Specified by:
      getAngle in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getAxis

      public EnumSet<org.bukkit.Axis> getAxis(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
      Specified by:
      getAxis in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getChat

      public net.md_5.bungee.api.chat.BaseComponent[] getChat(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      getChat in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getChatComponent

      public net.md_5.bungee.api.chat.BaseComponent[] getChatComponent(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
      Specified by:
      getChatComponent in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getDimension

      public org.bukkit.World.Environment getDimension(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      getDimension in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getFloatRange

      public dev.jorel.commandapi.wrappers.FloatRange getFloatRange(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
      Specified by:
      getFloatRange in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getIntRange

      public dev.jorel.commandapi.wrappers.IntegerRange getIntRange(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
      Specified by:
      getIntRange in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getMathOperation

      public dev.jorel.commandapi.wrappers.MathOperation getMathOperation(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      getMathOperation in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getMinecraftKey

      public org.bukkit.NamespacedKey getMinecraftKey(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
      Specified by:
      getMinecraftKey in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getOfflinePlayer

      public org.bukkit.OfflinePlayer getOfflinePlayer(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      getOfflinePlayer in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getRotation

      public dev.jorel.commandapi.wrappers.Rotation getRotation(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
      Specified by:
      getRotation in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getScoreboardSlot

      public dev.jorel.commandapi.wrappers.ScoreboardSlot getScoreboardSlot(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
      Specified by:
      getScoreboardSlot in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getScoreHolderMultiple

      public Collection<String> getScoreHolderMultiple(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      getScoreHolderMultiple in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getScoreHolderSingle

      public String getScoreHolderSingle(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      getScoreHolderSingle in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getTime

      public int getTime(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
      Specified by:
      getTime in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
    • getUUID

      public UUID getUUID(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key)
      Specified by:
      getUUID in interface dev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>