Class Platforms

java.lang.Object
net.dillon.dillonlib.platform.Platforms

public class Platforms extends Object
Contains all built-in DillonLib platforms to access for your convenience.
  • Constructor Details

    • Platforms

      public Platforms()
  • Method Details

    • getCommonPlatform

      public static CommonModPlatform getCommonPlatform()
    • getDillonLibMixinPlatform

      public static MixinModPlatform getDillonLibMixinPlatform()
    • getDillonLibClientPlatform

      public static ClientModPlatform getDillonLibClientPlatform()
    • mixinPlatformPredicate

      public static boolean mixinPlatformPredicate(Predicate<MixinModPlatform> mixinModPlatformPredicate)
      Returns:
      if something should be applied base on any MixinModPlatforms value.
    • shouldApplyFactories

      public static boolean shouldApplyFactories()
      Returns:
      if factories should be applied into the game, which determines if certain mixin fixes should be applied.
    • shouldApplyFullBright

      public static boolean shouldApplyFullBright()
      Returns:
      if full bright should be applied to the game.