Commit Graph

525 Commits

Author SHA1 Message Date
themode acee29c20a Fix player position being wrong inside tests 2022-03-14 19:01:48 +01:00
iam a7ca1a37bf
Complete test coverage (#761) 2022-03-13 19:48:51 +01:00
iam 37a18eced5
Physics Test + revert (#742) 2022-03-13 18:53:20 +01:00
themode d9e51beebb Make dedicated snapshot test classes 2022-03-10 22:43:47 +01:00
themode b906bd89ce Oops 2022-03-10 16:07:56 +01:00
iam 6891a530f5
Block Collision Physics (#730) 2022-03-09 19:08:42 +01:00
themode 03cf585121 Unnecessary null check 2022-03-07 22:18:03 +01:00
themode 4ab2f43eed Simplify ObjectArray 2022-03-07 20:45:51 +01:00
themode 94406d5380 More reliable builds 2022-03-07 10:15:24 +01:00
themode 5579392b05 Ask for free port in server address test 2022-03-07 10:02:09 +01:00
TheMode 0f8f1f9906
Unique node mapping (#737) 2022-03-06 07:29:51 +01:00
themode cccbd98a3a Do not prevent entity gc if a local listener is added 2022-03-05 17:38:27 +01:00
themode bd533fc2f2 Add test to ensure entities are GCed 2022-03-05 17:28:48 +01:00
TheMode 1bea4848ac
Local node (#734) 2022-03-05 17:01:10 +01:00
TheMode cc69fcf05a
Revert "Local node support (#688)" (#733)
This reverts commit 0cb2600929.
2022-03-05 12:06:59 +01:00
TheMode 0cb2600929
Local node support (#688) 2022-03-05 11:11:39 +01:00
themode 7c874bb588 GameMode cleanup 2022-03-04 07:07:53 +01:00
EpicPlayerA10 f1465804c6
Fix advancement exception on player disconnect (#724) 2022-03-03 17:11:42 +01:00
themode fff0e3d97a Allow viewing predicates to be null to properly support `hasPredictableViewers` 2022-03-03 16:32:52 +01:00
themode 122d3ebaf3 Test `hasPredictableViewers` 2022-03-03 16:12:05 +01:00
TheMode f7d44c4774
Snapshot API (#722) 2022-03-03 07:44:57 +01:00
themode 96fee8541d Move ObjectArray 2022-03-02 11:44:11 +01:00
themode 69ab2c0045 Fix nearbyEntities not working with chunk borders 2022-03-01 03:15:13 +01:00
themode 15f3c01b7c Assert entity position on spawn 2022-02-28 03:37:01 +01:00
TheMode 50c0f01fb2
View engine improvements (#715) 2022-02-26 00:10:26 +01:00
themode 8839503767 Remove some AdaptivePalette fields 2022-02-25 22:36:39 +01:00
themode c34ec0107e Comment out palette debug 2022-02-25 01:29:35 +01:00
themode 7428176206 Test for palette optimizations 2022-02-24 22:21:11 +01:00
themode 6af3a9da0c Include failing test 2022-02-23 01:28:49 +01:00
themode dc90307e80 Fix vehicle viewing 2022-02-21 04:30:47 +01:00
themode 5802179206 More view engine rule tests 2022-02-19 03:08:09 +01:00
themode 7634096bce Add tests for manual viewer/viewable update 2022-02-19 02:12:24 +01:00
themode be100fa5b8 Fix invalid username/uuid in static PlayerSkin methods 2022-02-14 21:04:37 +01:00
themode 7d752bce88 Test to ensure instances & chunks to eventually be garbage collected 2022-02-14 19:57:55 +01:00
themode 5685413fce Basic passengers viewing test 2022-02-14 11:10:03 +01:00
themode e774aec5fc More ticks in partitionTick test 2022-02-13 17:40:25 +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 078d2ef670 Fix test 2022-02-13 16:02:32 +01:00
themode 1fe93ce653 Fix socket close 2022-02-13 14:34:30 +01:00
themode 945bf6a914 Revert flush 2022-02-13 14:07:08 +01:00
themode 367c5ec35a Flush viewable packets at the end of every test 2022-02-13 13:22:44 +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 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 f633e6e276 Simplify `parseProperties`
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-08 09:42:18 +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 9d70c0a8a6 Add Collector#assertEmpty
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-08 01:54:36 +01:00
TheMode b26abc11b0 Fix shared instance unregistering
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-07 23:39:57 +01:00
TheMode a2b1148343 Make EventNode#toString return a graph of the current node state
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-02 15:41:11 +01:00