(Stack<Addable> addables)
| 84 | } |
| 85 | |
| 86 | private void setAddables(Stack<Addable> addables) { |
| 87 | Arrays.fill(this.materialToAddable, DEFAULT_ADDABLE); |
| 88 | for (Addable addable : this.materialToAddable) { |
| 89 | addable.setAccess(this.cuboidFinder, this.map, this); |
| 90 | } |
| 91 | this.materialToAddable[Material.AIR] = null; |
| 92 | this.materialToAddable[Material.CAVE_AIR] = null; |
| 93 | |
| 94 | this.setAddable(new Nothing()); |
| 95 | |
| 96 | for (Addable addable : addables) { |
| 97 | this.setAddable(addable); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | private void setAddable(Addable addable) { |
| 102 | addable.setAccess(this.cuboidFinder, this.map, this); |
no test coverage detected