6046 Commits
Author SHA1 Message Date
Moritz Zwerger 18a17f311c unifont texture: only store alpha internally
This massively reduces (direct) temporary allocated memory, might even prevent GH-47 from happening. Though not the real fix for the issue.
2026-08-31 23:22:02 +02:00
Moritz Zwerger 7eb1e9038a chat serialization: fix proper nbt conversion
luckily somebody wrote tests :P
2026-08-31 23:10:29 +02:00
Moritz Zwerger 0fef7a255e text serialization: don't use booleans in nbt
There are no booleans in nbt. Fixes GH-50
2026-08-31 22:59:34 +02:00
Moritz Zwerger 8831cb47df block data: ignore unknown types
spammed on modern modded servers
2026-08-31 16:20:09 +02:00
Moritz Zwerger da6fec270e containers: copy nbt data with [F3] + [I] 2026-08-31 16:04:00 +02:00
Moritz Zwerger 586754330a javafx: don't override clipboard functions
Broken, because they can not run on other threads. Fixes the clipboard in the rendering.
2026-08-31 16:03:31 +02:00
Moritz Zwerger c889b1bdb4 empty chat component: proper toString 2026-08-31 15:52:29 +02:00
Moritz Zwerger 5ce9e7b567 text reading: use translate string as fallback if placeholder + tests
Some servers (like LibreMC) use weird formatting without a reason. They could provide fallback. Whatever.
2026-08-28 13:21:33 +02:00
Moritz Zwerger 110cf1b645 bump gradle 2026-08-28 12:42:15 +02:00
Moritz Zwerger 87fcb3fe81 http: log json for all body publishers
Follow up for 508312e922
2026-08-28 12:41:12 +02:00
Moritz Zwerger 508312e922 http: log data if response is not json
Somehow joining a (premium) server returns in some html with `The request is blocked.` error. See GH-45.
2026-08-27 21:42:00 +02:00
Moritz Zwerger 3100c4272b network: compressed nbt writing
See GH-45. Not tested.
2026-08-27 21:34:08 +02:00
Moritz Zwerger 7c82b9516d todo kutil 1.32: throw render errors 2026-06-28 23:12:10 +02:00
Moritz Zwerger f59f4e634c dereploy
the gitlab.bixilon.de issue with too large articats (413) should be fixed :)
2026-06-25 16:31:30 +02:00
Moritz Zwerger 9229f6eb4e versioned assets: add later versions with higher priority
This makes the latest assets available and not assets from earlier pack versions. Fixes block break animation (GH-44)
2026-06-25 12:20:51 +02:00
Moritz Zwerger 5d0ddc7939 entity mesh feature: don't try to unload mesh multiple times
It is automatically enqueued for unloading when calling `this.mesh = null`.

```
java.lang.IllegalStateException: Vertex buffer is not uploaded: UNLOADED
  at de.bixilon.minosoft.gui.rendering.system.opengl.buffer.vertex.OpenGlVertexBuffer.unload(OpenGlVertexBuffer.kt:104)
  at de.bixilon.minosoft.gui.rendering.util.mesh.Mesh.unload(Mesh.kt:33)
  at de.bixilon.minosoft.gui.rendering.entities.feature.mesh.MeshedFeature.enqueueUnload$lambda$0(MeshedFeature.kt:48)
  at de.bixilon.kutil.concurrent.queue.Queue.work(Queue.kt:46)
  at de.bixilon.kutil.concurrent.queue.Queue.work$default(Queue.kt:36)
  at de.bixilon.minosoft.gui.rendering.entities.EntitiesRenderer.postPrepareDraw(EntitiesRenderer.kt:83)
  at de.bixilon.minosoft.gui.rendering.renderer.renderer.RendererManager.prepare(RendererManager.kt:116)
  at de.bixilon.minosoft.gui.rendering.renderer.renderer.RendererManager.draw(RendererManager.kt:122)
  at de.bixilon.minosoft.gui.RenderLoop.loop(RenderLoop.kt:75)
  at de.bixilon.minosoft.gui.RenderLoop.startLoop(RenderLoop.kt:131)
  at de.bixilon.minosoft.gui.rendering.Rendering.startRenderWindow(Rendering.kt:79)
  at de.bixilon.minosoft.gui.rendering.Rendering.startRenderWindowThread$lambda$0(Rendering.kt:68)
  at java.base/java.lang.Thread.run(Thread.java:1583)
  ```

Fixes GH-44
2026-06-25 12:13:28 +02:00
Moritz Zwerger 73d1acb0c1 bump several dependencies
And it still seems to work :)
2026-06-04 22:50:43 +02:00
Moritz Zwerger 962acc0f0a bump gralde: 8.14.4 2026-06-04 22:50:43 +02:00
Moritz Zwerger 0544ad221d add jspecify dependency
Otherwise glfw complains.
2026-06-04 22:50:43 +02:00
Moritz Zwerger c6f7fa2882 bump kutil (1.31) 2026-06-04 22:50:43 +02:00
Moritz Zwerger 3426597918 bump kotlin 2026-06-04 22:50:43 +02:00
Moritz Zwerger 99ad0edeea gradle: don't exclude unix files on macos
Somehow they are needed. No clue. Fixes GH-43
2026-02-23 17:22:40 +01:00
Moritz Zwerger c7a05a9e8c language: add integrated language as fallback 2026-01-24 17:09:58 +01:00
Moritz Zwerger f7464cc582 gix test 2026-01-24 16:25:36 +01:00
Moritz Zwerger 8f61f4baee 1.7: fix respawn reading 2026-01-17 16:49:40 +01:00
Moritz Zwerger adbe3f5a15 network: legacy arm swing 2026-01-17 16:45:38 +01:00
Moritz Zwerger 8e3b30449b pre flattening blocks: fix stone_bricks 2026-01-17 16:32:48 +01:00
Moritz Zwerger e5de022b5b fix 1.7.10 chunk reading + tests
This only happens with custom servers, vanilla does not use the single chunk packet, only the batched chunk packet (always 5 afaik). This was seen on via backwards. Reported by Couleur on matrix.
2026-01-17 16:28:46 +01:00
Moritz Zwerger 59c343d7b4 brand: send without length prefix 2026-01-17 15:47:50 +01:00
Moritz Zwerger af22dba3be 1.7: fix sneaking/sprinting entity actions 2026-01-17 15:47:37 +01:00
Moritz Zwerger 9bc8a14c7d overlays: fix crash when recreating mesh
I refactored this, somehow broke it and did not notice. Thanks to polarite for reporting.

Mesh invalidation happens when you go e.g. into water and the the mesh gets recrated, but never loaded. An assertion is hit (mesh not loaded yet) when attempting to draw it.
2026-01-17 14:29:36 +01:00
Moritz Zwerger c6a6876bee chunk rendering: disable level of details
So, the idea was/is great and when just standing or barely moving this makes a performance difference (less work on cpu and gpu), but the constant remeshing kills performance ultimately.

There might be various ways to solve this (or combined):
 - Async GPU mesh loading: https://gitlab.bixilon.de/bixilon/minosoft/-/merge_requests/121
 - Way faster meshing on the CPU
 - way less different types of LOD (just level 1/2 maybe 3)
 - Increase effect (merge multiple blocks; reduce the number of vertices to a minimum; don't mesh every block)
 - maybe more clever ways?
 - mesh twice: lod and full (just swap them; not remesh then or so)
 - merge similaur distances to not cause multiple remeshings when crossing borders

 This commit disables them for now until something is worked out.
2026-01-08 12:58:05 +01:00
Moritz Zwerger 4f373efbf8 remove some unspecific block properties 2026-01-07 21:25:21 +01:00
Moritz Zwerger 7ce6ce59a0 block state flags: don't set full outline/collision if shape is offset 2026-01-07 21:25:02 +01:00
Moritz Zwerger 411360c9c6 fix stair light test
Old models don't have the shapes implemented (yet)
2026-01-07 20:40:07 +01:00
Moritz Zwerger 8172c470c6 all the missing stairs and slabs 2026-01-07 20:37:32 +01:00
Moritz Zwerger 7d9b20e7a2 cleanup integrated block/item tests
Uses exceptions now, this is much better and the tests are shorter.
2026-01-07 19:53:35 +01:00
Moritz Zwerger 5d85d96ac7 integrated block registry: check if implemented 2026-01-07 19:40:53 +01:00
Moritz Zwerger ebb8da06d8 wip stairs
Mostly the renderer is implemented, shapes and light is missing (and some types of staits)
2026-01-07 19:40:37 +01:00
Moritz Zwerger db4224b9fc tool test: ignore if hand breakable 2026-01-07 19:39:39 +01:00
Moritz Zwerger 11535e11b7 move some block classes 2026-01-07 17:45:40 +01:00
Moritz Zwerger 261df582ed wool: make shearable 2026-01-07 17:45:02 +01:00
Moritz Zwerger 984f17cd99 overlays: don't recreate overlay all the time 2026-01-07 17:41:23 +01:00
Moritz Zwerger d931d4fb6e some overlay fixes 2026-01-06 23:58:35 +01:00
Moritz Zwerger 54d5a945d7 gradle: ignore if git not found 2026-01-06 23:11:49 +01:00
Moritz Zwerger d412fc7fc3 per version assets manager 2026-01-06 23:06:35 +01:00
Moritz Zwerger b4000eef97 lots of breaking improvements 2026-01-06 23:06:35 +01:00
Moritz Zwerger 3f4b861638 wip block break animation 2026-01-06 23:06:35 +01:00
Moritz Zwerger 37652b788b allow more properties in BlockRender::render 2026-01-06 23:06:35 +01:00
Moritz Zwerger e11639af2e wip block break renderer 2026-01-06 23:06:35 +01:00