Class NMS_CommonWithFunctions

java.lang.Object
dev.jorel.commandapi.CommandAPIBukkit<net.minecraft.commands.CommandSourceStack>
dev.jorel.commandapi.nms.NMS_Common
dev.jorel.commandapi.nms.NMS_CommonWithFunctions
All Implemented Interfaces:
CommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender,net.minecraft.commands.CommandSourceStack>, NMS<net.minecraft.commands.CommandSourceStack>

public abstract class NMS_CommonWithFunctions extends NMS_Common
Common NMS code To ensure that this code actually works across all versions of Minecraft that this is supposed to support (1.17+), you should be compiling this code against all of the declared Maven profiles specified in this submodule's pom.xml file, by running the following commands:
  • mvn clean package -pl :commandapi-bukkit-nms-common -P Platform.Bukkit,Spigot_1_19_3_R2
  • mvn clean package -pl :commandapi-bukkit-nms-common -P Platform.Bukkit,Spigot_1_19_R1
  • mvn clean package -pl :commandapi-bukkit-nms-common -P Platform.Bukkit,Spigot_1_18_2_R2
  • mvn clean package -pl :commandapi-bukkit-nms-common -P Platform.Bukkit,Spigot_1_18_R1
  • mvn clean package -pl :commandapi-bukkit-nms-common -P Platform.Bukkit,Spigot_1_17_R1
Any of these that do not work should be removed or implemented otherwise (introducing another NMS_Common module perhaps?