Commit Graph

572 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
Konstantin Shandurenko de5a396c15
Do not send CloseWindowPacket if inventory was reopened during closing (#1218) 2022-07-08 17:37:56 +02:00
Konstantin Shandurenko 4feac211c7
Item pickup fix (#1216) 2022-07-08 17:37:24 +02:00
Konstantin Shandurenko 23f03258b9
Item and experience orbs pickup fix (#1208) 2022-07-06 01:28:15 +02:00
Noel Németh bcab1b199b
Limit chunk update packets (#1128) 2022-06-04 22:04:57 +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 fdd3e2c53c Seal snapshot interfaces
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-04 13:25:24 +02:00
TogAr2 23d7df7cbb
Entity pose fixes (#487) 2022-05-03 22:29:38 +02:00
TheMode 198618ba98 Add rate limiter for incoming packets
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-15 12:25:58 +02:00
TheMode 63b40deb34
Item API refactoring (#904) 2022-04-13 17:57:15 +02:00
Konstantin Shandurenko 4c8b4c1abc
Fixed players visibility and relevancy within tablist (#840) 2022-03-31 18:57:56 +02:00
MrGazdag 5469fef417
send teams on join (#803) 2022-03-26 16:16:35 +01:00
themode 54fd65eded Remove writeAndFlush 2022-03-20 02:35:45 +01:00
themode b304e1328a Fix packet parsing for disconnected clients 2022-03-20 02:29:00 +01:00
themode 8cf598d290 Use the main scheduler 2022-03-16 06:58:01 +01:00
themode 1e58318a3a Fix potential deadlock on instance join 2022-03-16 06:54:39 +01:00
themode acee29c20a Fix player position being wrong inside tests 2022-03-14 19:01:48 +01:00
iam 6891a530f5
Block Collision Physics (#730) 2022-03-09 19:08:42 +01:00
themode 7c874bb588 GameMode cleanup 2022-03-04 07:07:53 +01:00
TheMode f7d44c4774
Snapshot API (#722) 2022-03-03 07:44:57 +01:00
Aleksey Demchenkov f9367ef4a6
Resetting player flying speed after changing gamemode (#710) 2022-02-22 21:02:26 +01:00
themode 2438393ce1 Remove GlobalHandles for better testability 2022-02-13 12:34:27 +01:00
emortal f1ca048eb6
Fix player settings (#620) 2022-01-29 22:07:50 +01:00
TheMode f9080fa4f8 Tab list changes must be broadcasted
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-29 16:59:46 +01:00
Moulberry 6a83fd6ac8
Fix permission level resetting & make entity in EntityMeta nullable (#595) 2022-01-29 14:56:45 +01:00
themode bd23cd6568 Add interpretPacketQueue for testing purpose 2022-01-28 05:32:35 +01:00
TheMode 7f9f33d462 Fix test
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-20 04:57:41 +01:00
themode 2dacaa8020 Avoid static initialization 2022-01-12 09:50:09 +01:00
themode 6dc56b1f81 Fix players being unregistered from instance twice 2022-01-10 16:51:21 +01:00
themode 26dbc59aa9 Prevent AddPlayer info packet from being sent twice 2022-01-10 16:51:21 +01:00
TheMode 5d15e76323 Style
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode deda87ecb2 Improve PlayerInfoPacket
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 705a1e3e18 Simplify tick logic
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode d865e9f75a Remove redundant entity tracking
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 615f8e7edd use a map for join game nbt
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +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 5897fcb6e3 Update registry
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode a94cc20dba Default simulation distance to view distance
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode d3b55700e2 Initial non-working 1.18 commit
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode fc3fbe83f0 Change queue for inbound packets
Signed-off-by: TheMode <themode@outlook.fr>
2021-11-20 11:56:35 +01:00
TheMode cca614fea8 No need to retrieve the chunk to send unload packets
Signed-off-by: TheMode <themode@outlook.fr>
2021-11-19 06:06:32 +01:00
TheMode 8b1856d5b7
Async packet write (#533) 2021-11-17 06:31:24 +01:00
TheMode c5e947c76e Move CachedPacket and FramedPacket
Signed-off-by: TheMode <themode@outlook.fr>
2021-11-17 00:48:43 +01:00
TheMode 08f9b065de Cache handle for PlayerChunkUnloadEvent
Signed-off-by: TheMode <themode@outlook.fr>
2021-11-02 01:54:48 +01:00
TheMode faa289a097
Entity tracking rework (#486) 2021-11-01 18:04:00 +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 d46db09080 Make `PlayerSkin` record
Signed-off-by: TheMode <themode@outlook.fr>
2021-10-27 23:05:53 +02:00
TheMode 13a8a22546 Add preventive kick instead of hard to debug timeouts
Signed-off-by: TheMode <themode@outlook.fr>
2021-10-15 15:54:11 +02:00