Package dev.jorel.commandapi.nms
Class NMS_1_18_R2
java.lang.Object
dev.jorel.commandapi.nms.NMS_Common<net.minecraft.commands.CommandSourceStack>
dev.jorel.commandapi.nms.NMS_1_18_R2
- All Implemented Interfaces:
NMS<net.minecraft.commands.CommandSourceStack>
NMS implementation for Minecraft 1.18.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.ArgumentType<?>com.mojang.brigadier.arguments.ArgumentType<?>com.mojang.brigadier.arguments.ArgumentType<?>_ArgumentEntity(EntitySelector selector) com.mojang.brigadier.arguments.ArgumentType<?>com.mojang.brigadier.arguments.ArgumentType<?>com.mojang.brigadier.arguments.ArgumentType<?>voidaddToHelpMap(Map<String, org.bukkit.help.HelpTopic> helpTopicsToAdd) String[]convert(ParticleData<?> particle) convert(org.bukkit.inventory.ItemStack is) voidcreateDispatcherFile(File file, com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) org.bukkit.help.HelpTopicgenerateHelpTopic(String commandName, String shortDescription, String fullDescription, String permission) net.kyori.adventure.text.ComponentgetAdventureChat(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) net.kyori.adventure.text.ComponentgetAdventureChatComponent(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) org.bukkit.block.BiomegetBiome(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) Predicate<org.bukkit.block.Block>getBlockPredicate(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) org.bukkit.block.data.BlockDatagetBlockState(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack>org.bukkit.ChatColorgetChatColor(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) net.minecraft.commands.CommandSourceStackgetCLWFromCommandSender(org.bukkit.command.CommandSender sender) org.bukkit.command.CommandSendergetCommandSenderFromCSS(net.minecraft.commands.CommandSourceStack css) org.bukkit.enchantments.EnchantmentgetEnchantment(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) getEntitySelector(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str, EntitySelector selector) org.bukkit.entity.EntityTypegetEntityType(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) getFunction(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) getFunction(org.bukkit.NamespacedKey key) Set<org.bukkit.NamespacedKey>org.bukkit.inventory.ItemStackgetItemStack(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) Predicate<org.bukkit.inventory.ItemStack>getItemStackPredicate(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) getLocation2DBlock(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) getLocation2DPrecise(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) org.bukkit.LocationgetLocationBlock(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) org.bukkit.LocationgetLocationPrecise(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) org.bukkit.loot.LootTablegetLootTable(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) getObjective(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) getObjectiveCriteria(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) ParticleData<?>getParticle(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) org.bukkit.potion.PotionEffectTypegetPotionEffect(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) org.bukkit.inventory.ComplexRecipegetRecipe(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) org.bukkit.command.CommandSendergetSenderForCommand(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, boolean isNative) org.bukkit.command.SimpleCommandMaporg.bukkit.SoundgetSound(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) com.mojang.brigadier.suggestion.SuggestionProvider<net.minecraft.commands.CommandSourceStack>getSuggestionProvider(SuggestionProviders provider) getTag(org.bukkit.NamespacedKey key) Set<org.bukkit.NamespacedKey>getTags()getTeam(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) org.bukkit.WorldgetWorldForCSS(net.minecraft.commands.CommandSourceStack css) booleanisVanillaCommandWrapper(org.bukkit.command.Command command) voidvoidresendPackets(org.bukkit.entity.Player player) Methods inherited from class dev.jorel.commandapi.nms.NMS_Common
_ArgumentAngle, _ArgumentAxis, _ArgumentChat, _ArgumentChatComponent, _ArgumentChatFormat, _ArgumentDimension, _ArgumentEnchantment, _ArgumentEntitySummon, _ArgumentFloatRange, _ArgumentIntRange, _ArgumentMathOperation, _ArgumentMinecraftKeyRegistered, _ArgumentMobEffect, _ArgumentNBTCompound, _ArgumentParticle, _ArgumentPosition, _ArgumentPosition2D, _ArgumentProfile, _ArgumentRotation, _ArgumentScoreboardCriteria, _ArgumentScoreboardObjective, _ArgumentScoreboardSlot, _ArgumentScoreboardTeam, _ArgumentScoreholder, _ArgumentTag, _ArgumentTime, _ArgumentUUID, _ArgumentVec2, _ArgumentVec3, convert, convert, getAdvancement, getAngle, getAxis, getChat, getChatComponent, getDimension, getFloatRange, getIntRange, getMathOperation, getMinecraftKey, getNBTCompound, getOfflinePlayer, getPlayer, getRotation, getScoreboardSlot, getScoreHolderMultiple, getScoreHolderSingle, getTime, getUUID
-
Constructor Details
-
NMS_1_18_R2
public NMS_1_18_R2()
-
-
Method Details
-
_ArgumentBlockPredicate
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentBlockPredicate()- Specified by:
_ArgumentBlockPredicatein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
_ArgumentBlockPredicatein classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
_ArgumentBlockState
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentBlockState()- Specified by:
_ArgumentBlockStatein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
_ArgumentBlockStatein classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
_ArgumentEntity
- Specified by:
_ArgumentEntityin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
_ArgumentEntityin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
_ArgumentItemPredicate
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentItemPredicate()- Specified by:
_ArgumentItemPredicatein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
_ArgumentItemPredicatein classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
_ArgumentItemStack
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentItemStack()- Specified by:
_ArgumentItemStackin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
_ArgumentItemStackin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
_ArgumentSyntheticBiome
public com.mojang.brigadier.arguments.ArgumentType<?> _ArgumentSyntheticBiome()- Specified by:
_ArgumentSyntheticBiomein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
_ArgumentSyntheticBiomein classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
addToHelpMap
- Specified by:
addToHelpMapin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
addToHelpMapin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
compatibleVersions
- Specified by:
compatibleVersionsin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
compatibleVersionsin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
convert
- Specified by:
convertin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
convertin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
convert
- Specified by:
convertin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
convertin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
createDispatcherFile
public void createDispatcherFile(File file, com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) throws IOException - Specified by:
createDispatcherFilein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
createDispatcherFilein classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
IOException
-
generateHelpTopic
public org.bukkit.help.HelpTopic generateHelpTopic(String commandName, String shortDescription, String fullDescription, String permission) - Specified by:
generateHelpTopicin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
generateHelpTopicin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getAdventureChat
public net.kyori.adventure.text.Component getAdventureChat(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getAdventureChatin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getAdventureChatin classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getAdventureChatComponent
public net.kyori.adventure.text.Component getAdventureChatComponent(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) - Specified by:
getAdventureChatComponentin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getAdventureChatComponentin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getBiome
public org.bukkit.block.Biome getBiome(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getBiomein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getBiomein classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getBlockPredicate
public Predicate<org.bukkit.block.Block> getBlockPredicate(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getBlockPredicatein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getBlockPredicatein classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getBlockState
public org.bukkit.block.data.BlockData getBlockState(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) - Specified by:
getBlockStatein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getBlockStatein classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getBrigadierDispatcher
public com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> getBrigadierDispatcher()- Specified by:
getBrigadierDispatcherin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getBrigadierDispatcherin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getChatColor
public org.bukkit.ChatColor getChatColor(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) - Specified by:
getChatColorin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getChatColorin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getCLWFromCommandSender
public net.minecraft.commands.CommandSourceStack getCLWFromCommandSender(org.bukkit.command.CommandSender sender) - Specified by:
getCLWFromCommandSenderin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getCLWFromCommandSenderin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getCommandSenderFromCSS
public org.bukkit.command.CommandSender getCommandSenderFromCSS(net.minecraft.commands.CommandSourceStack css) - Specified by:
getCommandSenderFromCSSin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getCommandSenderFromCSSin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getEnchantment
public org.bukkit.enchantments.Enchantment getEnchantment(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) - Specified by:
getEnchantmentin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getEnchantmentin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getEntitySelector
public Object getEntitySelector(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str, EntitySelector selector) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getEntitySelectorin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getEntitySelectorin classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getEntityType
public org.bukkit.entity.EntityType getEntityType(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getEntityTypein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getEntityTypein classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getFunction
public FunctionWrapper[] getFunction(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getFunctionin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getFunctionin classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getFunction
- Specified by:
getFunctionin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getFunctionin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getFunctions
- Specified by:
getFunctionsin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getFunctionsin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getItemStack
public org.bukkit.inventory.ItemStack getItemStack(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getItemStackin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getItemStackin classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getItemStackPredicate
public Predicate<org.bukkit.inventory.ItemStack> getItemStackPredicate(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getItemStackPredicatein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getItemStackPredicatein classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getLocation2DBlock
public Location2D getLocation2DBlock(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getLocation2DBlockin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getLocation2DBlockin classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getLocation2DPrecise
public Location2D getLocation2DPrecise(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getLocation2DPrecisein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getLocation2DPrecisein classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getLocationBlock
public org.bukkit.Location getLocationBlock(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getLocationBlockin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getLocationBlockin classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getLocationPrecise
public org.bukkit.Location getLocationPrecise(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getLocationPrecisein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getLocationPrecisein classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getLootTable
public org.bukkit.loot.LootTable getLootTable(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) - Specified by:
getLootTablein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getLootTablein classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getObjective
public String getObjective(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getObjectivein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getObjectivein classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getObjectiveCriteria
public String getObjectiveCriteria(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) - Specified by:
getObjectiveCriteriain interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getObjectiveCriteriain classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getParticle
public ParticleData<?> getParticle(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) - Specified by:
getParticlein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getParticlein classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getPotionEffect
public org.bukkit.potion.PotionEffectType getPotionEffect(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String str) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getPotionEffectin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getPotionEffectin classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getRecipe
public org.bukkit.inventory.ComplexRecipe getRecipe(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getRecipein interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getRecipein classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getSenderForCommand
public org.bukkit.command.CommandSender getSenderForCommand(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, boolean isNative) - Specified by:
getSenderForCommandin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getSenderForCommandin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getSimpleCommandMap
public org.bukkit.command.SimpleCommandMap getSimpleCommandMap()- Specified by:
getSimpleCommandMapin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getSimpleCommandMapin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getSound
public org.bukkit.Sound getSound(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) - Specified by:
getSoundin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getSoundin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getSuggestionProvider
public com.mojang.brigadier.suggestion.SuggestionProvider<net.minecraft.commands.CommandSourceStack> getSuggestionProvider(SuggestionProviders provider) - Specified by:
getSuggestionProviderin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getSuggestionProviderin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getTag
- Specified by:
getTagin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getTagin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getTags
- Specified by:
getTagsin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getTagsin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
getTeam
public String getTeam(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getTeamin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getTeamin classNMS_Common<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getWorldForCSS
public org.bukkit.World getWorldForCSS(net.minecraft.commands.CommandSourceStack css) - Specified by:
getWorldForCSSin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
getWorldForCSSin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
isVanillaCommandWrapper
public boolean isVanillaCommandWrapper(org.bukkit.command.Command command) - Specified by:
isVanillaCommandWrapperin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
isVanillaCommandWrapperin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
reloadDataPacks
public void reloadDataPacks()- Specified by:
reloadDataPacksin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
reloadDataPacksin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-
resendPackets
public void resendPackets(org.bukkit.entity.Player player) - Specified by:
resendPacketsin interfaceNMS<net.minecraft.commands.CommandSourceStack>- Specified by:
resendPacketsin classNMS_Common<net.minecraft.commands.CommandSourceStack>
-