Moritz Zwerger
e7daeed5ae
refactor fallback registries
2023-12-14 21:29:52 +01:00
Moritz Zwerger
c24c92aa29
vibration source registry
...
fixes network packet reading of ParticleS2CP in > 1.12.2?
2023-12-14 18:04:12 +01:00
Moritz Zwerger
67722f8e78
dynamic vibration sources
...
Done with factories now
2023-12-14 13:37:05 +01:00
Moritz Zwerger
1d5c27723c
basic section occlusion tests
2023-12-14 10:10:17 +01:00
Moritz Zwerger
154ae1b4f8
debug hud: fix weird resetting entity counter
2023-12-14 07:52:19 +01:00
Moritz Zwerger
949699c415
block state registry tests
2023-12-14 07:51:36 +01:00
Moritz Zwerger
23448ca3c4
speed up registry loading
...
Properties are now name and not field identified (way faster hashCode checking)
2023-12-13 20:02:48 +01:00
Moritz Zwerger
de30a0cc48
bump kutil
...
This speeds up loading a lot, it uses ConcurrentIterator instead of ConcurrentSpliterator for model baking
2023-12-13 19:48:31 +01:00
Moritz Zwerger
81b1241563
entity, registries test
2023-12-13 18:47:33 +01:00
Moritz Zwerger
37067e630f
load font and registry models async in init stage
...
Now post init don't need to wait as long for them to complete
2023-12-13 00:02:38 +01:00
Moritz Zwerger
6b6168eeba
fix memory texture transparency
...
This fixes sprite animation texture transparency
2023-12-12 23:52:31 +01:00
Moritz Zwerger
1a8603dabc
bake block models async
2023-12-12 23:49:43 +01:00
Moritz Zwerger
44004d5919
fix some animation bugs
2023-12-12 23:35:24 +01:00
Moritz Zwerger
be2e266279
refactor SpriteTexture and sprite animation loading
...
Now it is reading the image properties async, faster :)
2023-12-12 18:15:13 +01:00
Moritz Zwerger
a202a0c716
tab list: don't allow newline in name
2023-12-10 19:33:55 +01:00
Moritz Zwerger
bb9bafb778
opengl: don't set buffer limit to 0 when uploading texture buffer
...
That fixes uploading skins when the skin is present twice. Fixes GH-23
2023-12-10 15:18:17 +01:00
Moritz Zwerger
a1573d9ad7
1.20.4: fix sign nbt text wrapping
2023-12-10 02:26:35 +01:00
Moritz Zwerger
cdaa65dfec
fix world entities not properly removing entites
2023-12-10 02:26:18 +01:00
Moritz Zwerger
1d8dacc37e
don't update entity speed when first update
2023-12-10 02:18:45 +01:00
Moritz Zwerger
f763d6284d
shaders: extract tint to include
...
Some shaders don't need tinting, that fixes them (was 0,0,0,0 color before, thus breaking it)
2023-12-10 01:45:17 +01:00
Moritz Zwerger
d83dac4f93
forbid removing local player entity by id
2023-12-10 01:25:39 +01:00
Moritz Zwerger
ba1affae6b
network: fix explosion reading (1.20.3)
2023-12-10 01:09:46 +01:00
Moritz Zwerger
f5cbd31a27
refactor animation shaders
...
See #113
2023-12-10 01:09:23 +01:00
Moritz Zwerger
0435e316d6
fix sprite animations
...
Always the same texture was copied :)
2023-12-10 00:45:23 +01:00
Moritz Zwerger
83c67d795a
fix vine tint
2023-12-08 22:04:30 +01:00
Moritz Zwerger
5176690b2e
pixlyzer block: check if can be waterlogged
...
That improves checking if a block can be waterlogged and massively improves chunk section data calculating (joining, chunk receiving, ...)
2023-12-08 21:25:43 +01:00
Moritz Zwerger
36d43bc8fb
block property: cache hashCode
...
That makes checking if a block is waterlogged WAY faster
2023-12-08 20:59:51 +01:00
Moritz Zwerger
4619101de2
fix cloud rendering skipping
2023-12-08 20:56:54 +01:00
Moritz Zwerger
19f5c45c1f
network: fix unload chunk reading in < 1.20
...
It weirdly did unload a bunch of needed chunks, this fixes that. Not sure about the exact version though
2023-12-08 20:46:31 +01:00
Moritz Zwerger
d72a34683b
tinting: don't mix rgb and rgba
...
Fixes rendering of lava in nether
2023-12-08 20:42:33 +01:00
Moritz Zwerger
4d6f0c9a2c
voronoi: don't offset biome by position
...
its offset and then reverted. Fixes the pipeline
2023-12-08 20:18:55 +01:00
Moritz Zwerger
88b1a0f4f9
improve transparent alpha rendering
2023-12-08 20:12:17 +01:00
Moritz Zwerger
9c5d1f3802
note on broken biome noise
2023-12-08 20:05:21 +01:00
Moritz Zwerger
32263656bb
fluid renderer: cache face properties
...
Reduces memory allocations, dirty hack
2023-12-08 19:32:13 +01:00
Moritz Zwerger
79300a0df3
fix fluid top culling
2023-12-08 19:29:28 +01:00
Moritz Zwerger
2bf802c961
fluid renderer: only query biome and height when actually rendering
...
The biome cache is now much smaller now, because if a fluid block is surrounded it won't get calculated
2023-12-08 19:25:30 +01:00
Moritz Zwerger
5e1bdbff64
dirty hack for tinting block items
2023-12-08 19:03:59 +01:00
Moritz Zwerger
25a5becbbd
tab list: correctly read text as nbt + tests
2023-12-08 18:51:21 +01:00
Moritz Zwerger
a2971c3a0c
signed chat test: fix reading wrong version
2023-12-08 18:51:21 +01:00
Moritz Zwerger
2d19299796
packet reading test: check for buffer underflow and version mismatch
2023-12-08 18:51:21 +01:00
Moritz Zwerger
e5ec0b0d2a
fix fast noise accessor in 21w37a+
2023-12-08 18:51:21 +01:00
Moritz Zwerger
1686a6695d
tint optimisations, refactor and abstract color maps
2023-12-08 18:51:21 +01:00
Moritz Zwerger
272df21f9e
WorldBiomes: fix test error
2023-12-08 10:45:51 +01:00
Moritz Zwerger
b43970f8ce
make chunk section variables final
2023-12-08 08:12:27 +01:00
Moritz Zwerger
8be55925d8
handle chunk biome packet
2023-12-08 08:12:10 +01:00
Moritz Zwerger
ceb2561d83
fluid tint: only query biome if needed
...
That should speed up lava rendering a lot, because the biome is on demand and needs to get calculated even though it is never needed.
2023-12-08 07:46:31 +01:00
Moritz Zwerger
0bc7a7bbf6
biome cache resetting
2023-12-08 07:41:07 +01:00
Moritz Zwerger
e6c9c73bb9
enable biome noise by default
...
Since it is on demand only, things got way faster and disabling it is kind of removing a feature by default
2023-12-08 07:39:19 +01:00
Moritz Zwerger
7f32520f6e
calculate biome cache on demand, refactor chunk section constructor
...
This makes things way faster and uses less memory. Biome is just needed for tinted blocks (and maybe sky color), most blocks don't require it. Calculating the biome is expensive (at least when joining).
2023-12-07 23:49:12 +01:00
Moritz Zwerger
c4cd6c4856
calculate section occlusion on demand
...
In headless mode occlusion does not matter and chunks that are invisible or occluded also don't matter
2023-12-07 23:01:46 +01:00