Commit Graph

66 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
TheMode 1dd2cc72ee
1.19.2 (#774) 2022-09-05 13:54:58 +02:00
GreatWyrm af9dcf258a Move convenience method to PackeetGroupingAudience 2022-08-02 06:23:20 -04:00
tahmid-23 3690ad1623
fix component flattening (#1266) 2022-07-25 05:58:03 +02:00
TheMode 7d930ee28d Replace PlayerConnection#sendPacket when possible
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 10:07:55 +02:00
TheMode 5b9784d85a Misc cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-10 13:27:46 +01:00
themode 6ecf486b9d Remove guava dependency 2022-01-27 05:15:51 +01:00
Xavier Niochaut 9ab4277502 Port to Hephaistos v2 (#424) 2022-01-10 16:51:21 +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
TheMode 7891cc5bbe Use more instanceof pattern matching
Signed-off-by: TheMode <themode@outlook.fr>
2021-10-22 02:19:38 +02:00
TheMode 13b7039721 Replace most enums 2021-07-28 14:29:28 +02:00
TheMode 28dca16b29 Initial position api implementation 2021-07-06 20:44:24 +02:00
Greenpix bc768c32af Fix automatic component translation
Removed modifier "final" from the field "AUTOMATIC_COMPONENT_TRANSLATION" in MinestomAdventure.java
2021-06-30 19:34:51 +07: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 58e108bd37 Fix deprecated API usages 2021-06-15 13:19:49 +01:00
Kieran Wallbanks 0ba27939d9 Implement new sound changes 2021-06-15 13:19:48 +01:00
Kieran Wallbanks e5ca8d992e Create providers for Adventure serializers 2021-06-15 13:19:36 +01:00
Kieran Wallbanks ee1ca5e03b Deprecate AdventureSerializer 2021-06-15 13:19:36 +01:00
Kieran Wallbanks e532f16735 Fix default locale 2021-06-15 13:19:36 +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 4c495f401d Code cleanup 2021-04-07 18:35:19 +02:00
Kezz 20b2ddb055
Rename player -> boss bar method 2021-03-28 16:22:48 +01:00
Kieran Wallbanks 229a54b4b5 Expose player to/from boss bar methods 2021-03-28 14:57:54 +01:00
TheMode 36813c6858
Merge pull request #195 from kezz/fix-non-location-sound
Use EntitySoundEffectPacket in no location playSound method, fixes #194
2021-03-27 16:11:23 +01:00
Kieran Wallbanks d086d16fa1 Use EntitySoundEffectPacket in no location playSound method, fixes #194 2021-03-27 13:59:08 +00:00
Kieran Wallbanks bd6768f168 Switch to streams in bulk boss bar addition/removal 2021-03-27 13:32:27 +00:00
Kieran Wallbanks 45f6d4b80c Remove boss bar registration system 2021-03-27 13:26:23 +00: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 96c9075378 Fix boss bar grouped packet sending 2021-03-26 17:43:08 +00:00
Kieran Wallbanks 3628c42ef2 Rework boss bar system 2021-03-26 17:34:39 +00:00
Kieran Wallbanks aa2d1f6397 Rename serializer and make static static 2021-03-26 17:34:39 +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 7afca9554d Split BossBarManager into multiple classes for clarity 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 ef7329351f Cleanup AdventurePacketConvertor 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
Kieran Wallbanks 9f87912d02 Remove TeamColor 2021-03-26 17:34:38 +00:00