Commit Graph

25 Commits

Author SHA1 Message Date
TheMode fc90fe8852 Remove some `Collections` usage
Signed-off-by: TheMode <themode@outlook.fr>
2022-09-06 15:08:36 +02:00
GreatWyrm af9dcf258a Move convenience method to PackeetGroupingAudience 2022-08-02 06:23:20 -04:00
TheMode 7d930ee28d Replace PlayerConnection#sendPacket when possible
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 10:07:55 +02:00
themode 6ecf486b9d Remove guava dependency 2022-01-27 05:15:51 +01:00
TheMode 05de99f45f immutable packets (record) (#528) 2022-01-10 16:51:21 +01:00
TheMode 0f2ad33e52 Use java 17 `toList()`
Signed-off-by: TheMode <themode@outlook.fr>
2021-11-23 20:27:25 +01:00
TheMode f069a378ba Unused imports
Signed-off-by: TheMode <themode@outlook.fr>
2021-11-07 16:03:57 +01:00
Kezz 429db5b2bf
chore: Update Adventure to 4.9.3 and remove some deprecated elements (#510) 2021-10-31 19:29:41 +01:00
TheMode b1ef97b5af Use `toList` in stream chains
Signed-off-by: TheMode <themode@outlook.fr>
2021-10-22 02:23:14 +02:00
BuildTools e69c02f46d Change other usages of PacketUtils#sendGroupedPacket to use new convenience method 2021-06-25 20:41:54 +08:00
BuildTools 07a2b37f35 Add Javadoc 2021-06-25 20:34:19 +08:00
BuildTools d84964d55b Add sendGroupedPacket convenience method to PacketGroupingAudience 2021-06-25 20:32:13 +08:00
Kieran Wallbanks 0ba27939d9 Implement new sound changes 2021-06-15 13:19:48 +01:00
TheMode 459b50863e Update title/actionbar methods 2021-06-06 03:52:40 +02:00
Kieran Wallbanks a9d2f4e8ca Respect client chat settings 2021-05-05 18:21:38 +01:00
themode 55626738e2 Style cleanup 2021-03-26 21:26:35 +01:00
Kieran Wallbanks b9e35d1cc7 Make Audiences static 2021-03-26 19:28:07 +00:00
Kieran Wallbanks 13d279aaf4 Rename AudienceProvider methods, add custom(Key, Predicate) 2021-03-26 17:58:14 +00:00
Kieran Wallbanks 7fd3daae5f Store audiences to reduce object allocation 2021-03-26 17:34:39 +00:00
Kieran Wallbanks 30cfd854a2 Only return iterables 2021-03-26 17:34:39 +00:00
Kieran Wallbanks 3f525bef2e Remove iterable constructor 2021-03-26 17:34:39 +00:00
Kieran Wallbanks 0caca00dda Provide access to AudienceRegistry and rename CollectionAudienceProvider to reflect return types 2021-03-26 17:34:39 +00:00
Kieran Wallbanks 1f52761c39 Make Audiences use PacketGroupingAudience where possible 2021-03-26 17:34:39 +00:00
Kieran Wallbanks e02a521494 Send all Adventure packets grouped where possible 2021-03-26 17:34:39 +00:00
Kieran Wallbanks 7cedde0502 Create Audiences system for obtaining grouped audiences 2021-03-26 17:34:39 +00:00