Ludovic Marie
c57c409f40
Split Resources into shared read-only data and per-game pack state
...
Resources now holds only what is loaded once and never changes (blocks,
items, recipes, biomes, mobs, collision, motion) and is Send + Sync behind
an Arc, so an integrated server thread can share it with the client.
What a resource pack reload replaces moves to PackResources (assets,
meshing context, item renderer, names, panorama, clouds, forcefield), built
by one loader used at startup and on reload. The client-only mutable state
(the HUD atlas with its font cache and skin slots, fog state, screen effects)
becomes the game's own fields.
No behaviour change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-16 22:06:12 +02:00
..
2026-10-16 16:40:22 +02:00
2026-10-13 00:47:25 +02:00
2026-10-13 22:41:21 -04:00
2026-10-14 14:39:49 -04:00
2026-10-14 02:20:13 -04:00
2026-10-14 02:20:13 -04:00
2026-10-15 07:57:51 +02:00
2026-10-15 09:14:21 +02:00
2026-10-15 07:57:51 +02:00
2026-10-09 13:57:07 +02:00
2026-10-13 03:13:05 +02:00
2026-10-10 20:55:17 +02:00
2026-10-12 17:45:09 +02:00
2026-10-15 07:57:51 +02:00
2026-10-13 03:40:13 +02:00
2026-10-14 15:45:55 +02:00
2026-10-14 21:23:57 +02:00
2026-10-14 16:38:38 +02:00
2026-10-16 22:06:12 +02:00
2026-10-15 01:07:48 +02:00
2026-10-09 05:53:04 +02:00
2026-10-16 01:10:19 -05:00
2026-10-10 03:47:46 +02:00
2026-10-14 10:33:06 -04:00
2026-10-10 03:47:46 +02:00
2026-10-15 07:57:51 +02:00
2026-10-12 17:31:52 +02:00
2026-10-14 21:23:57 +02:00
2026-10-16 01:10:46 -05:00
2026-10-14 23:28:35 +02:00
2026-10-14 22:44:37 +02:00
2026-10-11 18:56:36 +02:00
2026-10-08 15:39:26 +02:00
2026-10-12 17:45:09 +02:00
2026-10-16 16:40:22 +02:00
2026-10-12 17:45:09 +02:00
2026-10-14 02:20:13 -04:00
2026-10-10 20:55:17 +02:00
2026-10-15 07:57:51 +02:00
2026-10-10 03:44:46 +02:00
2026-10-09 00:32:50 +02:00
2026-10-10 03:44:46 +02:00
2026-10-10 03:44:46 +02:00
2026-10-14 16:01:30 -04:00
2026-10-12 17:23:59 +02:00
2026-10-11 18:56:36 +02:00
2026-10-16 22:06:12 +02:00
2026-10-10 20:55:17 +02:00
2026-10-16 16:40:22 +02:00
2026-10-10 03:44:46 +02:00
2026-10-12 16:31:58 +02:00
2026-10-11 18:56:36 +02:00
2026-10-14 19:33:25 +02:00
2026-10-16 05:03:47 +02:00
2026-10-11 18:56:36 +02:00
2026-10-15 07:57:51 +02:00
2026-10-15 07:57:51 +02:00
2026-10-14 21:23:57 +02:00
2026-10-12 17:45:09 +02:00
2026-10-11 18:56:36 +02:00
2026-10-13 03:40:13 +02:00
2026-10-16 05:04:30 +02:00
2026-10-14 22:44:37 +02:00
2026-10-11 18:56:36 +02:00
2026-10-16 16:40:22 +02:00
2026-10-16 12:16:05 -04:00
2026-10-13 00:35:40 +02:00
2026-10-13 04:31:39 +02:00
2026-10-13 03:06:48 +02:00
2026-10-11 19:02:46 +02:00
2026-10-13 00:47:25 +02:00
2026-10-16 16:40:22 +02:00
2026-10-09 13:35:15 +02:00