forked from RepoMirrors/kami-blue
baritone module settings
This commit is contained in:
parent
b0291649db
commit
a6fcf61a35
|
@ -1,6 +1,8 @@
|
|||
package me.zeroeightsix.kami.module.modules.client;
|
||||
|
||||
import me.zeroeightsix.kami.module.Module;
|
||||
import me.zeroeightsix.kami.setting.Setting;
|
||||
import me.zeroeightsix.kami.setting.Settings;
|
||||
import me.zeroeightsix.kami.util.MessageSendHelper;
|
||||
|
||||
@Module.Info(
|
||||
|
@ -10,10 +12,24 @@ import me.zeroeightsix.kami.util.MessageSendHelper;
|
|||
showOnArray = Module.ShowOnArray.OFF
|
||||
)
|
||||
public class Baritone extends Module {
|
||||
public Setting<Boolean> allowBreak = register(Settings.b("Allow Break", true));
|
||||
public Setting<Boolean> allowSprint = register(Settings.b("Allow Sprint", true));
|
||||
public Setting<Boolean> allowPlace = register(Settings.b("Allow Place", true));
|
||||
public Setting<Boolean> allowInventory = register(Settings.b("Allow Inventory", true));
|
||||
|
||||
public Setting<Boolean> allowParkour = register(Settings.b("Allow Parkour", true));
|
||||
public Setting<Boolean> allowParkourPlace = register(Settings.b("Allow Parkour Place", true));
|
||||
|
||||
public Setting<Boolean> avoidPortals = register(Settings.b("Avoid Portals", false));
|
||||
public Setting<Boolean> mapArtMode = register(Settings.b("Map Art Mode", false));
|
||||
|
||||
public Setting<Boolean> renderGoal = register(Settings.b("Render Goals", true));
|
||||
|
||||
@Override
|
||||
protected void onDisable() {
|
||||
MessageSendHelper.sendErrorMessage("Error: The Baritone module is for configuring Baritone integration, not toggling it.");
|
||||
enable();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue