#import ClientReciveMessageEvents

4 messages · Page 1 of 1 (latest)

plush spire
#

How do I import ClientReciveMessageEvents. I tried importing net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents; but i get the error error: package net.fabricmc.fabric.api.client.message.v1 does not exist

knotty magnet
#

!!splitsources is probably what's going on

dusky sandalBOT
#
Split Sources

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

plush spire
#

ya