[API] CommandAPI [1.16.5-1.21.4] icon

[API] CommandAPI [1.16.5-1.21.4] -----

An API to use the command UI introduced in Minecraft 1.13



CommandAPI 9.0.0
⚠️ This version of the CommandAPI is incompatible with plugins that use CommandAPI 8.8.0 or previous!

New improvements from 8.8.0:
  • Made executor methods now use CommandArguments to allow for accessing arguments by name instead of index
  • Added optional arguments
  • Added new hook-paper-reload config option to toggle whether the CommandAPI hooks into /minecraft:reload
  • Reworked the implementation of ItemArgument, so the ItemStack count is correctly reflected and ItemMeta is properly assigned
  • Made the TeamArgument return a Team instead of a String
  • Made the ObjectiveArgument return a Objective instead of a String
  • Made the CommandAPI only complain about commands registered in a plugin.yml if this plugin.yml belongs to the plugin calling the CommandAPI
  • Added a way to access the raw command a player typed from the executor
  • Added a way to access more info to construct lists for the ListArgumentBuilder
  • Added support for sidebar team colors using an enum for ScoreboardSlot
  • Fixed commandapi-preprocessor appearing in the plugin and shaded jar file
  • Fixed .executesNative()'s CommandSender's getLocation() method returning the wrong pitch and yaw
  • Fixed tags showing up in the BiomeArgument when they shouldn't have been doing so
  • Fixed LocationArgument with BLOCK_POSITION not returning locations in unloaded chunks
  • Fixed IntegerRangeArgument and FloatRangeArgument not working on Minecraft 1.16.4 and 1.16.5
  • Fixed RecipeArgument not working on Minecraft 1.17
  • Fixed TeamArgument not working on Minecraft 1.17
  • Fixed AdventureChatArgument not working on Minecraft 1.17
  • Fixed commands with no executors not being caught by the CommandAPI
  • Fixed ParticleArgument producing "Invalid particle data type" warnings on Minecraft 1.16.5 and below
  • Fixed FunctionArgument not working on Minecraft 1.17.x and 1.18.x
  • Fixed NamespacedKeyArgument not working on Minecraft 1.18
  • Fixed the FunctionArgument not correctly retrieving datapack (function) tags in 1.17+
  • Removed some redundant vibration particle handling code that would never be run under any circumstances
----------, Apr 22, 2023
Resource Information
Author:
----------
Total Downloads: 34,802
First Release: Nov 12, 2018
Last Update: Dec 4, 2024
Category: ---------------
All-Time Rating:
32 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings