Custom Window Title

Custom Window Title

2M Downloads

The Fabric isn't having "Minecraft" for Client but "MinecarftClient"

Panzimy opened this issue ยท 3 comments

commented

Hello I write some errors but these was my bad in my mod. Here is the real problem what I found in code the Intelij IDEA find an error with "Minecarft.class" in mixins and "Minecraft" in CustomWindowTitle.java. The class Minecraft doesn't exist in Fabric you need to change it to "MinecraftClient" if you are using Intelij IDEA the IDEA will edit the import. If you aren't change import to "import net.minecraft.client.MinecraftClient;". Bye, Panzimy

commented

Yeah, I don't close this because it's good warning (for people what are using this in their mods)

commented

There is no reason to keep it open, there is no issue with the mod.

commented

The project uses Mojang mappings, not yarn mappings or whichever ones name that class MinecraftClient.