Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Teneted/Tenet
/ getMaxLevel
Method
getMaxLevel
src/main/java/org/bukkit/potion/PotionType.java:73–75 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
71
}
72
73
public
int
getMaxLevel() {
74
return
upgradeable ? 2 : 1;
75
}
76
77
/**
78
* @param effectType the effect to get by
Callers
1
addEnchantment
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected