接口 PlatformMethods
- 所有已知实现类:
ForgePlatformMethods
public interface PlatformMethods
-
方法概要
修饰符和类型方法说明static PlatformMethodsget()booleanbooleandefault booleanbooleanisFabric()booleanisForge()booleanisModLoaded(String modid)
-
方法详细资料
-
get
-
isForge
boolean isForge() -
isFabric
boolean isFabric() -
isModLoaded
-
isClientDist
boolean isClientDist() -
isDedicatedServerDist
default boolean isDedicatedServerDist() -
isDatagen
boolean isDatagen()
-