MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / ModData

Method ModData

src/main/java/gregapi/code/ModData.java:42–50  ·  view source on GitHub ↗
(String aID, String aName)

Source from the content-addressed store, hash-verified

40 public final String mID, mName, mPrefix;
41
42 public ModData(String aID, String aName) {
43 mID = aID;
44 mName = aName;
45 mPrefix = mID + ":";
46 mLoaded = Loader.isModLoaded(mID);
47 MODS.put(aID, this);
48 MODS.put(aID.toLowerCase(), this);
49 MODS.put(aID.toUpperCase(), this);
50 }
51
52 public ModData setLoaded(boolean aLoaded) {
53 mLoaded = aLoaded;

Callers

nothing calls this directly

Calls 1

putMethod · 0.45

Tested by

no test coverage detected