4627 Commits

Author SHA1 Message Date
Moritz Zwerger
ee602288c0
open gl: fix dynamic texture array index 2023-09-27 03:16:54 +02:00
Moritz Zwerger
d4a1961b49
hud manager: properly crash on error 2023-09-27 03:16:48 +02:00
Bixilon
f5292e1904
Merge branch 'network/1.20.2' 2023-09-23 00:39:38 +02:00
Bixilon
a66719ce70
fix 1.20.2 settings packet mapping 2023-09-22 23:38:58 +02:00
Bixilon
0789ffd95c
packet tests: initialize_1_20_2 2023-09-22 16:30:58 +02:00
Bixilon
ba1ac19288
network: 1.20.2
fixes and changed client settings + test
2023-09-22 16:23:05 +02:00
Bixilon
45a5566cae
entities: allow player building with EntitySpawnS2CP 2023-09-22 13:53:09 +02:00
Bixilon
fa2a73e29d
reset abilities when changing gamemode 2023-09-22 02:08:05 +02:00
Moritz Zwerger
b094d140f4
network: 23w33a, 23w35a, 1.20.2-pre1 2023-09-21 23:38:43 +02:00
Moritz Zwerger
636177da15
network: 23w32a
The client can now ping the server (new packets)
2023-09-21 23:12:09 +02:00
Moritz Zwerger
8d020353af
network: 23w31a
A lot of changes:
 - chunk acknowledging (not 100% implemented)
 - new protocol state: configuration
 - more packet changes
 - more network changes
2023-09-21 22:41:33 +02:00
Bixilon
450a9f58f1
github build: don't build arm for windows
Dependencies (javafx and zstd) not available -/-
2023-09-19 22:59:11 +02:00
Bixilon
f46d4420e8
github build: build aarch64 build 2023-09-19 22:41:10 +02:00
Bixilon
8e7275eaa8
refactor packet registry
This unifies s2c and c2s registries and partly reverts the last rewrite (!40).

It is now possible to register packets in multiple states (e.g. login and play). That will be required for 23w31a.
It also makes classes resolvable in the ide or static coverage reports.
2023-09-18 20:48:12 +02:00
Bixilon
5b6fb3bf51
boot crash: wait for javafx toolkit 10 times
Now the crash screen should be properly visible on early boot crashes
2023-09-18 20:05:37 +02:00
Bixilon
f4552eb644
rename protocol state: HANDSHAKING to HANDSHAKE 2023-09-16 01:58:35 +02:00
Bixilon
291e747805
handshake: replace network state with action 2023-09-16 01:45:26 +02:00
Bixilon
59c6febcee
Merge branch 'work/model-bakery3' 2023-09-16 01:34:43 +02:00
Bixilon
9a21f9de38
fix element rotation 2023-09-16 01:33:22 +02:00
Bixilon
b32040d82c
built model: basic culling support 2023-09-16 01:26:29 +02:00
Bixilon
ba84aaa11a
bitmap font: fix loading with hd texture packs 2023-09-16 01:19:16 +02:00
Bixilon
ad354cae1a
allow 2048x2048 textures
Some resource packs use it.
2023-09-15 15:03:00 +02:00
Bixilon
c37116aeb7
fix some leaves tests 2023-09-15 00:07:53 +02:00
Bixilon
ba73ac5efb
fix fluid animation uv 2023-09-14 23:49:48 +02:00
Bixilon
5231b68e4a
rework some fluid models and rendering 2023-09-14 23:22:50 +02:00
Bixilon
67512e93e6
minosoft properties: fallback to default 2023-09-14 23:22:15 +02:00
Bixilon
4b9e8e1bcf
refactor some model bakery stuff 2023-09-14 16:10:45 +02:00
Moritz Zwerger
506fd941fe
bump dependencies 2023-09-12 00:55:37 +02:00
Moritz Zwerger
075a1094fb
bump gradle 2023-09-12 00:52:40 +02:00
Moritz Zwerger
89d5f24d15
improve model bakery code 2023-09-12 00:44:35 +02:00
Moritz Zwerger
1c4e5e9eae
test every quad of side for face culling
This workarounds unoptimized face properties and fixes culling between grass blocks
2023-09-01 18:49:49 +02:00
Moritz Zwerger
4ab3fc08a7
compact side properties test 2023-09-01 18:32:46 +02:00
Moritz Zwerger
528b64bae5
block models: fix wrong texture caching 2023-09-01 17:28:27 +02:00
Moritz Zwerger
4cea3d9bc2
fix build
(cherry picked from commit 73c77ba9a0eec9832b3748bc56a5dd286c12fec7)
2023-08-31 23:54:02 +02:00
Moritz Zwerger
73c77ba9a0
fix build 2023-08-31 23:53:39 +02:00
Moritz Zwerger
460ce2aabb
macos: properly set dock icon #29 2023-08-31 23:46:40 +02:00
Moritz Zwerger
7402632650
macos: properly set dock icon #29 2023-08-31 23:46:30 +02:00
Moritz Zwerger
908cfae530
fix test building 2023-08-31 23:03:48 +02:00
Bixilon
b5f6f0777c
glfw: properly fire initial window resize
on mac os custom os scaling is used, thus the initial viewport is wrong. #29
2023-08-31 23:03:45 +02:00
Bixilon
a197fa90d9
eros: fix null class loader crash on mac os #29 2023-08-31 23:03:37 +02:00
Moritz Zwerger
b164576156
optimize occlusion culling flood filling
Now all negative blocks are not checked initially anymore. This is really not needed, because they must all have been checked before. There is still room for optimizations, it does not need to trace back.
2023-08-31 22:57:25 +02:00
Moritz Zwerger
e5c54c03e1
fix test building 2023-08-31 22:56:01 +02:00
Bixilon
5dd8fbb1c9
glfw: properly fire initial window resize
on mac os custom os scaling is used, thus the initial viewport is wrong. #29
2023-08-31 21:00:02 +02:00
Bixilon
77f2f1ea56
eros: fix null class loader crash on mac os #29 2023-08-31 20:50:40 +02:00
Moritz Zwerger
f6ba94eb8b
wighted face properties test 2023-08-03 01:08:30 +02:00
Moritz Zwerger
b7449b2d29
model loader: don't warn if particle texture not found 2023-08-01 21:02:07 +02:00
Moritz Zwerger
7336a1fad4
basic face properties test 2023-08-01 20:57:37 +02:00
Moritz Zwerger
2e4cfcf143
fix model test setup 2023-08-01 20:44:16 +02:00
Moritz Zwerger
f9b3587322
model loading: small optimisations 2023-08-01 20:35:27 +02:00
Moritz Zwerger
ff78e2e3cd
cache block models 2023-08-01 20:26:28 +02:00