Skip to content

Commit 0746351

Browse files
committed
Skyboxify Rebrand / Events / Fix Dissapearing Issue
1 parent ed320cb commit 0746351

File tree

87 files changed

+2098
-888
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+2098
-888
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[*.json]
2+
indent_style = tab
3+
indent_size = 4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
build/
55
out/
66
classes/
7+
libs/
78

89
# eclipse
910

HEADER

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/**
2+
* Skyboxify
3+
* A skybox mod that allows you to use OptiFine skies in Fabric 1.21+
4+
* <p>
5+
* Copyright (C) 2025 lowercasebtw
6+
* Copyright (C) 2025 Contributors to the project retain their copyright
7+
* <p>
8+
* This program is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* (at your option) any later version.
12+
* <p>
13+
* This program is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
* <p>
18+
* You should have received a copy of the GNU General Public License
19+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
* <p>
21+
* "MINECRAFT" LINKING EXCEPTION TO THE GPL
22+
*/
23+

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
# optiboxes
1+
# Skyboxify
22

3-
A skybox mod that allows you to use Optifine skies in Fabric 1.21+
4-
Join our discord: https://discord.gg/zqnXSUqedW
3+
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/C0C31INYGG)
4+
5+
A skybox mod that allows you to use OptiFine skies in Fabric 1.21+
6+
Join our discord: https://discord.gg/C8KKgbA8jy
57

68
## License
79

@@ -14,6 +16,6 @@ Special thanks to UsernameGeri & Zenith for helping with the logo!
1416
## Support
1517

