Skip to content

[1.21.5] Unable to listen to ClientStartedEvent #2096

@Fuzss

Description

@Fuzss

Minecraft Version: 1.21.5

NeoForge Version: 21.5.14-beta

Tested by placing a break point at the print invocation, it is never called.
Maybe the event has to be moved to IModBusEvent?
The other two client lifecycle events introduced together with this one (stopping and stopped) however do work fine.

@Mod("examplemod")
public class ExampleMod {

    public ExampleMod() {
        NeoForge.EVENT_BUS.addListener((final ClientStartedEvent evt) -> {
            System.out.println();
        });
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.21.5Targeted at Minecraft 1.21.5bugA bug or error

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions