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

Method getRoomSizeTo

src/minecraft/Position.java:104–106  ·  view source on GitHub ↗
(Position target)

Source from the content-addressed store, hash-verified

102 }
103
104 public int getRoomSizeTo(Position target) {
105 return (target.x - this.x) * (target.y - this.y) * (target.z - this.z);
106 }
107
108 public Position scale(int scale) {
109 this.x = this.x * scale;

Callers 1

addMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected