Skip to content

Fabric entrypoint validator does not consider server/client specific initializers as valid. #2581

@RealTriassic

Description

@RealTriassic

Minecraft Development for IntelliJ plugin version

2025.3-1.8.11

IntelliJ version

2025.3.2

Operating System

Fedora Linux 43

Target platform

Fabric

Description of the bug

If your Fabric mod's entrypoint implements DedicatedServerModInitializer or ClientModInitializer instead of the plain ModInitializer, your fabric.mod.json will display an error in IntelliJ:
'main' entrypoints must implement net.fabricmc.api.ModInitializer.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions