GitHub
Contribute to Wintecks/example-mod-1.21 development by creating an account on GitHub.
5 messages · Page 1 of 1 (latest)
Contribute to Wintecks/example-mod-1.21 development by creating an account on GitHub.
!!splitsources or a mappings issue (mappings are MojMap by default now, they've been yarn for a long time so tutorials are mostly written in them)
Split Sources provide a compile-time guarantee against calling client only Minecraft code or client only API on the server.
Client-only code can be placed in client, and code that is common to client and server can be placed in main. Client-only code can refer code in main, but not the other way.
Read more: Split Client and Common code - Fabric Loom
But I don't really want to go thru a whole repo to figure out what class you're talking about
I generally can't import any class from net.minecraft