forked from RepoMirrors/kami-blue
formatting and dates
This commit is contained in:
parent
b6b121faa6
commit
30e1b3a981
|
@ -10,19 +10,19 @@ import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by 086 on 22/01/2018.
|
* Created by 086 on 22/01/2018.
|
||||||
* Updated by S-B99 on 12/11/19
|
* Updated by S-B99 on 24/02/20
|
||||||
*/
|
*/
|
||||||
@Module.Info(name = "AutoTotem", category = Module.Category.COMBAT, description = "Refills your offhand with totems")
|
@Module.Info(name = "AutoTotem", category = Module.Category.COMBAT, description = "Refills your offhand with totems")
|
||||||
public class AutoTotem extends Module {
|
public class AutoTotem extends Module {
|
||||||
|
private Setting<Mode> modeSetting = register(Settings.e("Mode", Mode.REPLACE_OFFHAND));
|
||||||
|
|
||||||
|
private enum Mode {
|
||||||
|
NEITHER, REPLACE_OFFHAND, INVENTORY
|
||||||
|
}
|
||||||
|
|
||||||
int totems;
|
int totems;
|
||||||
boolean moving = false;
|
boolean moving = false;
|
||||||
boolean returnI = false;
|
boolean returnI = false;
|
||||||
private Setting<Mode> modeSetting = register(Settings.e("Mode", Mode.REPLACE_OFFHAND));
|
|
||||||
|
|
||||||
private enum Mode {
|
|
||||||
NONE, REPLACE_OFFHAND, INVENTORY
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onUpdate() {
|
public void onUpdate() {
|
||||||
|
|
Loading…
Reference in New Issue