Class Platforms
java.lang.Object
net.dillon.dillonlib.platform.Platforms
Contains all built-in DillonLib platforms to access for your convenience.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommonModPlatformstatic ClientModPlatformstatic MixinModPlatformstatic booleanmixinPlatformPredicate(Predicate<MixinModPlatform> mixinModPlatformPredicate) static booleanstatic boolean
-
Constructor Details
-
Platforms
public Platforms()
-
-
Method Details
-
getCommonPlatform
-
getDillonLibMixinPlatform
-
getDillonLibClientPlatform
-
mixinPlatformPredicate
- Returns:
- if something should be applied base on any
MixinModPlatforms value.
-
shouldApplyFactories
public static boolean shouldApplyFactories()- Returns:
- if
factoriesshould be applied into the game, which determines if certain mixin fixes should be applied.
-
shouldApplyFullBright
public static boolean shouldApplyFullBright()- Returns:
- if
full brightshould be applied to the game.
-