Class ModCompatLoader
java.lang.Object
org.cyclops.cyclopscore.modcompat.ModCompatLoader
The loader for
IModCompat
instances.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addModCompat
(IModCompat modCompat) Register a new mod compatibility.protected String
getId
(IExternalCompat compat) boolean
If the given compat should be loaded.boolean
shouldLoadModCompat
(IModCompat modCompat) If the given mod compat should be loaded.
-
Field Details
-
mod
-
compats
-
crashedcompats
-
-
Constructor Details
-
ModCompatLoader
-
-
Method Details
-
addModCompat
Register a new mod compatibility. Make sure to call this before any Forge initialization steps are called!- Parameters:
modCompat
- The mod compatibility
-
getId
-
shouldLoadExternalCompat
If the given compat should be loaded.- Parameters:
compat
- The mod compat.- Returns:
- If it should be loaded.
-
shouldLoadModCompat
If the given mod compat should be loaded.- Parameters:
modCompat
- The mod compat.- Returns:
- If it should be loaded.
-