-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Labels
Description
Minecraft Development for IntelliJ plugin version
2025.1-1.8.5
IntelliJ version
2025.1.2
Operating System
MacOS sequoia 15.5
Target platform
Fabric
Description of the bug
In the https://github.com/minecraft-dev/MinecraftDev/blob/dev/src/main/kotlin/platform/fabric/inspection/FabricEntrypointsInspection.kt#L112 it checks if the method references in entrypoints have no parameters but entrypoints can have parameters for custom ones as in the language adapters for fabric it uses MethodHandleProxies.asInterfaceInstance
which means you can get an entrypoint as a Consumer for example with FabricLoader.getInstance().getEntrypoints("someentrypoint", Consumer::class.java)