MCPcopy Create free account
hub / github.com/Teneted/Tenet / multiply

Method multiply

src/main/java/org/bukkit/util/Vector.java:117–123  ·  view source on GitHub ↗

Multiplies the vector by another. @param vec The other vector @return the same vector

(@NotNull Vector vec)

Source from the content-addressed store, hash-verified

115 * @return the same vector
116 */
117 @NotNull
118 public Vector multiply(@NotNull Vector vec) {
119 x *= vec.x;
120 y *= vec.y;
121 z *= vec.z;
122 return this;
123 }
124
125 /**
126 * Divides the vector by another.

Callers 7

rayTraceMethod · 0.95
rayTraceEntitiesMethod · 0.45
rayTraceBlocksMethod · 0.45
createEntityMethod · 0.45
rayTraceMethod · 0.45
getLocationMethod · 0.45
launchProjectileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected