-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b404d8
commit 7cf61f2
Showing
14 changed files
with
1,409 additions
and
712 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,498 changes: 1,241 additions & 257 deletions
1,498
src/main/java/dev/cammiescorner/arcanuscontinuum/ArcanusConfig.java
Large diffs are not rendered by default.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
src/main/java/dev/cammiescorner/arcanuscontinuum/client/gui/screens/ArcanusConfigScreen.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package dev.cammiescorner.arcanuscontinuum.client.gui.screens; | ||
|
||
import com.teamresourceful.resourcefulconfig.client.ConfigScreen; | ||
import com.teamresourceful.resourcefulconfig.common.config.ResourcefulConfig; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public class ArcanusConfigScreen extends ConfigScreen { | ||
public ArcanusConfigScreen(@Nullable ConfigScreen configScreen, ResourcefulConfig config) { | ||
super(configScreen, config); | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/main/java/dev/cammiescorner/arcanuscontinuum/common/compat/ModMenuCompat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package dev.cammiescorner.arcanuscontinuum.common.compat; | ||
|
||
import com.teamresourceful.resourcefulconfig.client.ConfigScreen; | ||
import com.teamresourceful.resourcefulconfig.common.config.ResourcefulConfig; | ||
import com.terraformersmc.modmenu.api.ConfigScreenFactory; | ||
import com.terraformersmc.modmenu.api.ModMenuApi; | ||
import dev.cammiescorner.arcanuscontinuum.Arcanus; | ||
import dev.cammiescorner.arcanuscontinuum.ArcanusConfig; | ||
|
||
public class ModMenuCompat implements ModMenuApi { | ||
@Override | ||
public ConfigScreenFactory<?> getModConfigScreenFactory() { | ||
return parent -> { | ||
ResourcefulConfig config = Arcanus.configurator.getConfig(ArcanusConfig.class); | ||
|
||
if(config == null) | ||
return null; | ||
|
||
return new ConfigScreen(null, config); | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 50 additions & 50 deletions
100
src/main/java/dev/cammiescorner/arcanuscontinuum/common/registry/ArcanusSpellComponents.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.