From 6542a4e01b6fc11cd46446a99a9a0e25165b296b Mon Sep 17 00:00:00 2001 From: HashimTheArab Date: Wed, 24 Jun 2026 22:20:04 -0400 Subject: [PATCH] Add RuntimeIDToHash to chunk registry --- server/world/chunk/block_registry.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/world/chunk/block_registry.go b/server/world/chunk/block_registry.go index d5a749dde..24888d2ba 100644 --- a/server/world/chunk/block_registry.go +++ b/server/world/chunk/block_registry.go @@ -27,4 +27,6 @@ type BlockRegistry interface { LiquidBlock(rid uint32) bool // HashToRuntimeID resolves a "network block hash" to a runtime ID. HashToRuntimeID(hash uint32) (rid uint32, ok bool) + // RuntimeIDToHash resolves a runtime ID to its "network block hash". + RuntimeIDToHash(runtimeID uint32) (hash uint32, ok bool) }