[DEV] Deprecate old "isFabric" check in ModloaderEnvironment
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package com.hypherionmc.craterlib.core.platform;
|
||||
|
||||
public enum LoaderType {
|
||||
FABRIC,
|
||||
FORGE,
|
||||
NEOFORGE,
|
||||
PAPER
|
||||
}
|
@@ -12,8 +12,11 @@ public interface ModloaderEnvironment {
|
||||
|
||||
public final ModloaderEnvironment INSTANCE = InternalServiceUtil.load(ModloaderEnvironment.class);
|
||||
|
||||
@Deprecated(forRemoval = true, since = "2.0.2")
|
||||
boolean isFabric();
|
||||
|
||||
LoaderType getLoaderType();
|
||||
|
||||
String getGameVersion();
|
||||
|
||||
File getGameFolder();
|
||||
|
Reference in New Issue
Block a user