Commit Graph

18 Commits

Author SHA1 Message Date
iam 9cade8766c
Merge branch 'master' into improved-pathfinding 2024-03-25 19:47:22 -04:00
mworzala 4d2e78e7cf
fix: do not add a 1,1,1->0,0,0 collision shape if no boundingbox is present 2024-03-25 19:02:12 -04:00
mworzala ee17c032e7
fix: use collision shape for Shape#isFaceFull instead of occlusion shape 2024-03-24 21:50:54 -04:00
iam4722202468 4b39890965
less allocations 2024-03-03 20:00:21 -05:00
mworzala 35a4c803d9 feat: expose isFaceFull for testing if a block shape has a full face
(cherry picked from commit cf4a2d134e)
2024-02-09 14:27:43 -05:00
mworzala 9b794c2077 fix: re-fix the shape parsing issue
(cherry picked from commit d217e4d5b1)
2024-02-09 14:27:43 -05:00
mworzala f4a123192b fix: bad collision shape parsing
(cherry picked from commit 666bb98957)
2024-02-09 14:27:43 -05:00
iam 7cce1aa479 hollow-cube/projectile-physics-improvements
* Add better protectiles

* Cleanup

* better physics

* Add filter

* Update EntityCollision.java

* Negate filter check

(cherry picked from commit 0400e2dda4)
2024-02-09 14:27:43 -05:00
iam 912fb34f17 hollow-cube/lighting (#13)
* Lighting

* Remove invalidate

* Private

* Fix chunk loading

* Small fixes

* Fix loading light from anvil world

* Fix solid

* Temporary

* Fix tests, add seagrass and tall seagrass to diffusion list

* Make test faster, replace hephaistos

* Cleanup

* Assume failed test

* Fix chunk not getting invalidated

(cherry picked from commit f13a7b49fa)
2024-02-09 14:27:43 -05:00
iam 8ad2c7701f
Fix physics not checking nearest block (#1815) 2023-04-03 22:08:49 +02:00
iam f5f323fef9
Physics improvement (#1320) 2022-08-10 01:49:42 +02:00
TheMode 50a7d7ca81 ShapeImpl should not depend on the block material
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-13 12:07:43 +02:00
iam 50c1083a48
Fix relative max. Currently finds the minimum of all individual bounding box maximums. Updated to find maximum of all bounding box maximums (#869) 2022-04-05 04:20:46 +02:00
iam fb5d6b88e3
Reduce allocations from physics check (#813) 2022-03-27 00:27:47 +01:00
themode 60f583b179 Cache shapes size 2022-03-13 21:27:56 +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