Commit Graph

441 Commits

Author SHA1 Message Date
TheMode fc90fe8852 Remove some `Collections` usage
Signed-off-by: TheMode <themode@outlook.fr>
2022-09-06 15:08:36 +02:00
TheMode 1dd2cc72ee
1.19.2 (#774) 2022-09-05 13:54:58 +02:00
Noel Németh bcab1b199b
Limit chunk update packets (#1128) 2022-06-04 22:04:57 +02:00
TheMode ff712575ad Fix velocity packets being sent for flying players
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-04 20:38:31 +02:00
TogAr2 3cd73310cd
Account for flying in velocity calculation (#1111) 2022-05-22 16:46:54 +02:00
MrGazdag 5f9d44433d
Fix Entity#lookAt(Pos) not correctly looking at the position (#1058) 2022-05-12 23:35:46 +02:00
TheMode fdd3e2c53c Seal snapshot interfaces
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-04 13:25:24 +02:00
TogAr2 23d7df7cbb
Entity pose fixes (#487) 2022-05-03 22:29:38 +02:00
Weiiswurst afddb6f549
hasVelocity is now false if the entity just has gravity (#975) 2022-04-28 16:06:53 +02:00
Bloepiloepi d87a8f72c7
Fix Entity#takeKnockback and gravity (#943) 2022-04-23 21:37:27 +02:00
TheMode a4adbb49fe Add a new Pos#sameView
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-19 21:09:02 +02:00
Zak Shearman 64f617c81c
Add Pos#withLookAt (#945) 2022-04-19 20:31:05 +02:00
TheMode 8b187894f7 Make Instance implements EventHandler
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-17 06:19:14 +02:00
Lorenzo Lapucci 97abccce0c
Use eye height difference when setting direction using Entity#lookAt(Entity) (#900) 2022-04-10 14:13:13 +02:00
Konstantin Shandurenko 8df0d37107
Entity's line of sight methods improvements (#842) 2022-03-31 20:28:02 +02:00
Konstantin Shandurenko b3ee3e2345
EntityProjectile fixes and optimizations (#807) 2022-03-28 22:06:25 +02:00
iam 3fbdf4f22a
Fix Entity Touch Block Check (#795) 2022-03-21 00:04:54 +01:00
TheMode f2fec73202
Tag internal rework (#782) 2022-03-20 01:47:57 +01:00
themode df64ce9653 Remove dependency from instance/entity for collisions 2022-03-13 23:28:31 +01:00
themode c890a1ae9a Reduce field lookup for block touch 2022-03-13 17:55:00 +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 0f8f1f9906
Unique node mapping (#737) 2022-03-06 07:29:51 +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 fff0e3d97a Allow viewing predicates to be null to properly support `hasPredictableViewers` 2022-03-03 16:32:52 +01:00
TheMode f7d44c4774
Snapshot API (#722) 2022-03-03 07:44:57 +01:00
TheMode 50c0f01fb2
View engine improvements (#715) 2022-02-26 00:10:26 +01:00
themode b1353c69fe Remove viewEngine mention in updateNewViewer/updateOldViewer 2022-02-21 19:05:11 +01:00
themode 2438393ce1 Remove GlobalHandles for better testability 2022-02-13 12:34:27 +01:00
themode 4459bbeebd Cleanup view tracking 2022-02-13 07:51:47 +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 52852d339a Fix viewable packets in shared instances
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-08 05:28:19 +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 e979d71dee Update & test acquirable api
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-17 14:24:37 +01:00
TheMode b87259f21b properly update viewing references
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-14 21:34:20 +01:00
TheMode 5bbf4642e8 Server process (#550) 2022-01-10 16:51:21 +01:00
TheMode da69526f49 Dispatcher testing (#570) 2022-01-10 16:51:21 +01:00
TheMode 2c7aae6bec Dirty tracking (#547) 2022-01-10 16:51:21 +01:00
themode 639254b19e Remove the need to specify the entity position on movement 2022-01-10 16:51:21 +01:00
themode 9ccc9040df Remove Update#updateTracker, more tracking tests 2022-01-10 16:51:21 +01:00
themode 39a0923326 Add LazyPacket 2022-01-10 16:51:21 +01:00
themode b17c66e339 Improve thread dispatcher update 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 895642dd44 Use flare thread-safe collections
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 9717e54aac Revamped scheduling API (#535) 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 ba77a9ea10 Make BlockSetter/Getter inner interfaces inside Block
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00