5074 Commits

Author SHA1 Message Date
Moritz Zwerger
aa12de78ac
connection: cleanup errored if more than 5 available
This should reduce the big on disconnect memory leak. Not ideal still, but way better.
2024-02-05 16:00:14 +01:00
Moritz Zwerger
2ecfe983ca
reflections: replace .jvmField.field with just .field
Looks cleaner
2024-02-05 15:54:46 +01:00
Moritz Zwerger
438ad5cb6a
bump kutil
Fixes build
2024-02-02 21:52:37 +01:00
Moritz Zwerger
fb1f460d5d
command reader: Use fast exception
The stacktrace is mostly never read, just the message is print. This makes the cli output way cleaner and improves performance.
2024-02-02 20:40:51 +01:00
Moritz Zwerger
a80ced4cf1
optimize reflection usafe
KUtil 1.26 got some fancy new reflection utilities. Now used. Still depends on KUtil 1.26.1 (for field::type)
2024-02-02 20:21:36 +01:00
Moritz Zwerger
1be37cd9ba
leaves: use new reflection 2024-02-02 15:57:26 +01:00
Moritz Zwerger
9c84f6caec
bump dependencies 2024-02-02 08:09:52 +01:00
Moritz Zwerger
3b61973040
port to kutil 1.26 2024-02-02 08:09:51 +01:00
Moritz Zwerger
a6fe96fde6
ci: fail when can not create release 2024-01-22 22:13:30 +01:00
Moritz Zwerger
067aa63de3
mod loader: fix rare concurrent modification exception when mod loading fails 2024-01-22 14:06:09 +01:00
Moritz Zwerger
af4cc4ac50
gitlab ci: fix wrong branch 2024-01-22 03:35:33 +01:00
Moritz Zwerger
98731e1203
fix release publishing 2024-01-22 03:18:37 +01:00
Moritz Zwerger
c9e985204c
version name is now git commit with fixed 10 chars 2024-01-22 03:11:27 +01:00
Moritz Zwerger
9fae83927a
ignore .gradle_home
Now gitlab builds should no longer be dirty
2024-01-22 03:00:10 +01:00
Moritz Zwerger
22212da194
gradle: print status if not clean 2024-01-22 02:56:37 +01:00
Moritz Zwerger
0ec140d3f4
show git status in ci 2024-01-22 02:49:46 +01:00
Moritz Zwerger
717209e8a9
fix mod loading test on windows 2024-01-22 02:47:02 +01:00
Moritz Zwerger
089734122a
fix stream closing 2024-01-22 02:39:23 +01:00
Moritz Zwerger
4db357267e
properly create temp folder 2024-01-22 02:32:52 +01:00
Moritz Zwerger
b169d97aa5
gitlab ci: properly upload release 2024-01-22 02:25:14 +01:00
Moritz Zwerger
ccf1e9196a
disable force update checking 2024-01-22 02:24:11 +01:00
Moritz Zwerger
243a776d8f
release uploading 2024-01-22 02:20:06 +01:00
Moritz Zwerger
e578d9fe51
test 2024-01-22 02:20:06 +01:00
Moritz Zwerger
406cbf3d59
cleanup some netty client code 2024-01-19 21:35:08 +01:00
Moritz Zwerger
74e52823f5
cleanup some function overloading in logging 2024-01-19 15:49:07 +01:00
Moritz Zwerger
e6fe8135c0
eros: minosoft updating: log progress 2024-01-19 15:33:42 +01:00
Moritz Zwerger
c2f3a7c00b
opengl font array: don't copy gb values
It uses `GL_RED` internally, so the other components are never touched. Small loading improvement
2024-01-19 07:50:54 +01:00
Moritz Zwerger
75ed3fdb2d
assets: normalize path, tests
This tests the recent regression on windows with backslashes in a path
2024-01-19 07:47:20 +01:00
Moritz Zwerger
abab3e83b7
fix build 2024-01-18 13:39:40 +01:00
Moritz Zwerger
a355107d7e
updater: start child process 2024-01-18 13:34:50 +01:00
Moritz Zwerger
8a0701e854
updater: download and verify update 2024-01-17 18:28:52 +01:00
Moritz Zwerger
e6d48ddfdc
note about development 2024-01-17 17:49:32 +01:00
Moritz Zwerger
1a45decf13
log current platform and java version 2024-01-17 13:30:20 +01:00
Moritz Zwerger
1c0b7c21b6
font texture: properly copy alpha channel to rgb components
This finally fixes all font rendering issues with compression.

Previously the font textures were in the aaaa format, since 1.20 they seem to be in the 111a format (which is completely valid and reduces file size). the problem is, that the with font compression just the red channel will be used. This one is always 1, so all chars are are quare on screen. Not the alpha channel is force copied to the rgb channels
2024-01-16 18:14:09 +01:00
Moritz Zwerger
bb23496b8b
opengl: properly reset buffer for uploading 2024-01-16 16:00:34 +01:00
Moritz Zwerger
2c80c8047a
fix legacy skin fixing 2024-01-16 15:47:53 +01:00
Moritz Zwerger
db198f7bf5
cleanup some netty code 2024-01-16 10:26:22 +01:00
Moritz Zwerger
25f439499d
packet sender, receiver, listen for packets, network fixes and improvements 2024-01-16 10:21:23 +01:00
Moritz Zwerger
b388253a49
fix wrong entity type fixer 2024-01-16 09:09:02 +01:00
Moritz Zwerger
c8150e5fb5
network: improve pre flattening item meta writing 2024-01-12 21:40:56 +01:00
Moritz Zwerger
78b8daabf8
remove minecraft:zombie_pigman (fix with minecraft:zombified_piglin) 2024-01-12 21:26:40 +01:00
Moritz Zwerger
fbc4e88f8c
remove/refactor Directions::getBlock 2024-01-12 21:20:29 +01:00
Moritz Zwerger
44813001a1
fix assets on windows
Windows uses drive letters and backspaces, hence it breaks a lot.
2024-01-12 21:16:30 +01:00
Moritz Zwerger
94954657ca
deprecate some input stream methods
Ported to kutil 1.26
2024-01-12 14:39:55 +01:00
Moritz Zwerger
58989aed8e
fix update_available.fxml dialog 2024-01-10 15:34:55 +01:00
Moritz Zwerger
d36da8ed07
fix test build 2024-01-09 23:51:22 +01:00
Moritz Zwerger
ec0652e8ce
use GL_RED instead of GL_ALPHA for font compression
Should fix the font black rendering issue on intel gpus
2024-01-09 23:17:08 +01:00
Moritz Zwerger
4269fb0696
fix entity data cast exception if data converter was supplied
Fixes name cast exception in <1.13
2024-01-09 22:56:40 +01:00
Moritz Zwerger
bd4e7f114f
fix item durability in <1.13 2024-01-09 22:37:46 +01:00
Moritz Zwerger
4e2c1e4ec0
InputStreamUtil: option to not close archive streams 2024-01-09 18:07:10 +01:00