Package dev.jorel.commandapi.nms
Class NMS_1_16_R2
java.lang.Object
dev.jorel.commandapi.CommandAPIBukkit<net.minecraft.server.v1_16_R2.CommandListenerWrapper>
dev.jorel.commandapi.nms.NMS_1_16_R2
- All Implemented Interfaces:
CommandAPIPlatform<Argument<?>,,org.bukkit.command.CommandSender, net.minecraft.server.v1_16_R2.CommandListenerWrapper> NMS<net.minecraft.server.v1_16_R2.CommandListenerWrapper>
public class NMS_1_16_R2
extends CommandAPIBukkit<net.minecraft.server.v1_16_R2.CommandListenerWrapper>
NMS implementation for Minecraft 1.16.2 and 1.16.3
-
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<?> _ArgumentEntity(ArgumentSubType subType) 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<?> com.mojang.brigadier.arguments.ArgumentType<?> final com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreholder(ArgumentSubType subType) 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<?> _ArgumentVec2(boolean centerPosition) com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentVec3(boolean centerPosition) String[]convert(ParticleData<?> particle) convert(org.bukkit.inventory.ItemStack is) convert(org.bukkit.potion.PotionEffectType potion) convert(org.bukkit.Sound sound) voidcreateDispatcherFile(File file, com.mojang.brigadier.CommandDispatcher<net.minecraft.server.v1_16_R2.CommandListenerWrapper> dispatcher) org.bukkit.help.HelpTopicgenerateHelpTopic(String commandName, String shortDescription, String fullDescription, String permission) com.mojang.brigadier.Messageorg.bukkit.advancement.AdvancementgetAdvancement(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) net.kyori.adventure.text.ComponentgetAdventureChat(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) net.kyori.adventure.text.format.NamedTextColorgetAdventureChatColor(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) net.kyori.adventure.text.ComponentgetAdventureChatComponent(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) floatgetAngle(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) EnumSet<org.bukkit.Axis> getAxis(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getBiome(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key, ArgumentSubType subType) Predicate<org.bukkit.block.Block> getBlockPredicate(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.block.data.BlockDatagetBlockState(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) com.mojang.brigadier.CommandDispatcher<net.minecraft.server.v1_16_R2.CommandListenerWrapper> net.minecraft.server.v1_16_R2.CommandListenerWrappergetBrigadierSourceFromCommandSender(AbstractCommandSender<? extends org.bukkit.command.CommandSender> senderWrapper) net.md_5.bungee.api.chat.BaseComponent[]getChat(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.ChatColorgetChatColor(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) net.md_5.bungee.api.chat.BaseComponent[]getChatComponent(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) BukkitCommandSender<? extends org.bukkit.command.CommandSender> getCommandSenderFromCommandSource(net.minecraft.server.v1_16_R2.CommandListenerWrapper clw) org.bukkit.WorldgetDimension(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.enchantments.EnchantmentgetEnchantment(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getEntitySelector(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String str, ArgumentSubType subType, boolean allowEmpty) org.bukkit.entity.EntityTypegetEntityType(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getFloatRange(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getFunction(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getFunction(org.bukkit.NamespacedKey key) Set<org.bukkit.NamespacedKey> getIntRange(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.inventory.ItemStackgetItemStack(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) Predicate<org.bukkit.inventory.ItemStack> getItemStackPredicate(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getLocation2DBlock(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getLocation2DPrecise(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.LocationgetLocationBlock(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.LocationgetLocationPrecise(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.loot.LootTablegetLootTable(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getMathOperation(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.NamespacedKeygetMinecraftKey(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) <T> T<NBTContainer>
ObjectgetNBTCompound(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key, Function<Object, NBTContainer> nbtContainerConstructor) org.bukkit.scoreboard.ObjectivegetObjective(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getObjectiveCriteria(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.OfflinePlayergetOfflinePlayer(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) ParticleData<?> getParticle(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.entity.PlayergetPlayer(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getPotionEffect(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key, ArgumentSubType subType) org.bukkit.inventory.ComplexRecipegetRecipe(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) com.mojang.brigadier.CommandDispatcher<net.minecraft.server.v1_16_R2.CommandListenerWrapper> getRotation(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getScoreboardSlot(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getScoreHolderMultiple(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getScoreHolderSingle(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) BukkitCommandSender<? extends org.bukkit.command.CommandSender> getSenderForCommand(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, boolean isNative) org.bukkit.command.SimpleCommandMapfinal ObjectgetSound(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key, ArgumentSubType subType) com.mojang.brigadier.suggestion.SuggestionProvider<net.minecraft.server.v1_16_R2.CommandListenerWrapper> getSuggestionProvider(SuggestionProviders provider) getTag(org.bukkit.NamespacedKey key) Set<org.bukkit.NamespacedKey> getTags()org.bukkit.scoreboard.TeamgetTeam(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) intgetTime(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) getUUID(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) org.bukkit.WorldgetWorldForCSS(net.minecraft.server.v1_16_R2.CommandListenerWrapper clw) booleanisBukkitCommandWrapper(com.mojang.brigadier.tree.CommandNode<net.minecraft.server.v1_16_R2.CommandListenerWrapper> node) booleanisVanillaCommandWrapper(org.bukkit.command.Command command) voidorg.bukkit.command.CommandwrapToVanillaCommandWrapper(com.mojang.brigadier.tree.CommandNode<net.minecraft.server.v1_16_R2.CommandListenerWrapper> node) Methods inherited from class dev.jorel.commandapi.CommandAPIBukkit
failWithAdventureComponent, failWithBaseComponents, get, getConfiguration, getLogger, getPaper, initializeNBTAPI, newConcreteCommandAPICommand, newConcreteLiteralArgument, newConcreteMultiLiteralArgument, onDisable, onEnable, onLoad, postCommandRegistration, preCommandRegistration, registerBukkitRecipesSafely, registerCommandNode, registerPermission, unregister, unregister, updateRequirements, wrapCommandSender
-
Constructor Details
-
NMS_1_16_R2
public NMS_1_16_R2()
-
-
Method Details
-
_ArgumentAngle
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentAngle() -
_ArgumentAxis
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentAxis() -
_ArgumentBlockPredicate
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentBlockPredicate() -
_ArgumentBlockState
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentBlockState() -
_ArgumentChat
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentChat() -
_ArgumentChatComponent
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentChatComponent() -
_ArgumentChatFormat
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentChatFormat() -
_ArgumentDimension
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentDimension() -
_ArgumentEnchantment
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentEnchantment() -
_ArgumentEntity
-
_ArgumentEntitySummon
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentEntitySummon() -
_ArgumentFloatRange
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentFloatRange() -
_ArgumentIntRange
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentIntRange() -
_ArgumentItemPredicate
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentItemPredicate() -
_ArgumentItemStack
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentItemStack() -
_ArgumentMathOperation
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentMathOperation() -
_ArgumentMinecraftKeyRegistered
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentMinecraftKeyRegistered() -
_ArgumentMobEffect
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentMobEffect() -
_ArgumentNBTCompound
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentNBTCompound() -
_ArgumentParticle
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentParticle() -
_ArgumentPosition
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentPosition() -
_ArgumentPosition2D
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentPosition2D() -
_ArgumentProfile
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentProfile() -
_ArgumentRotation
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentRotation() -
_ArgumentScoreboardCriteria
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardCriteria() -
_ArgumentScoreboardObjective
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardObjective() -
_ArgumentScoreboardSlot
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardSlot() -
_ArgumentScoreboardTeam
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreboardTeam() -
_ArgumentScoreholder
public final com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentScoreholder(ArgumentSubType subType) -
_ArgumentSyntheticBiome
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentSyntheticBiome() -
_ArgumentTag
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentTag() -
_ArgumentTime
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentTime() -
_ArgumentUUID
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentUUID() -
_ArgumentVec2
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentVec2(boolean centerPosition) -
_ArgumentVec3
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentVec3(boolean centerPosition) -
getHelpMap
-
compatibleVersions
-
convert
-
convert
-
convert
-
convert
-
createDispatcherFile
public void createDispatcherFile(File file, com.mojang.brigadier.CommandDispatcher<net.minecraft.server.v1_16_R2.CommandListenerWrapper> dispatcher) throws IOException - Specified by:
createDispatcherFilein interfaceCommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender, net.minecraft.server.v1_16_R2.CommandListenerWrapper> - Specified by:
createDispatcherFilein classCommandAPIBukkit<net.minecraft.server.v1_16_R2.CommandListenerWrapper>- Throws:
IOException
-
generateHelpTopic
-
getAdvancement
public org.bukkit.advancement.Advancement getAdvancement(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getAdventureChat
public net.kyori.adventure.text.Component getAdventureChat(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getAdventureChatColor
public net.kyori.adventure.text.format.NamedTextColor getAdventureChatColor(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getAdventureChatComponent
public net.kyori.adventure.text.Component getAdventureChatComponent(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getAngle
public float getAngle(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getAxis
-
getBiome
public Object getBiome(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key, ArgumentSubType subType) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getBlockPredicate
public Predicate<org.bukkit.block.Block> getBlockPredicate(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getBlockState
public org.bukkit.block.data.BlockData getBlockState(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getBrigadierDispatcher
public com.mojang.brigadier.CommandDispatcher<net.minecraft.server.v1_16_R2.CommandListenerWrapper> getBrigadierDispatcher()- Specified by:
getBrigadierDispatcherin interfaceCommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender, net.minecraft.server.v1_16_R2.CommandListenerWrapper> - Specified by:
getBrigadierDispatcherin interfaceNMS<net.minecraft.server.v1_16_R2.CommandListenerWrapper>- Specified by:
getBrigadierDispatcherin classCommandAPIBukkit<net.minecraft.server.v1_16_R2.CommandListenerWrapper>
-
getResourcesDispatcher
public com.mojang.brigadier.CommandDispatcher<net.minecraft.server.v1_16_R2.CommandListenerWrapper> getResourcesDispatcher() -
getChat
public net.md_5.bungee.api.chat.BaseComponent[] getChat(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getChatColor
public org.bukkit.ChatColor getChatColor(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getChatComponent
public net.md_5.bungee.api.chat.BaseComponent[] getChatComponent(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getBrigadierSourceFromCommandSender
public net.minecraft.server.v1_16_R2.CommandListenerWrapper getBrigadierSourceFromCommandSender(AbstractCommandSender<? extends org.bukkit.command.CommandSender> senderWrapper) - Specified by:
getBrigadierSourceFromCommandSenderin interfaceCommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender, net.minecraft.server.v1_16_R2.CommandListenerWrapper> - Specified by:
getBrigadierSourceFromCommandSenderin classCommandAPIBukkit<net.minecraft.server.v1_16_R2.CommandListenerWrapper>
-
getCommandSenderFromCommandSource
public BukkitCommandSender<? extends org.bukkit.command.CommandSender> getCommandSenderFromCommandSource(net.minecraft.server.v1_16_R2.CommandListenerWrapper clw) - Specified by:
getCommandSenderFromCommandSourcein interfaceCommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender, net.minecraft.server.v1_16_R2.CommandListenerWrapper> - Specified by:
getCommandSenderFromCommandSourcein classCommandAPIBukkit<net.minecraft.server.v1_16_R2.CommandListenerWrapper>
-
getDimension
public org.bukkit.World getDimension(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getEnchantment
public org.bukkit.enchantments.Enchantment getEnchantment(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getEntitySelector
public Object getEntitySelector(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String str, ArgumentSubType subType, boolean allowEmpty) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getEntityType
public org.bukkit.entity.EntityType getEntityType(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getFloatRange
public FloatRange getFloatRange(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getFunction
public FunctionWrapper[] getFunction(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getFunction
-
getFunctions
-
getIntRange
public IntegerRange getIntRange(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getItemStack
public org.bukkit.inventory.ItemStack getItemStack(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getItemStackPredicate
public Predicate<org.bukkit.inventory.ItemStack> getItemStackPredicate(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getLocation2DBlock
public Location2D getLocation2DBlock(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getLocation2DPrecise
public Location2D getLocation2DPrecise(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getLocationBlock
public org.bukkit.Location getLocationBlock(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getLocationPrecise
public org.bukkit.Location getLocationPrecise(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getLootTable
public org.bukkit.loot.LootTable getLootTable(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getMathOperation
public MathOperation getMathOperation(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getMinecraftKey
public org.bukkit.NamespacedKey getMinecraftKey(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getNBTCompound
-
getObjective
public org.bukkit.scoreboard.Objective getObjective(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws IllegalArgumentException, com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
IllegalArgumentExceptioncom.mojang.brigadier.exceptions.CommandSyntaxException
-
getObjectiveCriteria
-
getOfflinePlayer
public org.bukkit.OfflinePlayer getOfflinePlayer(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getParticle
public ParticleData<?> getParticle(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getPlayer
public org.bukkit.entity.Player getPlayer(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getPotionEffect
public Object getPotionEffect(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key, ArgumentSubType subType) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getRecipe
public org.bukkit.inventory.ComplexRecipe getRecipe(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getRotation
-
getScoreboardSlot
public ScoreboardSlot getScoreboardSlot(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getScoreHolderMultiple
public Collection<String> getScoreHolderMultiple(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getScoreHolderSingle
-
getSenderForCommand
public BukkitCommandSender<? extends org.bukkit.command.CommandSender> getSenderForCommand(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, boolean isNative) - Specified by:
getSenderForCommandin interfaceCommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender, net.minecraft.server.v1_16_R2.CommandListenerWrapper> - Specified by:
getSenderForCommandin classCommandAPIBukkit<net.minecraft.server.v1_16_R2.CommandListenerWrapper>
-
getSimpleCommandMap
public org.bukkit.command.SimpleCommandMap getSimpleCommandMap() -
getSound
public final Object getSound(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key, ArgumentSubType subType) -
getSuggestionProvider
public com.mojang.brigadier.suggestion.SuggestionProvider<net.minecraft.server.v1_16_R2.CommandListenerWrapper> getSuggestionProvider(SuggestionProviders provider) - Specified by:
getSuggestionProviderin interfaceCommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender, net.minecraft.server.v1_16_R2.CommandListenerWrapper> - Specified by:
getSuggestionProviderin interfaceNMS<net.minecraft.server.v1_16_R2.CommandListenerWrapper>- Specified by:
getSuggestionProviderin classCommandAPIBukkit<net.minecraft.server.v1_16_R2.CommandListenerWrapper>
-
getTag
-
getTags
-
getTeam
public org.bukkit.scoreboard.Team getTeam(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getTime
public int getTime(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R2.CommandListenerWrapper> cmdCtx, String key) -
getUUID
-
getWorldForCSS
public org.bukkit.World getWorldForCSS(net.minecraft.server.v1_16_R2.CommandListenerWrapper clw) -
isVanillaCommandWrapper
public boolean isVanillaCommandWrapper(org.bukkit.command.Command command) -
wrapToVanillaCommandWrapper
public org.bukkit.command.Command wrapToVanillaCommandWrapper(com.mojang.brigadier.tree.CommandNode<net.minecraft.server.v1_16_R2.CommandListenerWrapper> node) -
isBukkitCommandWrapper
public boolean isBukkitCommandWrapper(com.mojang.brigadier.tree.CommandNode<net.minecraft.server.v1_16_R2.CommandListenerWrapper> node) -
reloadDataPacks
public void reloadDataPacks()- Specified by:
reloadDataPacksin interfaceCommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender, net.minecraft.server.v1_16_R2.CommandListenerWrapper> - Specified by:
reloadDataPacksin interfaceNMS<net.minecraft.server.v1_16_R2.CommandListenerWrapper>- Specified by:
reloadDataPacksin classCommandAPIBukkit<net.minecraft.server.v1_16_R2.CommandListenerWrapper>
-
generateMessageFromJson
-
getMinecraftServer
public <T> T getMinecraftServer()- Specified by:
getMinecraftServerin classCommandAPIBukkit<net.minecraft.server.v1_16_R2.CommandListenerWrapper>
-