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

Method add

src/source/addable/addable/TransparentBlock.java:17–22  ·  view source on GitHub ↗
(Position p, int material)

Source from the content-addressed store, hash-verified

15 }
16
17 @Override
18 public void add(Position p, int material) {
19 Position end = this.cuboidFinder.getBestXYZ(p, material);
20 this.map.addSolid(this.map.createCuboid(p, end, material));
21 this.map.markAsConverted(p, end);
22 }
23}

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