Class MixinNeoForgePlatformImpl

java.lang.Object
net.dillon.dillonlib.platform.mixinsafe.MixinModPlatform
net.dillon.dillonlib.platform.mixinsafe.MixinNeoForgePlatformImpl
All Implemented Interfaces:
Loadable

public class MixinNeoForgePlatformImpl extends MixinModPlatform
  • Constructor Details

    • MixinNeoForgePlatformImpl

      public MixinNeoForgePlatformImpl()
  • Method Details

    • modId

      public String modId()
      Specified by:
      modId in interface Loadable
      Specified by:
      modId in class MixinModPlatform
      Returns:
      the mod id for this platform. Should return your mod id from your common mod class.
    • isModLoaded

      public boolean isModLoaded(ModReference mod)
      Overrides:
      isModLoaded in class MixinModPlatform
      Returns:
      if a mod is loaded on a specific platform. You can use this in MixinPluginUtils, or anywhere else, but call FabricPlatforms or (Neo)ForgePlatforms to get the correct return value of this method!