summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author ftbsc <dev@fantabos.co>2023-02-28 18:18:06 +0100
committer ftbsc <dev@fantabos.co>2023-02-28 18:18:06 +0100
commit3be09e93843986e9ccf056d712f0cd1bedb0fd6e (patch)
treee0b9e5acf2afad313681ba13ab193f38228d3e8c
parentd497c1d976a75eef67fb508a1c40ce7016589295 (diff)
chore: AbstractModule
-rw-r--r--src/main/java/ftbsc/bscv/modules/AbstractModule.java (renamed from src/main/java/ftbsc/bscv/modules/Module.java)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/ftbsc/bscv/modules/Module.java b/src/main/java/ftbsc/bscv/modules/AbstractModule.java
index 0f73a7a..b17f3b3 100644
--- a/src/main/java/ftbsc/bscv/modules/Module.java
+++ b/src/main/java/ftbsc/bscv/modules/AbstractModule.java
@@ -10,7 +10,7 @@ import net.minecraftforge.common.MinecraftForge;
import static ftbsc.bscv.BoSCoVicino.log;
-public abstract class Module {
+public abstract class AbstractModule {
public enum Group {
SELF,
HUD,
@@ -66,7 +66,7 @@ public abstract class Module {
public abstract void register(ForgeConfigSpec.Builder builder, CommandDispatcher<CommandSource> dispatcher);
- protected Module(ForgeConfigSpec.Builder builder, CommandDispatcher<CommandSource> dispatcher) {
+ protected AbstractModule(ForgeConfigSpec.Builder builder, CommandDispatcher<CommandSource> dispatcher) {
// TODO can this be done in a less magic way?
String[] pkg = this.getClass().getPackage().getName().split(".");
this.group = Group.valueOf(pkg[pkg.length-1].toUpperCase());
@@ -75,7 +75,7 @@ public abstract class Module {
this.initialize(builder, dispatcher);
}
- public Module done(ForgeConfigSpec.Builder builder) {
+ public AbstractModule done(ForgeConfigSpec.Builder builder) {
builder.pop();
return this;
}