1618
Have any issues or need support? Feel free to use
17-
the [issue tracker](https://github.com/lowercasebtw/optiboxes/issues) to address that. If you are reporting a
19+
the [issue tracker](https://github.com/lowercasebtw/Skyboxify/issues) to address that. If you are reporting a
1820
crash, make sure you include information about the mods you are using and attach any relevant log files you have. If you
19-
want to suggest features, join the [discord](https://discord.gg/zqnXSUqedW)!
21+
want to suggest features, join the [discord](https://discord.gg/C8KKgbA8jy)!

build.gradle.kts

Lines changed: 41 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,43 +11,44 @@ plugins {
1111
}
1212

1313
class ModData {
14-
val id = property("mod.id").toString()
15-
val name = property("mod.name")
16-
val version = property("mod.version")
17-
val group = property("mod.group").toString()
18-
val description = property("mod.description")
19-
val source = property("mod.source")
20-
val issues = property("mod.issues")
21-
val license = property("mod.license").toString()
22-
val modrinth = property("mod.modrinth")
23-
val curseforge = property("mod.curseforge")
24-
val discord = property("mod.discord")
25-
val obfuscated = parseBoolean(property("mod.obfuscated").toString())
14+
val id = property("mod.id") as String
15+
val name = property("mod.name") as String
16+
val version = property("mod.version") as String
17+
val group = property("mod.group") as String
18+
val description = property("mod.description") as String
19+
val source = property("mod.source") as String
20+
val issues = property("mod.issues") as String
21+
val license = property("mod.license") as String
22+
val modrinth = property("mod.modrinth") as String
23+
val curseforge = property("mod.curseforge") as String
24+
val discord = property("mod.discord") as String
25+
val obfuscated = parseBoolean(property("mod.obfuscated") as String)
2626
val minecraftVersion = property("mod.minecraft_version") as String
2727
val minecraftVersionRange = property("mod.minecraft_version_range") as String
2828
}
2929

3030
class Dependencies {
31-
val neoForgeVersion = property("deps.neoforge_version")
32-
val fabricLoaderVersion = property("deps.fabric_loader_version")
33-
val fabricApiVersion = property("deps.fabric_api_version").toString()
34-
val mixinconstraintsVersion = property("deps.mixinconstraints_version")
35-
val mixinsquaredVersion = property("deps.mixinsquared_version")
36-
val lombokVersion = property("deps.lombok_version")
37-
val lightConfigVersion = property("deps.lightconfig_version")
31+
val neoForgeVersion = property("deps.neoforge_version") as String?
32+
val fabricLoaderVersion = property("deps.fabric_loader_version") as String?
33+
val fabricApiVersion = property("deps.fabric_api_version") as String?
34+
val devAuthVersion = property("deps.devauth_version") as String?
35+
val mixinconstraintsVersion = property("deps.mixinconstraints_version") as String?
36+
val mixinsquaredVersion = property("deps.mixinsquared_version") as String?
37+
val lombokVersion = property("deps.lombok_version") as String?
38+
val lightConfigVersion = property("deps.lightconfig_version") as String?
3839
}
3940

4041
class LoaderData {
41-
val loader = loom.platform.get().name.lowercase()
42-
val isFabric = loader == "fabric"
43-
val isNeoforge = loader == "neoforge"
42+
val name = loom.platform.get().name.lowercase()
43+
val isFabric = this@LoaderData.name == "fabric"
44+
val isNeoforge = this@LoaderData.name == "neoforge"
4445
}
4546

4647
val mod = ModData()
4748
val deps = Dependencies()
4849
val loader = LoaderData()
4950

50-
version = "${mod.version}+${mod.minecraftVersion}-${loader.loader}"
51+
version = "${mod.version}+${mod.minecraftVersion}-${loader.name}"
5152
group = mod.group
5253
base { archivesName.set(mod.id) }
5354

@@ -84,6 +85,8 @@ loom.runs {
8485
vmArg("-javaagent:$mixinJarFile") // Mixin Hotswap doesn't work on NeoForge, but doesn't hurt to keep
8586
property("mixin.hotSwap", "true")
8687
property("mixin.debug.export", "true") // Puts mixin outputs in /run/.mixin.out
88+
property("devauth.enabled", "true")
89+
property("devauth.account", "main")
8790
}
8891
}
8992
}
@@ -100,13 +103,14 @@ fletchingTable {
100103

101104
repositories {
102105
mavenCentral()
106+
mavenLocal()
103107
maven("https://maven.parchmentmc.org") // Parchment
104-
maven("https://maven.terraformersmc.com") // Mod Menu
105108
maven("https://maven.nucleoid.xyz/") // Placeholder API - required by Mod Menu
109+
maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1") // DevAuth
106110
maven("https://maven.neoforged.net/releases") // NeoForge
107111
maven("https://maven.bawnorton.com/releases") // MixinSquared
112+
maven("https://maven.terraformersmc.com") // Mod Menu
108113
maven("https://api.modrinth.com/maven") // Modrinth
109-
maven("https://jitpack.io") // LightConfig
110114
}
111115

112116
dependencies {
@@ -124,20 +128,23 @@ dependencies {
124128

125129
compileOnly("org.projectlombok:lombok:${deps.lombokVersion}")
126130
annotationProcessor("org.projectlombok:lombok:${deps.lombokVersion}")
131+
modRuntimeOnly("me.djtheredstoner:DevAuth-${loader.name}:${deps.devAuthVersion}")
127132

128133
// LightConfig
129-
include(modImplementation("com.github.Legacy-Visuals-Project:LightConfig:${deps.lightConfigVersion}")!!)
134+
include(modImplementation("org.visuals.legacy:lightconfig:${deps.lightConfigVersion}-${mod.minecraftVersion}_${loader.name}")!!)
130135

131136
include(implementation("com.moulberry:mixinconstraints:${deps.mixinconstraintsVersion}")!!)!!
132-
include(implementation(annotationProcessor("com.github.bawnorton.mixinsquared:mixinsquared-${loader.loader}:${deps.mixinsquaredVersion}")!!)!!)
137+
include(implementation(annotationProcessor("com.github.bawnorton.mixinsquared:mixinsquared-${loader.name}:${deps.mixinsquaredVersion}")!!)!!)
133138
if (loader.isFabric) {
134139
modImplementation("net.fabricmc:fabric-loader:${deps.fabricLoaderVersion}")
135140

136141
modImplementation(fabricApi.module("fabric-resource-loader-v0", deps.fabricApiVersion))
137142
modImplementation(fabricApi.module("fabric-command-api-v2", deps.fabricApiVersion))
138143

139144
optionalProp("deps.modmenu_version") { prop ->
140-
modImplementation("com.terraformersmc:modmenu:${prop}")
145+
modImplementation("com.terraformersmc:modmenu:${prop}") {
146+
exclude(group, "net.fabricmc.fabric-api")
147+
}
141148
}
142149
} else if (loader.isNeoforge) {
143150
"neoForge"("net.neoforged:neoforge:${deps.neoForgeVersion}")
@@ -166,7 +173,7 @@ publishMods {
166173
changelog = project.rootProject.file("CHANGELOG.md").takeIf { it.exists() }?.readText() ?: "No changelog provided."
167174
type = STABLE
168175

169-
modLoaders.add(loader.loader)
176+
modLoaders.add(loader.name)
170177
dryRun = modrinthId == null && curseforgeId == null
171178
if (modrinthId != null) {
172179
modrinth {
@@ -213,6 +220,11 @@ tasks {
213220
put("discord", mod.discord)
214221
if (loader.isFabric) {
215222
put("fabric_loader_version", deps.fabricLoaderVersion)
223+
put("fabric_resource_loader_dep", if (stonecutter.eval(stonecutter.current.version, ">=1.21.10"))
224+
"fabric-resource-loader-v1"
225+
else
226+
"fabric-resource-loader-v0"
227+
)
216228
}
217229

218230
if (loader.isNeoforge) {

gradle.properties

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ org.gradle.jvmargs=-Xmx4G
33
org.gradle.parallel=true
44

55
# Mod properties
6-
mod.name=Optiboxes
7-
mod.id=optiboxes
8-
mod.version=1.8
9-
mod.group=btw.lowercase.optiboxes
6+
mod.name=Skyboxify
7+
mod.id=skyboxify
8+
mod.version=2.0
9+
mod.group=btw.lowercase
1010
mod.description=A skybox mod that allows you to use OptiFine skies in Fabric 1.21+
11-
mod.source=https://github.com/Legacy-Visuals-Project/optiboxes
12-
mod.issues=https://github.com/Legacy-Visuals-Project/optiboxes/issues
11+
mod.source=https://github.com/Legacy-Visuals-Project/Skyboxify
12+
mod.issues=https://github.com/Legacy-Visuals-Project/Skyboxify/issues
1313
mod.license=GPL-3.0-with-linking-exception
14-
mod.modrinth=https://modrinth.com/mod/optiboxes
15-
mod.curseforge=https://legacy.curseforge.com/minecraft/mc-mods/optiboxes
14+
mod.modrinth=https://modrinth.com/mod/skyboxify
15+
mod.curseforge=https://legacy.curseforge.com/minecraft/mc-mods/skyboxify
1616
mod.discord=https://discord.gg/C8KKgbA8jy
1717

1818
# Publishing
@@ -21,11 +21,10 @@ publish.curseforge=1301799
2121

2222
# Dependencies
2323
deps.fabric_loader_version=0.17.3
24+
deps.devauth_version=1.2.1
2425
deps.mixinconstraints_version=1.1.0
2526
deps.mixinsquared_version=0.2.0
2627
deps.lombok_version=1.18.42
27-
deps.lightconfig_version=7a845fa4ef
28-
# 1.0-alpha.1 ---^
2928

3029
# Build Plugins
3130
# in libs.versions.toml

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ publishing = "0.8.4"
55
blossom = "1.3.2"
66
ksp = "2.2.0-2.0.2"
77
fletchingtable = "0.1.0-alpha.13"
8+
spotless = "8.0.0"
89

910
[plugins]
1011
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin-jvm" }
1112
loom = { id = "dev.architectury.loom", version.ref = "loom" }
1213
publishing = { id = "me.modmuss50.mod-publish-plugin", version.ref = "publishing" }
1314
blossom = { id = "net.kyori.blossom", version.ref = "blossom" }
1415
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
16+
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
1517
fletchingtable-fabric = { id = "dev.kikugie.fletching-table.fabric", version.ref = "fletchingtable" }
1618
fletchingtable-neoforge = { id = "dev.kikugie.fletching-table.neoforge", version.ref = "fletchingtable" }

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ dependencyResolutionManagement {
4343
}
4444
}
4545

46-
rootProject.name = "optiboxes"
46+
rootProject.name = "Skyboxify"

0 commit comments

Comments
 (0)