Skip to content
Success

Changes

Summary

  1. #2363: Chat Component API Improvements (commit: 7653a5f) (details)
Commit 7653a5f0f8a19dc4e50175b480cd063c523c3b6b by md_5
#2363: Chat Component API Improvements
- duplicateWithoutFormatting deprecated and now works to include extra.
Less maintenance required for any component implementations.
- Improved copyFormatting API to allow for retention copying.
- API to append a single BaseComponent in a ComponentBuilder, previously
had to wrap a component in its own array to do this.
- BaseComponent retain API that functions the same as from
ComponentBuilder.
(commit: 7653a5f)
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/TranslatableComponent.java (diff)
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/ComponentBuilder.java (diff)
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/BaseComponent.java (diff)
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/KeybindComponent.java (diff)
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/ScoreComponent.java (diff)
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/SelectorComponent.java (diff)
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/TextComponent.java (diff)
The file was modifiedchat/src/main/java/net/md_5/bungee/chat/ComponentSerializer.java (diff)
The file was modifiedchat/src/test/java/net/md_5/bungee/api/chat/ComponentsTest.java (diff)