Package dev.jorel.commandapi.nms
Class NMS_1_16_R3
java.lang.Object
dev.jorel.commandapi.CommandAPIBukkit<net.minecraft.server.v1_16_R3.CommandListenerWrapper>
dev.jorel.commandapi.nms.NMS_1_16_4_R3
dev.jorel.commandapi.nms.NMS_1_16_R3
- All Implemented Interfaces:
CommandAPIPlatform<Argument<?>,,org.bukkit.command.CommandSender, net.minecraft.server.v1_16_R3.CommandListenerWrapper> NMS<net.minecraft.server.v1_16_R3.CommandListenerWrapper>
NMS implementation for Minecraft 1.16.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]protected org.bukkit.NamespacedKeyfromMinecraftKey(net.minecraft.server.v1_16_R3.MinecraftKey key) final net.kyori.adventure.text.ComponentgetAdventureChat(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R3.CommandListenerWrapper> cmdCtx, String key) final net.kyori.adventure.text.format.NamedTextColorgetAdventureChatColor(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R3.CommandListenerWrapper> cmdCtx, String key) final net.kyori.adventure.text.ComponentgetAdventureChatComponent(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R3.CommandListenerWrapper> cmdCtx, String key) Methods inherited from class dev.jorel.commandapi.nms.NMS_1_16_4_R3
_ArgumentAngle, _ArgumentAxis, _ArgumentBlockPredicate, _ArgumentBlockState, _ArgumentChat, _ArgumentChatComponent, _ArgumentChatFormat, _ArgumentDimension, _ArgumentEnchantment, _ArgumentEntity, _ArgumentEntitySummon, _ArgumentFloatRange, _ArgumentIntRange, _ArgumentItemPredicate, _ArgumentItemStack, _ArgumentMathOperation, _ArgumentMinecraftKeyRegistered, _ArgumentMobEffect, _ArgumentNBTCompound, _ArgumentParticle, _ArgumentPosition, _ArgumentPosition2D, _ArgumentProfile, _ArgumentRotation, _ArgumentScoreboardCriteria, _ArgumentScoreboardObjective, _ArgumentScoreboardSlot, _ArgumentScoreboardTeam, _ArgumentScoreholder, _ArgumentSyntheticBiome, _ArgumentTag, _ArgumentTime, _ArgumentUUID, _ArgumentVec2, _ArgumentVec3, convert, convert, convert, convert, createDispatcherFile, generateHelpTopic, generateMessageFromJson, getAdvancement, getAngle, getAxis, getBiome, getBlockPredicate, getBlockState, getBrigadierDispatcher, getBrigadierSourceFromCommandSender, getChat, getChatColor, getChatComponent, getCommandSenderFromCommandSource, getDimension, getEnchantment, getEntitySelector, getEntityType, getFloatRange, getFunction, getFunction, getFunctions, getHelpMap, getIntRange, getItemStack, getItemStackPredicate, getLocation2DBlock, getLocation2DPrecise, getLocationBlock, getLocationPrecise, getLootTable, getMathOperation, getMinecraftKey, getMinecraftServer, getNBTCompound, getObjective, getObjectiveCriteria, getOfflinePlayer, getParticle, getPlayer, getPotionEffect, getRecipe, getResourcesDispatcher, getRotation, getScoreboardSlot, getScoreHolderMultiple, getScoreHolderSingle, getSenderForCommand, getSimpleCommandMap, getSound, getSuggestionProvider, getTag, getTags, getTeam, getTime, getUUID, getWorldForCSS, isBukkitCommandWrapper, isVanillaCommandWrapper, reloadDataPacks, wrapToVanillaCommandWrapperMethods inherited from class dev.jorel.commandapi.CommandAPIBukkit
failWithAdventureComponent, failWithBaseComponents, get, getConfiguration, getLogger, getPaper, newConcreteCommandAPICommand, newConcreteLiteralArgument, newConcreteMultiLiteralArgument, onDisable, onEnable, onLoad, postCommandRegistration, preCommandRegistration, registerBukkitRecipesSafely, registerCommandNode, registerPermission, unregister, unregister, updateRequirements, wrapCommandSender
-
Constructor Details
-
NMS_1_16_R3
public NMS_1_16_R3()
-
-
Method Details
-
fromMinecraftKey
protected org.bukkit.NamespacedKey fromMinecraftKey(net.minecraft.server.v1_16_R3.MinecraftKey key) - Overrides:
fromMinecraftKeyin classNMS_1_16_4_R3
-
compatibleVersions
- Specified by:
compatibleVersionsin interfaceNMS<net.minecraft.server.v1_16_R3.CommandListenerWrapper>- Overrides:
compatibleVersionsin classNMS_1_16_4_R3
-
getAdventureChat
public final net.kyori.adventure.text.Component getAdventureChat(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R3.CommandListenerWrapper> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getAdventureChatin interfaceNMS<net.minecraft.server.v1_16_R3.CommandListenerWrapper>- Overrides:
getAdventureChatin classNMS_1_16_4_R3- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getAdventureChatColor
public final net.kyori.adventure.text.format.NamedTextColor getAdventureChatColor(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R3.CommandListenerWrapper> cmdCtx, String key) - Specified by:
getAdventureChatColorin interfaceNMS<net.minecraft.server.v1_16_R3.CommandListenerWrapper>- Overrides:
getAdventureChatColorin classNMS_1_16_4_R3
-
getAdventureChatComponent
public final net.kyori.adventure.text.Component getAdventureChatComponent(com.mojang.brigadier.context.CommandContext<net.minecraft.server.v1_16_R3.CommandListenerWrapper> cmdCtx, String key) - Specified by:
getAdventureChatComponentin interfaceNMS<net.minecraft.server.v1_16_R3.CommandListenerWrapper>- Overrides:
getAdventureChatComponentin classNMS_1_16_4_R3
-