2020-12-20 04:19:55 +00:00
|
|
|
package pm.j4.kerosene.modules;
|
2020-12-19 23:30:50 +00:00
|
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.Map;
|
|
|
|
import net.minecraft.client.MinecraftClient;
|
2020-12-20 04:19:55 +00:00
|
|
|
import pm.j4.kerosene.util.module.ModuleBase;
|
|
|
|
import pm.j4.kerosene.util.module.option.BooleanOption;
|
|
|
|
import pm.j4.kerosene.util.module.option.ConfigurationOption;
|
2020-12-19 23:30:50 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The type Example module.
|
|
|
|
*/
|
|
|
|
public class ExampleModule extends ModuleBase {
|
|
|
|
/**
|
|
|
|
* example mod
|
|
|
|
*/
|
|
|
|
public ExampleModule() {
|
|
|
|
super("petroleum.example",
|
|
|
|
"petroleum.misc",
|
|
|
|
true,
|
|
|
|
false,
|
|
|
|
true);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
protected Map<String, ConfigurationOption> getDefaultConfig() {
|
|
|
|
Map<String, ConfigurationOption> options = new HashMap<>();
|
|
|
|
options.put("petroleum.example_b_one", new BooleanOption("example"));
|
|
|
|
options.put("petroleum.example_b_two", new BooleanOption("example"));
|
|
|
|
return options;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void activate(MinecraftClient client) {
|
|
|
|
System.out.println("Example Mod Keybind Activate");
|
|
|
|
}
|
|
|
|
}
|