Class BlankNMS
java.lang.Object
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.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<?>voidaddToHelpMap(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.HelpTopicgenerateHelpTopic(String commandName, String shortDescription, String fullDescription, String permission) floatgetAngle(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.EnvironmentgetDimension(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) dev.jorel.commandapi.wrappers.FloatRangegetFloatRange(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) dev.jorel.commandapi.wrappers.SimpleFunctionWrappergetFunction(org.bukkit.NamespacedKey key) Set<org.bukkit.NamespacedKey>dev.jorel.commandapi.wrappers.IntegerRangegetIntRange(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) dev.jorel.commandapi.wrappers.MathOperationgetMathOperation(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) org.bukkit.NamespacedKeygetMinecraftKey(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) org.bukkit.OfflinePlayergetOfflinePlayer(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) dev.jorel.commandapi.wrappers.RotationgetRotation(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandListenerWrapper> cmdCtx, String key) dev.jorel.commandapi.wrappers.ScoreboardSlotgetScoreboardSlot(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.SimpleCommandMapdev.jorel.commandapi.wrappers.SimpleFunctionWrapper[]getTag(org.bukkit.NamespacedKey key) Set<org.bukkit.NamespacedKey>getTags()intgetTime(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) booleanisVanillaCommandWrapper(org.bukkit.command.Command command) voidvoidresendPackets(org.bukkit.entity.Player player) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getSimpleCommandMapin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
addToHelpMap
- Specified by:
addToHelpMapin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
convert
- Specified by:
convertin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
convert
- Specified by:
convertin interfacedev.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:
generateHelpTopicin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
isVanillaCommandWrapper
public boolean isVanillaCommandWrapper(org.bukkit.command.Command command) - Specified by:
isVanillaCommandWrapperin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
reloadDataPacks
public void reloadDataPacks()- Specified by:
reloadDataPacksin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
resendPackets
public void resendPackets(org.bukkit.entity.Player player) - Specified by:
resendPacketsin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
getFunction
public dev.jorel.commandapi.wrappers.SimpleFunctionWrapper getFunction(org.bukkit.NamespacedKey key) - Specified by:
getFunctionin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
getFunctions
- Specified by:
getFunctionsin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
getTag
public dev.jorel.commandapi.wrappers.SimpleFunctionWrapper[] getTag(org.bukkit.NamespacedKey key) - Specified by:
getTagin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
getTags
- Specified by:
getTagsin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentAngle
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentAngle()- Specified by:
_ArgumentAnglein interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentAxis
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentAxis()- Specified by:
_ArgumentAxisin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentChatFormat
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentChatFormat()- Specified by:
_ArgumentChatFormatin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentDimension
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentDimension()- Specified by:
_ArgumentDimensionin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentEnchantment
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentEnchantment()- Specified by:
_ArgumentEnchantmentin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentEntitySummon
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentEntitySummon()- Specified by:
_ArgumentEntitySummonin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentFloatRange
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentFloatRange()- Specified by:
_ArgumentFloatRangein interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentIntRange
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentIntRange()- Specified by:
_ArgumentIntRangein interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentMathOperation
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentMathOperation()- Specified by:
_ArgumentMathOperationin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentNBTCompound
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentNBTCompound()- Specified by:
_ArgumentNBTCompoundin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentParticle
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentParticle()- Specified by:
_ArgumentParticlein interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentRotation
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentRotation()- Specified by:
_ArgumentRotationin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentScoreboardCriteria
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardCriteria()- Specified by:
_ArgumentScoreboardCriteriain interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentScoreboardObjective
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardObjective()- Specified by:
_ArgumentScoreboardObjectivein interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentScoreboardSlot
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardSlot()- Specified by:
_ArgumentScoreboardSlotin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentScoreboardTeam
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardTeam()- Specified by:
_ArgumentScoreboardTeamin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentScoreholder
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreholder(boolean single) - Specified by:
_ArgumentScoreholderin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentTag
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentTag()- Specified by:
_ArgumentTagin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentTime
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentTime()- Specified by:
_ArgumentTimein interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
_ArgumentUUID
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentUUID()- Specified by:
_ArgumentUUIDin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
convert
- Specified by:
convertin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-
convert
- Specified by:
convertin interfacedev.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:
getAnglein interfacedev.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:
getAxisin interfacedev.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:
getChatin interfacedev.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:
getChatComponentin interfacedev.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:
getDimensionin interfacedev.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:
getFloatRangein interfacedev.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:
getIntRangein interfacedev.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:
getMathOperationin interfacedev.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:
getMinecraftKeyin interfacedev.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:
getOfflinePlayerin interfacedev.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:
getRotationin interfacedev.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:
getScoreboardSlotin interfacedev.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:
getScoreHolderMultiplein interfacedev.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:
getScoreHolderSinglein interfacedev.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:
getTimein interfacedev.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:
getUUIDin interfacedev.jorel.commandapi.nms.NMS<net.minecraft.commands.CommandListenerWrapper>
-