Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Teneted/Tenet
/ getModSize
Method
getModSize
src/main/java/com/mohistmc/api/ServerAPI.java:20–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
19
// Don't count the default number of mods
20
public
static
int
getModSize() {
21
return
mods.get(
"mods"
) == null ? 0 : mods.get(
"mods"
) - 4;
22
}
23
24
public
static
String getModList() {
25
return
modlists.toString();
Callers
nothing calls this directly
Calls
1
get
Method · 0.65
Tested by
no test coverage detected