[DEV] Deprecate old "isFabric" check in ModloaderEnvironment

This commit is contained in:
2024-07-17 21:04:04 +02:00
parent 597358db06
commit e895a71cad
5 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package com.hypherionmc.craterlib.core.platform;
public enum LoaderType {
FABRIC,
FORGE,
NEOFORGE,
PAPER
}

View File

@@ -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();