MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / volume

Method volume

src/main/java/com/volmit/adapt/util/Cuboid.java:455–457  ·  view source on GitHub ↗

Get the volume of this Cuboid. @return the Cuboid volume, in blocks

()

Source from the content-addressed store, hash-verified

453 * @return the Cuboid volume, in blocks
454 */
455 public int volume() {
456 return getSizeX() * getSizeY() * getSizeZ();
457 }
458
459 /**
460 * Get the average light level of all empty (air) blocks in the Cuboid. Returns

Callers 9

withXPMethod · 0.80
updateMethod · 0.80
onMethod · 0.80
notifyLevelMethod · 0.80
FConstClass · 0.80
errorMethod · 0.80
successMethod · 0.80
warningMethod · 0.80
infoMethod · 0.80

Calls 3

getSizeXMethod · 0.95
getSizeYMethod · 0.95
getSizeZMethod · 0.95

Tested by

no test coverage detected