Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions server/world/chunk/block_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}