MCPcopy Create free account
hub / github.com/Garten/sourcecraft / isAirMaterial

Method isAirMaterial

src/source/addable/AddableManager.java:126–133  ·  view source on GitHub ↗
(int material)

Source from the content-addressed store, hash-verified

124 }
125
126 public boolean isAirMaterial(int material) {
127 if (material > 0 && material < this.materialToAddable.length) {
128 if (this.materialToAddable[material] != null) {
129 return this.materialToAddable[material].isAirBlock();
130 }
131 }
132 return true; // unknown/border block
133 }
134
135}

Callers 1

isAirBlockInitiateMethod · 0.80

Calls 1

isAirBlockMethod · 0.65

Tested by

no test coverage detected