Commit graph

8 commits

Author SHA1 Message Date
Jason Penilla
8667acbf07 Improve MojangAPI docs and replace @Deprecated with @ApiStatus.Experimental on draft APIs (#8261) 2022-08-07 13:47:43 -07:00
Jason Penilla
b9991242f3 Allow old behavior for CommandRegisteredEvent (#8249) 2022-08-06 16:22:51 -07:00
Frank van der Heijden
b8f6b49552 Suppress deprecation registration warnings for brigadier events (#6297) 2021-07-31 07:59:22 +02:00
Finn Künstner
bf8f91cf09 [ci skip] Fix various compile warnings (#6264) 2021-07-30 01:04:26 +02:00
Jason Penilla
1da2f0afbc Implement methods to convert between Component and Brigadier's Message (#5542) 2021-04-24 15:16:41 -07:00
Aikar
3ff811a50a Rename to AsyncPlayerSendSuggestionsEvent to be consistent in naming
It was still technically read correctly in what it was doing, but
all our Player events begin with Player.

Nothing uses this event yet so safe to rename.

If you are some rapid adopter of this event, sorry :P
2020-05-02 15:25:55 -04:00
Aikar
adc83a5b5c AsyncSendPlayerSuggestionsEvent Brigadier Event
Going to be used for ACF to be able to send Tooltips to client :)

This is after completions are calculated, to control what is sent to the client.
2020-05-02 14:17:17 -04:00
Aikar
0c2014644b 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:37:37 -04:00