-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change: Remove dependency on Architectury API
This is a gross refactor to remove dependency on Architectury API. A lot needs to be done to properly clean this up but this works for now.
- Loading branch information
1 parent
0083b57
commit b027bdb
Showing
26 changed files
with
283 additions
and
146 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
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
18 changes: 18 additions & 0 deletions
18
common/src/main/java/io/github/amerebagatelle/mods/nuit/api/NuitPlatformHelper.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,18 @@ | ||
package io.github.amerebagatelle.mods.nuit.api; | ||
|
||
import io.github.amerebagatelle.mods.nuit.api.skyboxes.Skybox; | ||
import io.github.amerebagatelle.mods.nuit.skyboxes.SkyboxType; | ||
import io.github.amerebagatelle.mods.nuit.util.Utils; | ||
import net.minecraft.core.Registry; | ||
|
||
import java.nio.file.Path; | ||
|
||
public interface NuitPlatformHelper { | ||
public static NuitPlatformHelper INSTANCE = Utils.loadService(NuitPlatformHelper.class); | ||
|
||
Path getGameDir(); | ||
|
||
Path getConfigDir(); | ||
|
||
Registry<SkyboxType<? extends Skybox>> getSkyboxTypeRegistry(); | ||
} |
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
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.