MCPcopy Create free account
hub / github.com/LoomDev/Loom / clamp

Method clamp

api/src/main/java/org/loomdev/api/math/MathHelper.java:16–18  ·  view source on GitHub ↗

Clamp a value between a minimum and maximum. @param value The value to clamp. @param min The minimum value. @param max The maximum value. @return The clamped value.

(int value, int min, int max)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

setDamageMethod · 0.95
percentMethod · 0.95
setWalkSpeedMethod · 0.95
setFlySpeedMethod · 0.95
setStrengthMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected