MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / get

Method get

src/main/java/com/volmit/adapt/util/IRare.java:22–22  ·  view source on GitHub ↗
(Object v)

Source from the content-addressed store, hash-verified

20
21public interface IRare {
22 static int get(Object v) {
23 return v instanceof IRare ? ((IRare) v).getRarity() : 1;
24 }
25

Callers 15

onRequestMethod · 0.65
hotloadedMethod · 0.65
executeMethod · 0.65
executeMethod · 0.65
notifyXPMethod · 0.65
cleanupSkillsMethod · 0.65
getEarningsMultiplierMethod · 0.65
reportEarningsMethod · 0.65
getSkillMethod · 0.65
getStatMethod · 0.65
addStatMethod · 0.65
getSkillLineMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected