mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 13:06:30 +02:00
Modrinth: add support for Canvas shaders
This commit is contained in:
parent
b258d64520
commit
945a608112
@ -51,7 +51,8 @@ func getProjectIdsViaSearch(query string, versions []string) ([]*modrinthApi.Sea
|
|||||||
|
|
||||||
// "Loaders" that are supported regardless of the configured mod loaders
|
// "Loaders" that are supported regardless of the configured mod loaders
|
||||||
var defaultMRLoaders = []string{
|
var defaultMRLoaders = []string{
|
||||||
// TODO: check if Iris/Optifine are installed? suggest installing them?
|
// TODO: check if Canvas/Iris/Optifine are installed? suggest installing them?
|
||||||
|
"canvas",
|
||||||
"iris",
|
"iris",
|
||||||
"optifine",
|
"optifine",
|
||||||
"vanilla", // Core shaders
|
"vanilla", // Core shaders
|
||||||
@ -59,6 +60,7 @@ var defaultMRLoaders = []string{
|
|||||||
}
|
}
|
||||||
|
|
||||||
var withDatapackPathMRLoaders = []string{
|
var withDatapackPathMRLoaders = []string{
|
||||||
|
"canvas",
|
||||||
"iris",
|
"iris",
|
||||||
"optifine",
|
"optifine",
|
||||||
"vanilla", // Core shaders
|
"vanilla", // Core shaders
|
||||||
@ -82,6 +84,7 @@ var loaderFolders = map[string]string{
|
|||||||
"bungeecord": "plugins",
|
"bungeecord": "plugins",
|
||||||
"waterfall": "plugins",
|
"waterfall": "plugins",
|
||||||
"velocity": "plugins",
|
"velocity": "plugins",
|
||||||
|
"canvas": "resourcepacks",
|
||||||
"iris": "shaderpacks",
|
"iris": "shaderpacks",
|
||||||
"optifine": "shaderpacks",
|
"optifine": "shaderpacks",
|
||||||
"vanilla": "resourcepacks",
|
"vanilla": "resourcepacks",
|
||||||
@ -107,7 +110,8 @@ var loaderPreferenceList = []string{
|
|||||||
// Prefer newer BungeeCord forks
|
// Prefer newer BungeeCord forks
|
||||||
"waterfall",
|
"waterfall",
|
||||||
"bungeecord",
|
"bungeecord",
|
||||||
// Prefer Iris shaders to Optifine shaders to core shaders
|
// Prefer Canvas shaders to Iris shaders to Optifine shaders to core shaders
|
||||||
|
"canvas",
|
||||||
"iris",
|
"iris",
|
||||||
"optifine",
|
"optifine",
|
||||||
"vanilla",
|
"vanilla",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user