mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-16 11:45:09 +01:00
Add 1.12 compatibility
This commit is contained in:
@@ -110,12 +110,13 @@ curseforge {
|
|||||||
changelogType = 'html'
|
changelogType = 'html'
|
||||||
changelog = System.getenv('CHANGELOG')
|
changelog = System.getenv('CHANGELOG')
|
||||||
if (changelog == null || 'none'.equals(changelog)) {
|
if (changelog == null || 'none'.equals(changelog)) {
|
||||||
changelog = getChangelog()
|
changelog = getChangelog() ?: ''
|
||||||
changelogType = 'text'
|
changelogType = 'text'
|
||||||
}
|
}
|
||||||
releaseType = project.release_type
|
releaseType = project.release_type
|
||||||
addGameVersion '1.9.4'
|
addGameVersion '1.9.4'
|
||||||
addGameVersion '1.11.2'
|
addGameVersion '1.11.2'
|
||||||
|
addGameVersion '1.12'
|
||||||
mainArtifact(jar) {
|
mainArtifact(jar) {
|
||||||
displayName = "Blur ${mod_version}"
|
displayName = "Blur ${mod_version}"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,4 +27,15 @@ public class BlurGuiFactory implements IModGuiFactory {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 1.12
|
||||||
|
// @Override
|
||||||
|
public boolean hasConfigGui() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 1.12
|
||||||
|
// @Override
|
||||||
|
public GuiScreen createConfigGui(GuiScreen parentScreen) {
|
||||||
|
return new BlurConfigGui(parentScreen);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user