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
+4
View File
@@ -1,5 +1,7 @@
package data
import "errors"
// [
//
// {
@@ -48,6 +50,8 @@ func LookupBiomeById(version string, id int32) (biome *Biome, ok bool) {
return
}
var UnknownBiomeNameErr = errors.New("unknown biome Name")
func LookupBiomeByName(version string, name string) (biome *Biome, ok bool) {
for _, b := range BiomesForVersion(version) {
if b.Name == name {