Port hitboxes

This commit is contained in:
ThisIsALegitUsername 2023-02-02 16:13:49 +00:00
parent aff1167701
commit c05ae4dcc8

View File

@ -1,16 +1,15 @@
package dev.resent.module.impl.hud; package dev.resent.module.impl.hud;
import dev.resent.annotation.Module;
import dev.resent.module.base.Category; import dev.resent.module.base.Category;
import dev.resent.module.base.Mod; import dev.resent.module.base.Mod;
import dev.resent.module.setting.BooleanSetting; import dev.resent.module.setting.BooleanSetting;
import dev.resent.module.setting.ModeSetting; import dev.resent.module.setting.ModeSetting;
@Module(name = "Hitboxes", category = Category.HUD, hasSetting = true)
public class Hitboxes extends Mod { public class Hitboxes extends Mod {
public Hitboxes() { public Hitboxes() { addSetting(color, old); }
super("Hitboxes", Category.HUD, true);
addSetting(color, old);
}
public static ModeSetting color = new ModeSetting("Color", "", "White", "Red", "Yellow", "Green", "Blue", "Pink", "Orange", "Black"); public static ModeSetting color = new ModeSetting("Color", "", "White", "Red", "Yellow", "Green", "Blue", "Pink", "Orange", "Black");
public static BooleanSetting old = new BooleanSetting("1.7 Hitboxes", "", true); public static BooleanSetting old = new BooleanSetting("1.7 Hitboxes", "", true);