Commit Graph

4187 Commits

Author SHA1 Message Date
themode
338ffb80db Ensure that entities are not registered twice 2022-02-21 05:14:19 +01:00
themode
dc90307e80 Fix vehicle viewing 2022-02-21 04:30:47 +01:00
themode
6ef04ae618 Add assert for tick park 2022-02-20 17:44:22 +01:00
Mrln
4586fc8fd8
Make min distance to interact with entities 6, staying consistent to notchian server (#704) 2022-02-20 15:29:13 +01:00
themode
62a7346f40 cacheBuffer does not need to be volatile 2022-02-20 13:15:46 +01:00
themode
a15156aeb4 Add EncryptionContext 2022-02-20 12:58:09 +01:00
themode
e7253488c6 Dead code 2022-02-19 16:54:13 +01:00
themode
b54ab55efe Use interactAt instead of interact 2022-02-19 14:38:31 +01:00
themode
688ab31d79 Remove Math.max call 2022-02-18 16:52:33 +01:00
themode
c3c139735a Improve ChunkSet 2022-02-18 11:13:45 +01:00
TheMode
9b04e89552
Add PlayerPacketOutEvent (#689) 2022-02-17 13:51:55 +01:00
themode
be100fa5b8 Fix invalid username/uuid in static PlayerSkin methods 2022-02-14 21:04:37 +01:00
themode
c4e455b376 Avoid list conversion 2022-02-14 08:31:56 +01:00
themode
028b187eda Remove unnecessary synchronization in ChunkSet 2022-02-14 07:46:19 +01:00
themode
01e5be9454 Remove distinct call 2022-02-13 20:35:02 +01:00
themode
056f819cc8 Slightly optimize viewable stream 2022-02-13 20:02:06 +01:00
themode
ab2fee2bac Synchronize updateAndAwait 2022-02-13 19:36:29 +01:00
themode
0ca5e2ade6 Update VIEWABLE_STORAGE_MAP as compute is no longer required 2022-02-13 19:15:24 +01:00
themode
2608071ee4 Use method reference to create tick threads 2022-02-13 18:11:15 +01:00
themode
fef0bbe01b Do not override stream methods 2022-02-13 17:36:06 +01:00
themode
0f421c22db Specialize ViewEngine set for entities & chunks. Also fix manual viewers for entities 2022-02-13 17:34:09 +01:00
themode
49e727d177 Move removal of unix socket file 2022-02-13 16:05:19 +01:00
themode
36c27cbe05 Fix rare case where the phaser gets terminated on ARM cpus 2022-02-13 15:52:01 +01:00
themode
1fe93ce653 Fix socket close 2022-02-13 14:34:30 +01:00
themode
2438393ce1 Remove GlobalHandles for better testability 2022-02-13 12:34:27 +01:00
themode
84d154b8db Add ChunkUtils#getChunkCount 2022-02-13 10:27:24 +01:00
themode
4459bbeebd Cleanup view tracking 2022-02-13 07:51:47 +01:00
themode
d08635dbc3 Avoid unnecessary/unsafe field lookups 2022-02-13 07:28:50 +01:00
TheMode
2006098ee2 Fix falling block velocity prediction
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-11 07:36:03 +01:00
TheMode
de71900cb9 Add readByteArray shortcut
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-11 04:32:49 +01:00
TheMode
502db8ec5c Fix block entity packet not being sent on placement
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-10 16:48:59 +01:00
TheMode
5b9784d85a Misc cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-10 13:27:46 +01:00
TheMode
1ad013e02e Remove deprecated data/storage APIs
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-09 23:07:18 +01:00
TheMode
e505c965e2 Avoid floor whenever possible
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-08 09:52:50 +01:00
TheMode
f633e6e276 Simplify parseProperties
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-08 09:42:18 +01:00
TheMode
09aea3c8d4 palette inlining
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-08 08:41:50 +01:00
TheMode
920bf62699 Style
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-08 05:31:47 +01:00
TheMode
52852d339a Fix viewable packets in shared instances
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-08 05:28:19 +01:00
TheMode
b26abc11b0 Fix shared instance unregistering
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-07 23:39:57 +01:00
TheMode
0f352a8f92 Fix potion registry
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-07 23:26:30 +01:00
themode
2e02dfd4d8 Fix synchronization issue with viewable packets 2022-02-05 08:21:19 +01:00
TheMode
0934c8ef16 counter thread provider should never update partitions
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-05 06:17:04 +01:00
TheMode
95fd6e7c81 Change int array to byte in BlockImpl
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-04 22:30:30 +01:00
TheMode
0743759eed
Do not cache registry (#651) 2022-02-04 22:28:05 +01:00
TheMode
6716b21a4a Bring back palette optimization
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-03 16:09:43 +01:00
TheMode
fbd462a6ee Temporarily remove palette optimization
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-03 05:34:32 +01:00
TheMode
d622eab048 Oopsie
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-02 21:30:03 +01:00
TheMode
5b91e0c622 Dead code
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-02 19:55:14 +01:00
TheMode
852712c4ed
Palette specialization (#638) 2022-02-02 19:24:08 +01:00
TheMode
81ab4214f2 Add Pos#withView(Pos)
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-02 16:42:00 +01:00