Ludovic Marie
bc4d0cc806
Villagers: know each block state's POI type from a table built once
...
PoiTypes.forState ran per palette entry of every section a villager
searched (and per block of the sections that hold one), with a string
match on the block name each time and a per-search hash map in front.
At world load, when every villager looks for a job site, bed and
meeting point at once, that was 16 % of the tick. The POI type of
every state is now worked out once, the first time a villager looks,
and read from a table after that.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-16 16:40:22 +02:00
..
2026-10-16 01:10:19 -05: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 16:40:22 +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-15 07:57:51 +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-15 07:57:51 +02:00
2026-10-10 20:55:17 +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-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-15 12:20:29 +02:00
2026-10-09 13:35:15 +02:00