39 lines
946 B
Java
39 lines
946 B
Java
package pm.j4.kerosene.modules;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import net.minecraft.client.MinecraftClient;
|
|
import pm.j4.kerosene.util.module.ModuleBase;
|
|
import pm.j4.kerosene.util.module.option.BooleanOption;
|
|
import pm.j4.kerosene.util.module.option.ConfigurationOption;
|
|
|
|
/**
|
|
* The type Example module.
|
|
*/
|
|
public class ExampleModule extends ModuleBase {
|
|
/**
|
|
* example mod
|
|
*/
|
|
public ExampleModule() {
|
|
super("kerosene",
|
|
"kerosene.example",
|
|
"kerosene.misc",
|
|
true,
|
|
false,
|
|
true);
|
|
}
|
|
|
|
@Override
|
|
public List<ConfigurationOption> getDefaultConfig() {
|
|
List<ConfigurationOption> options = new ArrayList<>();
|
|
options.add(new BooleanOption("kerosene.example.b_one","example", this));
|
|
options.add(new BooleanOption("kerosene.example.b_two","example", this));
|
|
return options;
|
|
}
|
|
|
|
@Override
|
|
public void activate(MinecraftClient client) {
|
|
System.out.println("Example Mod Keybind Activate");
|
|
}
|
|
}
|