MCPcopy Index your code
hub / github.com/Garten/sourcecraft / add

Method add

src/source/addable/addable/Block.java:23–28  ·  view source on GitHub ↗
(Position p, int material)

Source from the content-addressed store, hash-verified

21 }
22
23 @Override
24 public void add(Position p, int material) {
25 Position end = this.cuboidFinder.getBestXYZ(p, material);
26 this.map.addSolid(this.map.createCuboid(p, end, material));
27 this.map.markAsConverted(p, end);
28 }
29}

Callers

nothing calls this directly

Calls 4

getBestXYZMethod · 0.65
addSolidMethod · 0.65
createCuboidMethod · 0.65
markAsConvertedMethod · 0.65

Tested by

no test coverage detected