MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / addVector

Method addVector

src/main/java/net/minecraft/util/Vec3.java:97–100  ·  view source on GitHub ↗

Adds the specified x,y,z vector components to this vector and returns the resulting vector. Does not change this vector.

(double x, double y, double z)

Source from the content-addressed store, hash-verified

95 * vector.
96 */
97 public Vec3 addVector(double x, double y, double z)
98 {
99 return new Vec3(this.xCoord + x, this.yCoord + y, this.zCoord + z);
100 }
101
102 public Vec3 multiply(double scalar) {
103 return new Vec3(this.xCoord * scalar, this.yCoord * scalar, this.zCoord * scalar);

Callers 15

getMouseOverMethod · 0.95
doRenderMethod · 0.95
onItemRightClickMethod · 0.95
collisionRayTraceMethod · 0.95
getFlowVectorMethod · 0.95
subtractMethod · 0.95
addMethod · 0.95
renderBrokenItemStackMethod · 0.95
rayTraceMethod · 0.95
updateItemUseMethod · 0.95
rayCastMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected