Commit Graph

560 Commits

Author SHA1 Message Date
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
TheMode
bd4aa90753
Framed packet cleanup (#489) 2021-10-13 06:33:44 +02:00
TheMode
2c4ea3c3c4 Serialize/Compress tag packet only once
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-20 19:34:43 +02:00
Moulberry
ee435f43f2 Set proper pose once flying finishes 2021-09-14 17:50:19 +08:00
Moulberry
1933914bbc Set proper pose once flying finishes 2021-09-14 17:43:02 +08:00
Moulberry
73ea79bed2 Fix flying clip bug 2021-09-14 17:37:57 +08:00
Moulberry
5bf4758a3a Remove extra chunk unloads 2021-09-13 15:08:57 +08:00
Moulberry
9531bd5cb3 Merge upstream 2021-09-13 15:07:11 +08:00
Moulberry
0360fd3f79 Fix 2 entity loading issues 2021-09-13 15:05:16 +08:00
TheMode
0c5b37ed18 Optimize unnecessary chunk coordinate conversion
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-11 01:04:11 +02:00
TheMode
3ddf729a46 Code style, remove deprecated ChatMode
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-10 05:50:08 +02:00
TheMode
e6db47ec6e Add fancy Player#sendPacket shortcut
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-10 05:41:54 +02:00
TheMode
ffbc8e5f27 Fix Player#getLocale
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-08 00:54:00 +02:00