Commit Graph

30 Commits

Author SHA1 Message Date
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 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 7c874bb588 GameMode cleanup 2022-03-04 07:07:53 +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 15f3c01b7c Assert entity position on spawn 2022-02-28 03:37:01 +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 5685413fce Basic passengers viewing test 2022-02-14 11:10:03 +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 52852d339a Fix viewable packets in shared instances
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-08 05:28:19 +01:00
TheMode b5cc2c4126 Verify entity removal from instance entity list
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-31 12:54:48 +01:00
TheMode 6f099a4036 Ensure that DestroyEntitiesPacket is received on entity removal
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-31 12:52:20 +01:00
TheMode 5b699e0375 Fix removal scheduling involving server ticks
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-30 08:23:34 +01:00
TheMode 624ccbdee8 Fix build
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-29 15:01:15 +01:00
Moulberry 6a83fd6ac8
Fix permission level resetting & make entity in EntityMeta nullable (#595) 2022-01-29 14:56:45 +01:00
TheMode d45ce9dab4 Add Env#listen
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-29 08:37:17 +01:00
themode bd23cd6568 Add interpretPacketQueue for testing purpose 2022-01-28 05:32:35 +01:00
themode dbcb21d1aa Add basic api for event integration, + basic held tests 2022-01-27 13:08:42 +01:00
themode 1cedb8b49a Fix chunk viewers using entity view distance 2022-01-26 18:19:50 +01:00
TheMode a0549fdcad Basic tests for passengers
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-24 07:42:30 +01:00
TheMode 57976a1595 Shortcut to assert a single tracked packet
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-22 03:54:24 +01:00
TheMode 9947afe18b Ensure that all meta are registered
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-20 21:04:14 +01:00
TheMode 7f9f33d462 Fix test
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-20 04:57:41 +01:00
TheMode c19d2da2da Add playerSwitch test ensuring that the current thread does not hang
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-20 01:07:50 +01:00
TheMode 91c06da68a
Basic testing framework (#594) 2022-01-19 21:41:25 +01:00