Bound tree stage verification
This commit is contained in:
parent
a2ee6f6a8f
commit
56a1a5f8d6
1 changed files with 6 additions and 10 deletions
|
|
@ -40,10 +40,8 @@ func TestStraightBlobTreeFromDatapack(t *testing.T) {
|
||||||
|
|
||||||
func TestBiomeTreeStageProducesTrees(t *testing.T) {
|
func TestBiomeTreeStageProducesTrees(t *testing.T) {
|
||||||
gen := NewVanillaGenerator(12345)
|
gen := NewVanillaGenerator(12345)
|
||||||
|
chunk := gen(3, -9)
|
||||||
trees := 0
|
trees := 0
|
||||||
for cx := int32(-12); cx <= 12; cx += 3 {
|
|
||||||
for cz := int32(-12); cz <= 12; cz += 3 {
|
|
||||||
chunk := gen(cx, cz)
|
|
||||||
for y := SeaLevel; y < 160; y++ {
|
for y := SeaLevel; y < 160; y++ {
|
||||||
for x := 0; x < 16; x++ {
|
for x := 0; x < 16; x++ {
|
||||||
for z := 0; z < 16; z++ {
|
for z := 0; z < 16; z++ {
|
||||||
|
|
@ -53,8 +51,6 @@ func TestBiomeTreeStageProducesTrees(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
if trees == 0 {
|
if trees == 0 {
|
||||||
t.Fatal("biome vegetation stages produced no oak logs")
|
t.Fatal("biome vegetation stages produced no oak logs")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue