Fabric API

Fabric API

106M Downloads

FabricLoader.getInstance doesn't exist.

imreallybadatnames opened this issue ยท 5 comments

commented

The only way to access the instance of FabricLoader is to use FabricLoader.INSTANCE.

commented

Is there a Fabric API problem here?

commented

imported the wrong FabricLoader there

commented

ye they used net.fabricmc.loader.FabricLoader instead of nf.loader.api.FabricLoader (https://discord.com/channels/507304429255393322/721100785936760876/796743691032985600)

commented

Ok, found it in the interface. The interface selection didn't show up when i first imported it. Closing issue.

commented

Strange that it only showed the class. Had to manually insert .api into the import.