Class ModPlatformImpl

java.lang.Object
net.ixdarklord.coolcatcore.internal.core.neoforge.ModPlatformImpl
All Implemented Interfaces:
net.ixdarklord.coolcatcore.internal.core.ModPlatform

public class ModPlatformImpl extends Object implements net.ixdarklord.coolcatcore.internal.core.ModPlatform
  • Constructor Details

    • ModPlatformImpl

      public ModPlatformImpl()
  • Method Details

    • get

      public static net.ixdarklord.coolcatcore.internal.core.ModPlatform get()
    • isDevelopmentEnvironment

      public boolean isDevelopmentEnvironment()
      Specified by:
      isDevelopmentEnvironment in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • isFabric

      public boolean isFabric()
      Specified by:
      isFabric in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • isForge

      public boolean isForge()
      Specified by:
      isForge in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • isNeoforge

      public boolean isNeoforge()
      Specified by:
      isNeoforge in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • isForgeLike

      public boolean isForgeLike()
      Specified by:
      isForgeLike in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • isModLoaded

      public boolean isModLoaded(String modId)
      Specified by:
      isModLoaded in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • getGameFolder

      public Path getGameFolder()
      Specified by:
      getGameFolder in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • getConfigFolder

      public Path getConfigFolder()
      Specified by:
      getConfigFolder in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • isClient

      public boolean isClient()
      Specified by:
      isClient in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • isFakePlayer

      public boolean isFakePlayer(net.minecraft.world.entity.player.Player player)
      Specified by:
      isFakePlayer in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • getModName

      public Optional<String> getModName(String modId)
      Specified by:
      getModName in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform
    • readModIcon

      public Optional<byte[]> readModIcon(String modId)
      Specified by:
      readModIcon in interface net.ixdarklord.coolcatcore.internal.core.ModPlatform