Class PlatformGetter
java.lang.Object
net.dillon.dillonlib.platform.PlatformGetter
The main platform getter for DillonLib. You need to make your own platform getter for your mod that is linked to your mod id!
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PlatformGetter
public PlatformGetter()
-
-
Method Details
-
getDillonLibPlatform
The mod's multi-loader platform. In this example we provide a platform helper which provides information about what platform the mod is running on. For example this can be used to check if the code is running on Forge vs Fabric, or to ask the ModLoader if another mod is loaded.- Returns:
- the main platform, specifically for DillonLib. You should create your own
getmethod to get the correct platform for your mod.
-