packagecc.polyfrost.oneconfig.events.event;importnet.minecraft.util.IChatComponent;/** * Called when a chat message is received. */publicclassChatReceiveEventextendsCancellableEvent{/** * The message that was received. */publicfinalIChatComponentmessage;publicChatReceiveEvent(IChatComponentmessage){this.message=message;}}