Add a basic config gui to WMD when the jar is on the server
This commit is contained in:
parent
131cd673f8
commit
bf2d5c83d9
16 changed files with 488 additions and 22 deletions
|
@ -5,6 +5,7 @@ import dev.zontreck.libzontreck.chat.ChatColor;
|
|||
import dev.zontreck.wmd.types.Hunger;
|
||||
import dev.zontreck.wmd.WatchMyDurability;
|
||||
import dev.zontreck.wmd.configs.WMDClientConfig;
|
||||
import dev.zontreck.wmd.utils.client.Helpers;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.sounds.SoundEvent;
|
||||
|
@ -39,7 +40,7 @@ public class CheckHunger extends Task
|
|||
Minecraft.getInstance().player.displayClientMessage(chat, false);
|
||||
|
||||
SoundEvent sv = SoundEvents.WARDEN_ROAR; // It sounds like a growling stomach
|
||||
WatchMyDurability.Soundify(sv);
|
||||
Helpers.Soundify(sv);
|
||||
}
|
||||
|
||||
WatchMyDurability.LastHunger = current;
|
||||
|
|
Reference in a new issue