Vanilla-faithful overworld generator (final_density + multi-noise biomes), full connection lifecycle (status/login/configuration/play), chunk streaming, creative block editing, and the protocol/nbt/registry infrastructure.
7 lines
182 B
Go
7 lines
182 B
Go
package world
|
|
import "testing"
|
|
func BenchmarkGenerateVanilla(b *testing.B){
|
|
g:=NewVanillaGenerator(12345)
|
|
b.ResetTimer(); b.ReportAllocs()
|
|
for i:=0;i<b.N;i++{ _=g(int32(i),0) }
|
|
}
|