Class ModPlatformImpl
java.lang.Object
net.ixdarklord.coolcatcore.internal.core.fabric.ModPlatformImpl
- All Implemented Interfaces:
net.ixdarklord.coolcatcore.internal.core.ModPlatform
public class ModPlatformImpl
extends Object
implements net.ixdarklord.coolcatcore.internal.core.ModPlatform
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.ixdarklord.coolcatcore.internal.core.ModPlatformget()getModName(String modId) booleanisClient()booleanbooleanisFabric()booleanisFakePlayer(net.minecraft.world.entity.player.Player player) booleanisForge()booleanbooleanisModLoaded(String modId) Optional<byte[]>readModIcon(String modId)
-
Constructor Details
-
ModPlatformImpl
public ModPlatformImpl()
-
-
Method Details
-
get
public static net.ixdarklord.coolcatcore.internal.core.ModPlatform get() -
isDevelopmentEnvironment
public boolean isDevelopmentEnvironment()- Specified by:
isDevelopmentEnvironmentin interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-
isFabric
public boolean isFabric()- Specified by:
isFabricin interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-
isForge
public boolean isForge()- Specified by:
isForgein interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-
isForgeLike
public boolean isForgeLike()- Specified by:
isForgeLikein interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-
isModLoaded
- Specified by:
isModLoadedin interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-
getGameFolder
- Specified by:
getGameFolderin interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-
getConfigFolder
- Specified by:
getConfigFolderin interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-
isClient
public boolean isClient()- Specified by:
isClientin interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-
isFakePlayer
public boolean isFakePlayer(net.minecraft.world.entity.player.Player player) - Specified by:
isFakePlayerin interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-
getModName
- Specified by:
getModNamein interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-
readModIcon
- Specified by:
readModIconin interfacenet.ixdarklord.coolcatcore.internal.core.ModPlatform
-