Skip to content

bug: main entrypoint not invoked on server below Minecraft 1.18 #500

Description

@ashwalk33r

Synopsis

On a dedicated server (EnvType.SERVER) running Minecraft 1.17.1 or older, quilt-loader does not invoke the class declared in quilt_loader.entrypoints.main. There is no crash, no exception, no warning and no log line. The preLaunch stage declared in the same quilt.mod.json does run, and the mixin config named in the same file is applied.

Environment

Component Value
quilt-loader 0.30.0
quilt-installer 0.15.1
Environment EnvType.SERVER, dedicated
Mod metadata quilt.mod.json present; fabric.mod.json also present and not consulted
Entrypoint interface net.fabricmc.api.ModInitializer

Expected

quilt_loader.entrypoints.main is invoked once, at server startup, before server.properties is read — the same contract honoured on 1.18.2 and above.

Observed

The entrypoint class is never loaded and onInitialize() never runs. Server startup completes normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions