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

Method copy

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

Copies another vector @param vec The other vector @return the same vector

(@NotNull Vector vec)

Source from the content-addressed store, hash-verified

143 * @return the same vector
144 */
145 @NotNull
146 public Vector copy(@NotNull Vector vec) {
147 x = vec.x;
148 y = vec.y;
149 z = vec.z;
150 return this;
151 }
152
153 /**
154 * Gets the magnitude of the vector, defined as sqrt(x^2+y^2+z^2). The

Callers 10

cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
asNMSCopyMethod · 0.45
copyNMSStackMethod · 0.45
asCraftCopyMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected