CommandAPI Version 1.3
Major improvements since 1.2:
Actual code
- Migrated to Maven for building
- Improved performance of command generation slightly by reducing amount of reflective calls
New features
- Adds EntitySelectors to allow you to select a range of entities in your commands, for example
/mycommand @e[type=pig,limit=1]
- Adds
ProxiedCommandSender
support to support change of command sender. For example/execute as @e[type=pig,limit=1] run mycommand
will now return aProxiedCommandSender
instead of a regularCommandSender
- Adds support for literal arguments, which are arguments which do NOT change. For example, with the
/gamemode
command,creative
,survival
,adventure
andspectator
are all literals