Moritz Zwerger
17f7c96a2b
silently ignore font loading errors (if not default)
...
They are not yet present in 1.14
2023-08-01 02:01:57 +02:00
Moritz Zwerger
f5ae8978b9
wip fluid culling
2023-08-01 01:07:18 +02:00
Moritz Zwerger
14b0d11943
refactor more code
2023-08-01 00:52:32 +02:00
Moritz Zwerger
fae7d123f0
uvlock tests, fix them
2023-07-31 23:16:41 +02:00
Moritz Zwerger
9068f249c6
rename section preparer to mesher
2023-07-31 23:07:56 +02:00
Moritz Zwerger
3fbc54acc8
fix uvlock rotating
...
Somehow the tests fail. Interesting.
2023-07-31 22:54:54 +02:00
Moritz Zwerger
7a1133200e
add stairs tests
...
Rotating with uvlock an odd number is failing.
2023-07-31 21:45:59 +02:00
Moritz Zwerger
0ad879d36d
fix fallback uv tests
2023-07-31 21:45:35 +02:00
Moritz Zwerger
3840519d44
fix some uvlock issues
2023-07-31 21:27:01 +02:00
Moritz Zwerger
b54bf50cef
fix some uvlock tests
2023-07-31 21:18:17 +02:00
Moritz Zwerger
8051ffc7c7
don't auto instance face size
2023-07-31 20:53:44 +02:00
Moritz Zwerger
478f380b8a
proper uv rotating
2023-07-31 18:46:18 +02:00
Moritz Zwerger
0820d076c9
improve texture rotation code
2023-07-31 18:02:29 +02:00
Moritz Zwerger
74562a8fe9
more cuboid tests
2023-07-31 17:17:26 +02:00
Moritz Zwerger
85a50001f8
fix cuboid test
...
Wrong reading :)
2023-07-31 02:43:07 +02:00
Moritz Zwerger
feb8484f74
more uv tests
2023-07-31 02:19:21 +02:00
Moritz Zwerger
7726de25c7
fix weighted model retrieving
...
Yes, that `.toInt()` was missing. It literally took me over one hour to debug. I attached a debugger to minecraft and it was a total mess.
2023-07-30 23:32:43 +02:00
Moritz Zwerger
175f6d0729
weighted model test
2023-07-30 23:31:52 +02:00
Moritz Zwerger
104de119dc
tests: replace all uv coordinates with color codes
...
Context: I created a colored debug texture that has every color in the corner. I am creating the model in minecraft, reading all sides and then writing the test from that data
2023-07-30 22:07:18 +02:00
Moritz Zwerger
e6bfc55851
fix some uv tests, improve test readability
2023-07-30 22:00:32 +02:00
Moritz Zwerger
6e216a00e1
test light index
2023-07-30 21:39:55 +02:00
Moritz Zwerger
17b9086930
correct wrong pixlyzer random block offset
2023-07-30 21:14:27 +02:00
Moritz Zwerger
f453878333
split model loading in loading and baking
2023-07-30 20:24:16 +02:00
Moritz Zwerger
dc00c01bf9
remove cull face
...
Determinant by minosoft now. maybe transparency breaks
2023-07-30 18:43:48 +02:00
Moritz Zwerger
d21dd70abe
replace Namespaces.minecraft with minecraft
2023-07-30 17:39:57 +02:00
Moritz Zwerger
7ba4e45edf
fix loading crash with no assets
...
Reported-By: turtius
2023-07-30 17:13:13 +02:00
Moritz Zwerger
702aee0974
remove Directions::campfireId
...
This was deprecated for long enough
2023-07-30 16:40:47 +02:00
Moritz Zwerger
16a8941f55
fix leaves light properties
2023-07-30 16:36:52 +02:00
Moritz Zwerger
726493e9ea
Merge branch 'master' into work/model-bakery3
2023-07-30 16:28:47 +02:00
Moritz Zwerger
676bc9325c
query health: show death state
2023-07-30 15:04:36 +02:00
Moritz Zwerger
3f47c3f5f3
properly format command exception
2023-07-30 14:56:40 +02:00
Moritz Zwerger
8041df4d71
commands: disconnect, quit
2023-07-30 01:53:06 +02:00
Moritz Zwerger
8de97ec940
debug command (toggle allow fly)
2023-07-30 01:50:50 +02:00
Moritz Zwerger
8fe28982d2
brigadier: rename onlyDirectExecution to allowArguments
2023-07-30 01:50:37 +02:00
Moritz Zwerger
3c0620874a
warn if eros is disabled
2023-07-30 01:44:45 +02:00
Moritz Zwerger
d3ba3fcc2e
commands: action, query
...
Improvement to #94
2023-07-30 01:33:28 +02:00
Moritz Zwerger
578e5fcf13
log: ignore "sleep interrupted" exception on shutdown
2023-07-29 22:56:11 +02:00
Moritz Zwerger
ea3a1a94d1
improve help command
...
There is still more room for improvement
2023-07-29 22:41:10 +02:00
Moritz Zwerger
09c583e1fd
cli: wait until minosoft is fully started
2023-07-29 22:27:48 +02:00
Moritz Zwerger
aef2de7ce6
reformat about command
2023-07-29 22:24:47 +02:00
Moritz Zwerger
453b0faa5f
fix crash when rendering null
chars (i.e. not in used font)
...
Reported-By: turtius
2023-07-29 22:22:56 +02:00
Moritz Zwerger
b7ef4b95c6
improve empty code point rendering
...
Reported-By: turtius
2023-07-29 22:13:24 +02:00
Moritz Zwerger
442964619d
notify user about cli
2023-07-29 21:29:20 +02:00
Moritz Zwerger
7e495e9ba5
about command
2023-07-29 21:25:28 +02:00
Moritz Zwerger
7904cc3c1d
cli: remove \n and \r
2023-07-29 21:05:29 +02:00
Moritz Zwerger
f33f302c15
don't require assets to be loaded
...
This fixes some loading crashes when all assets are disabled in the `resources.json`.
Reported-By: turtius
2023-07-29 21:03:47 +02:00
Moritz Zwerger
9ec4eb8278
minor test performance improvements
...
- ChunkHeightmap is now only calculated if dimension has light (aka. only in light tests)
- occlusion culling and light is just updated when dimension has light (world filling)
- ...
2023-07-29 18:33:26 +02:00
Moritz Zwerger
bd549a1355
block entity ticking: only tick in regions where blocks are set
2023-07-29 17:15:08 +02:00
Moritz Zwerger
a278b6813b
resort some loops to y->z->y
...
This is because the values are indexed in that way and cpu caching improves performance
2023-07-29 17:14:45 +02:00
Moritz Zwerger
a7b10aaa49
optimize sky light (down) tracing
2023-07-29 16:55:50 +02:00