BungeeCord/chat
Parker Hawke cfe00fa47c
#3490: Add ComponentBuilder#build() and ComponentSerializer#deserialize()
Components traditionally use the extra data to represent components as a single BaseComponent object. While BaseComponent typically mirrors this behaviour, somewhere along the development of BungeeChat this practice was made unclear. Because ComponentBuilder#create() returns an array of BaseComponents, it has sort of been silently accepted that all components should be represented as arrays, which is incorrect. This heavily influenced the direction of Spigot's component API (with additions such as CommandSender#sendMessage(BaseComponent[])) which emphasizes this misconception of "all components are arrays".

Adding new methods to ComponentBuilder and ComponentSerializer should steer use of the BungeeChat API to be more oriented towards single component instances, not arrays.
2023-09-19 07:14:18 +10:00
..
src #3490: Add ComponentBuilder#build() and ComponentSerializer#deserialize() 2023-09-19 07:14:18 +10:00
nb-configuration.xml Move chat API into own submodule. 2014-08-31 18:56:03 +10:00
pom.xml Minecraft 1.20.2-rc1 support 2023-09-17 08:10:42 +10:00