NeoForgePlatformHelper
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Literal brand: FML publishes none this early. Version off the loader's own mod container rather than FMLLoader.versionInfo() — the same singleton modVersion uses, so no second reflective shape.
Functions
Link copied to clipboard
FMLLoader's no-arg name, called on what owns it — the class through 21.1, the FMLLoader.getCurrent() instance from 26.1, where FMLEnvironment's static getDist() is that very call — or null where FMLLoader has no such method. Told apart by the method's own modifier rather than by trying a shape and catching: that could not tell a shape that does not apply from a real failure in one that does, and answered the second with the next guess.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
getSecureJar().getRootPath(), reflectively — FML 11 (26.1+) dropped getSecureJar().