Class Start
java.lang.Object
io.codetoil.curved_spacetime.Start
The common entry point every variant of Curved Spacetime starts through.
Each variant reaches this class differently but arrives at the same place. The closed-world
variants call start(String[], CurvedSpacetimeLoader) directly from their Main; the Quilt variant loads this
class reflectively and invokes start as a static method, which is why the signature
below is part of the game provider's contract and must not change without updating
CurvedSpacetimeGameProvider.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstart(String[] args, CurvedSpacetimeLoader loader) Starts the engine against the given loader.
-
Method Details
-
start
Starts the engine against the given loader.Construction of the engine is what drives module initialization, so this returns only once every module's
mainentrypoint has run.- Parameters:
args- the command-line arguments the variant was launched withloader- the loader that will resolve module entrypoints
-