chunk builder

This commit is contained in:
adman
2026-04-19 17:41:13 +02:00
parent c2777f2ca9
commit 65fea61667
6 changed files with 119 additions and 1 deletions
+2
View File
@@ -81,6 +81,8 @@ func LookupBlockByStateId(version string, stateId int32) (block *Block, ok bool)
return
}
var UnknownBlockNameErr = errors.New("unknown block Name")
func LookupBlockByName(version string, name string) (block *Block, ok bool) {
for _, b := range BlocksForVersion(version) {
if b.Name == name {