Commit Graph

4616 Commits

Author SHA1 Message Date
themode
acee29c20a Fix player position being wrong inside tests 2022-03-14 19:01:48 +01:00
iam
9215e33e80
Remove faces and cartesian product (#762) 2022-03-14 00:32:18 +01:00
themode
df64ce9653 Remove dependency from instance/entity for collisions 2022-03-13 23:28:31 +01:00
themode
60f583b179 Cache shapes size 2022-03-13 21:27:56 +01:00
themode
11708a1c1a Remove dedicated Faces class 2022-03-13 21:20:11 +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
c890a1ae9a Reduce field lookup for block touch 2022-03-13 17:55:00 +01:00
themode
27b046b52c Simplify toSectionRelativeCoordinate 2022-03-11 17:55:56 +01:00
themode
d9e51beebb Make dedicated snapshot test classes 2022-03-10 22:43:47 +01:00
themode
024ba736ce Improve tasks performance 2022-03-10 16:57:36 +01:00
themode
b906bd89ce Oops 2022-03-10 16:07:56 +01:00
themode
c1d65071d3 Change getTag annotation 2022-03-10 15:54:12 +01:00
themode
a29a51ee0a Greatly reduce the number of checks 2022-03-09 20:14:42 +01:00
themode
e7545e470f Cache compiled pattern 2022-03-09 19:47:42 +01:00
themode
d3432011d9 Avoid boxing and streams 2022-03-09 19:45:05 +01:00
iam
6891a530f5
Block Collision Physics (#730) 2022-03-09 19:08:42 +01:00
themode
9bca6ee0e3 Fix override registry 2022-03-09 17:51:03 +01:00
themode
d1b654e843 Fix rare viewer NPE 2022-03-09 17:28:37 +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
3764e83a4f Dead code 2022-03-07 13:55:13 +01:00
themode
29f55ee720 Remove PROPERTIES_VALUES 2022-03-07 13:49:56 +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
EpicPlayerA10
2e73f00331
Fix axolotl meta (#738) 2022-03-06 15:16:55 +01:00
themode
2f6e3b62b0 Registration cleanup 2022-03-06 09:06:59 +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
themode
b43c404ed2 Never-mind 2022-03-04 05:33:46 +01:00
themode
ad3e723437 CAS to reset acquiring time 2022-03-04 05:31:50 +01:00
themode
c5d1d8bc36 Synchronize the full reference method 2022-03-03 18:20:32 +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
Moulberry
baa603ba41
Fix naming error in SpawnLivingEntityPacket 2022-03-03 23:13:49 +08:00
themode
122d3ebaf3 Test hasPredictableViewers 2022-03-03 16:12:05 +01:00
themode
708307dbde Add additional barriers 2022-03-03 12:13:25 +01:00
TheMode
f7d44c4774
Snapshot API (#722) 2022-03-03 07:44:57 +01:00
themode
3e184abc0f Unnecessary array util 2022-03-02 14:55:03 +01:00
themode
96fee8541d Move ObjectArray 2022-03-02 11:44:11 +01:00
themode
5930626dad Fast exit when the entity has no viewer 2022-03-01 05:36:33 +01:00
themode
45fe2f1ac9 Improve entity viewer iterator creation 2022-03-01 04:21:16 +01:00
themode
fa5fe8f208 Simplify 2022-03-01 03:18:49 +01:00
themode
69ab2c0045 Fix nearbyEntities not working with chunk borders 2022-03-01 03:15:13 +01:00
themode
9a7d5039a7 Change assert 2022-03-01 01:04:58 +01:00
TheMode
98e6b23fdd
1.18.2 update (#714) 2022-03-01 00:40:19 +01:00
themode
e23de98587 InstanceContainer misc improvements 2022-03-01 00:35:55 +01:00
themode
15f3c01b7c Assert entity position on spawn 2022-02-28 03:37:01 +01:00
themode
762bbf525d Move native image resources 2022-02-28 00:08:25 +01:00
themode
4512cef7d9 Use bytes whenever possible 2022-02-27 22:50:58 +01:00
themode
41862c576b No need to update the palette count on resize 2022-02-27 01:14:57 +01:00
themode
5579415513 FlexiblePalette cleanup 2022-02-26 22:37:53 +01:00
themode
ebb6dffb31 Entities should not retrieve viewers from shared instances 2022-02-26 00:38:27 +01:00
TheMode
50c0f01fb2
View engine improvements (#715) 2022-02-26 00:10:26 +01:00
themode
487fbcb5b9 Stricter resize rule 2022-02-25 22:58:55 +01:00
themode
8839503767 Remove some AdaptivePalette fields 2022-02-25 22:36:39 +01:00
themode
58b103afd6 Improve FilledPalette serialization 2022-02-25 03:00:53 +01:00
themode
2627c1702e Bring back palette compression 2022-02-25 03:00:24 +01:00
themode
119afa6311 Simplify EntityTracker, reduce allocations 2022-02-25 02:30:01 +01:00
themode
b6ba957a7b Temporarily disable palette compression 2022-02-25 02:19:29 +01:00
themode
c34ec0107e Comment out palette debug 2022-02-25 01:29:35 +01:00
themode
d57b03f54d Better caching for CachedPacket#packet 2022-02-25 00:01:16 +01:00
themode
f09dacf795 Misc cleanup 2022-02-24 23:29:41 +01:00
themode
842373da7d Static import in entity tracker 2022-02-24 23:07:36 +01:00
themode
7428176206 Test for palette optimizations 2022-02-24 22:21:11 +01:00
themode
2c0b026e46 Fix BenchmarkManager on substrate VM 2022-02-23 04:46:15 +01:00
themode
d7af91b603 Reduce field lookup 2022-02-23 04:10:34 +01:00
themode
6af3a9da0c Include failing test 2022-02-23 01:28:49 +01:00
themode
5b3cb709d6 Use ClassValue to store event handles 2022-02-23 00:02:11 +01:00
Aleksey Demchenkov
f9367ef4a6
Resetting player flying speed after changing gamemode (#710) 2022-02-22 21:02:26 +01:00
themode
dab6ec6000 Dead code 2022-02-21 22:04:05 +01:00
themode
b1353c69fe Remove viewEngine mention in updateNewViewer/updateOldViewer 2022-02-21 19:05:11 +01:00
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
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
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
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
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