3064 Commits

Author SHA1 Message Date
Bixilon
78e36501fc
TintManager: split fluid tint 2022-10-04 16:16:05 +02:00
Bixilon
ebe5a2fc31
TintManager: split block, item and particle tinting
* This removes the edge case for grass particles in BlockDustParticle
2022-10-04 11:13:18 +02:00
Bixilon
95f288bf23
lan servers: don't allow ports below 1024 2022-10-04 10:52:24 +02:00
Bixilon
a45bcbf52f
boot sequence: print start time
* used for profiling, could be interesting though
2022-10-04 10:33:59 +02:00
Bixilon
2177b19e2e
packet deflater and inflater: swap names, check expected size 2022-10-03 15:38:27 +02:00
Bixilon
381ab7ca2a
fix some fluid rendering bugs 2022-10-03 00:32:59 +02:00
Bixilon
5ca8e057f6
fix some potential dead locks 2022-10-03 00:09:20 +02:00
Bixilon
0eb265aebb
outsource chunk lighting in separate class 2022-10-02 23:17:05 +02:00
Bixilon
d9d3c51bde
improve non json ChatComponent parsing speed 2022-10-02 20:38:36 +02:00
Bixilon
5939d0908f
debug hud: fix facing updating in debug view 2022-10-02 11:33:55 +02:00
Bixilon
987eb086de
fix skylight propagation from neighbours 2022-10-01 23:40:05 +02:00
Bixilon
13626cde9d
add intellij copyright settings 2022-10-01 20:05:29 +02:00
Bixilon
fcd3735426
fix inSectionHeight calculation
Got broken in e0810829432748e718bb050740c91e053850bd62
2022-09-30 21:51:03 +02:00
Bixilon
257e0868cc
remove some unused item classes, item factories 2022-09-30 21:49:09 +02:00
Bixilon
e081082943
inline some functions, improve fluid rendering performance 2022-09-30 10:45:39 +02:00
Bixilon
b175861ab0
WorldRenderer: reduce system time calls 2022-09-30 10:24:52 +02:00
Bixilon
6fd41754a8
bump kutil, fix some critical interrupt bugs
* Jep, thought the JVM handles interrupts differently
2022-09-29 22:34:59 +02:00
Bixilon
254e90acb5
fix attack canceling on entities
* The packet still got sent, whoops
2022-09-29 20:19:17 +02:00
Bixilon
aefb60c8f4
make gui system safe, fix crash when hp changes but not dead 2022-09-29 20:15:37 +02:00
Bixilon
725bf8c159
forbid attacking of ItemEntity 2022-09-29 19:53:40 +02:00
Bixilon
81f3644565
use String::trimWhitespaces from kutil 2022-09-28 21:48:47 +02:00
Bixilon
c2248a8424
deprecated PlayConnection::rendering 2022-09-28 12:12:04 +02:00
Bixilon
77b0738134
YggdrasilException 2022-09-28 11:56:41 +02:00
Bixilon
2055669d1e
rendering: poll events before swapping buffers 2022-09-28 11:10:40 +02:00
Bixilon
bf2f8e49d2
eros: loading resources dialog 2022-09-28 10:58:57 +02:00
Bixilon
5621760a31
eros: Abstract ProgressDialog 2022-09-28 10:33:30 +02:00
Bixilon
a37a279787
improve neighbour propagation performance 2022-09-27 21:22:25 +02:00
Bixilon
4db63bc56f
reduce duplicated fired light events 2022-09-27 20:49:47 +02:00
Bixilon
948a5cb280
light recalculation: fire LightUpdateEvent 2022-09-27 20:16:02 +02:00
Bixilon
e981d0718a
light: fix bugs and improve performance when propagating light from neighbours 2022-09-27 19:48:23 +02:00
Bixilon
6c7915dcaf
light: propagate from neighbours if they change, cleanup neighbour light propagation 2022-09-27 19:36:36 +02:00
Bixilon
ff2272f11b
recalculate skylight on block break 2022-09-27 14:18:54 +02:00
Bixilon
4f379aed27
light: propagate form neighbours on block break 2022-09-27 13:03:23 +02:00
Bixilon
6985006537
section light: also propagate skylight from neighbours 2022-09-27 08:38:18 +02:00
Bixilon
663ca98dfb
fix skylight propagation through neighbours 2022-09-27 08:38:00 +02:00
Bixilon
ca7973017d
workaround light for non opaque blocks 2022-09-27 08:37:39 +02:00
Bixilon
1d134f3bb2
chunk: clear blocks section data if only null elements 2022-09-26 21:30:27 +02:00
Bixilon
39d952a6d5
blocks: set cave_air and void_air to null too 2022-09-26 21:20:04 +02:00
Bixilon
be8319d962
replace String::lines with String::lineSequence
small memory and performance improvement
2022-09-26 19:43:56 +02:00
Bixilon
6ebd3db125
bump dependencies 2022-09-26 19:40:40 +02:00
Bixilon
61e4b4534d
minor general performance improvements 2022-09-26 18:35:19 +02:00
Bixilon
2c76371578
make render system safer, detect gpu memory leaks 2022-09-26 13:52:09 +02:00
Bixilon
0eee704cdf
load skeletal models async 2022-09-26 13:38:53 +02:00
Bixilon
f253c71f7a
fix fluid height calculation
* (and improve performance minimal)
 * handle waterlogged properly if block is not implemented
2022-09-25 23:06:57 +02:00
Bixilon
47ccaa0613
light engine: micro optimisations… 2022-09-25 22:44:32 +02:00
Bixilon
211dcf84f4
skylight: remove Chunk::traceSkylightDown 2022-09-25 22:33:39 +02:00
Bixilon
bab6e3787f
improve grass biome tint calculation performance 2022-09-25 22:33:11 +02:00
Bixilon
ae82436b2d
fix some skylight tracing bugs 2022-09-25 22:22:15 +02:00
Bixilon
e0635f2d9e
skylight: don't trace above heightmap
* yep, there was a bug :)
2022-09-25 20:57:11 +02:00
Bixilon
e00a32bb41
minor light calculation performance improvements 2022-09-25 20:42:41 +02:00