Commit Graph

5 Commits

Author SHA1 Message Date
Jason 0118c0bd79
Improve MojangAPI docs and replace @Deprecated with @ApiStatus.Experimental on draft APIs (#8261) 2022-08-07 13:47:43 -07:00
Jason a15152e96a
Allow old behavior for CommandRegisteredEvent (#8249) 2022-08-06 16:22:51 -07:00
Frank van der Heijden 0aa3cc7228
Suppress deprecation registration warnings for brigadier events (#6297) 2021-07-31 07:59:22 +02:00
Finn Künstner e4ecf6ce87
[ci skip] Fix various compile warnings (#6264) 2021-07-29 23:04:26 +00:00
Aikar fdf41b742d
Implement Brigadier Mojang API
This is the start of a new module for Paper to add support for API's
that interface Mojang API's directly.

This allows us to version properly by MC version incase Mojang makes any major breaking changes.

It also lets us separate Mojang API's from Paper-API so our downstream friends at Glowstone
will not have to worry about Mojang code.

Adds AsyncPlayerSendCommandsEvent
  - Allows modifying on a per command basis what command data they see.

Adds CommandRegisteredEvent
  - Allows manipulating the CommandNode to add more children/metadata for the client
2020-04-27 01:42:12 -04:00