Hello, how can I solve this problem what I want to achieve: I want a client version of the mod that will view the contents of the chat and, with a certain message, send a put request to a certain ip specified in the mod configuration via ClothConfig and ModMenu
Ubuntu 24
VSCode
╰─ ./gradlew build
> Configure project :
Fabric Loom: 1.7.3
Previous process has disowned the lock due to abrupt termination.
Found existing cache lock file (ACQUIRED_PREVIOUS_OWNER_DISOWNED), rebuilding loom cache. This may have been caused by a failed or canceled build.
:remapping 53 mods from modImplementation (java-api)
:remapping 53 mods from modImplementation (java-runtime)
> Task :compileJava FAILED
/mnt/Programming/Projects/UAProject/MoonMod/src/main/java/com/example/ExampleMod.java:6: error: package net.fabricmc.fabric.api.client.networking.v1 does not exist
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents;
^
/mnt/Programming/Projects/UAProject/MoonMod/src/main/java/com/example/ExampleMod.java:8: error: cannot find symbol
import net.minecraft.network.message.ChatMessageType;
^
symbol: class ChatMessageType
location: package net.minecraft.network.message
/mnt/Programming/Projects/UAProject/MoonMod/src/main/java/com/example/ExampleMod.java:30: error: cannot find symbol
private void onChatMessage(Text message, ChatMessageType type, UUID sender) {
^
symbol: class ChatMessageType
location: class ExampleMod
/mnt/Programming/Projects/UAProject/MoonMod/src/main/java/com/example/ModMenuIntegration.java:6: error: package net.minecraft.client.gui.screen does not exist
import net.minecraft.client.gui.screen.Screen;
^
4 errors
FAILURE: Build failed with an exception.
I've never written using Gradle before and I haven't written mods so please don't beat me with sticks