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

Method getRandom

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

Gets a random vector with components having a random value between 0 and 1. @return A random vector.

()

Source from the content-addressed store, hash-verified

856 * @return A random vector.
857 */
858 @NotNull
859 public static Vector getRandom() {
860 return new Vector(random.nextDouble(), random.nextDouble(), random.nextDouble());
861 }
862
863 @Override
864 @NotNull

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected