Bound placed ore verification
This commit is contained in:
parent
56a1a5f8d6
commit
641da0e078
1 changed files with 6 additions and 8 deletions
|
|
@ -14,14 +14,12 @@ func TestPlacedOresUseStoneAndDeepslateTargets(t *testing.T) {
|
|||
5308: "deepslate diamond ore",
|
||||
}
|
||||
counts := make(map[uint16]int)
|
||||
for cx := int32(-8); cx <= 8; cx += 4 {
|
||||
for cz := int32(-8); cz <= 8; cz += 4 {
|
||||
chunk := gen(cx, cz)
|
||||
for y := MinY; y < 128; y++ {
|
||||
for x := 0; x < 16; x++ {
|
||||
for z := 0; z < 16; z++ {
|
||||
counts[chunk.GetBlock(x, y, z)]++
|
||||
}
|
||||
for _, pos := range [][2]int32{{-8, -8}, {4, -4}} {
|
||||
chunk := gen(pos[0], pos[1])
|
||||
for y := MinY; y < 128; y++ {
|
||||
for x := 0; x < 16; x++ {
|
||||
for z := 0; z < 16; z++ {
|
||||
counts[chunk.GetBlock(x, y, z)]++
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue