repo for my hex addons :3
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

prefer jxl

+14 -14
+13 -14
project/hexic/build.gradle.kts
··· 179 179 modImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-entity:5.2.3") 180 180 modImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-level:5.2.3") 181 181 modRuntimeOnly("dev.onyxstudios.cardinal-components-api:cardinal-components-api:5.2.3") 182 - 182 + modRuntimeOnly("com.unascribed:lib39-core:2.0.27+1.20.1") 183 + modRuntimeOnly("com.unascribed:lib39-avant:2.0.27+1.20.1") 183 184 modRuntimeOnly("gay.object.hexdebug:hexdebug-fabric:0.5.0+1.20.1-SNAPSHOT") 184 185 } 185 186 ··· 245 246 dependsOn(cloth) 246 247 dependsOn(*downloadedBags.values.toTypedArray()) 247 248 val itemsRoot = destinationDir.resolve("assets/hexic/textures/item") 249 + val jxlOpts = list("-quality", "100", "-define", "jxl:effort=11", "-define", "jxl:lossless=true", "-define", "jxl:modular=true") 248 250 doLast { 249 251 for ((name, color) in colors) { 250 252 exec { 251 - commandLine("env", "magick", cloth.dest, "-channel", "red,green,blue", "-fx", "u*#${color.toString(16)}", itemsRoot.resolve("${name}_mediaweave.png")) 253 + commandLine("env", "magick", cloth.dest, "-channel", "red,green,blue", "-fx", "u*#${color.toString(16)}", "jxl:${itemsRoot.resolve("${name}_mediaweave.png")}") 252 254 } 253 255 val bag = downloadedBags[name]!!.dest 254 256 exec { 255 - commandLine("env", "magick", bag, "-write", itemsRoot.resolve("large_${name}_bundle.png"), "-sample", "14x14", "-background", "transparent", "-extent", "16x16-1-2", itemsRoot.resolve("small_${name}_bundle.png")) 257 + commandLine("env", "magick", bag, "-write", "jxl:${itemsRoot.resolve("large_${name}_bundle.png")}", "-sample", "14x14", "-background", "transparent", "-extent", "16x16-1-2", "jxl:${itemsRoot.resolve("small_${name}_bundle.png")}") 256 258 } 257 259 } 258 260 exec { 259 - commandLine("env", "magick", "wizard:", itemsRoot.resolve("wizard.png")) 261 + commandLine("env", "magick", "wizard:", "jxl:${itemsRoot.resolve("wizard.png")}") 260 262 } 261 263 exec { 262 - commandLine("env", "magick", "null:", itemsRoot.resolve("no.png")) 264 + commandLine("env", "magick", "null:", "jxl:${itemsRoot.resolve("no.jxl")}") 263 265 } 264 266 exec { 265 267 commandLine("env", "magick", ··· 287 289 "pure" to "u", 288 290 )) { 289 291 exec { 290 - commandLine("env", "magick", itemsRoot.resolve("stringworm.miff"), "-channel", "rgb", "-fx", expr, "$itemsRoot/stringworm_$name.png") 292 + commandLine("env", "magick", itemsRoot.resolve("stringworm.miff"), "-channel", "rgb", "-fx", expr, "jxl:$itemsRoot/stringworm_$name.png") 291 293 } 292 294 } 293 295 // people will hate this 294 296 for (i in 0..31) { 295 - itemsRoot.resolve("stringworm_tinted_$i.png").outputStream().use { 296 - exec { 297 - commandLine("env", "magick", itemsRoot.resolve("stringworm.miff"), "-fx", "i+j == $i ? u : Transparent", "png:-") 298 - standardOutput = it 299 - } 297 + exec { 298 + commandLine("env", "magick", itemsRoot.resolve("stringworm.miff"), "-fx", "i+j == $i ? u : Transparent", "jxl:${itemsRoot.resolve("stringworm_tinted_$i.jxl")}") 300 299 } 301 300 } 302 301 file("$itemsRoot/../block").mkdir() 303 302 exec { 304 - commandLine("env", "magick", "xc:#ffffff[16x16]", itemsRoot.resolveSibling("block/border.png")) 303 + commandLine("env", "magick", "xc:#ffffff[16x16]", "jxl:${itemsRoot.resolveSibling("block/border.jxl")}") 305 304 } 306 - //file("$itemsRoot/stringworm.miff").delete() 305 + file("$itemsRoot/stringworm.miff").delete() 307 306 exec { 308 - commandLine("env", "magick", "https://www.masterbuilt.com/cdn/shop/articles/162_20-_20Voodoo_20Baked_20Beans.jpg", "-sample", "256x256", itemsRoot.resolve("beans.png")) 307 + commandLine("env", "magick", "https://www.masterbuilt.com/cdn/shop/articles/162_20-_20Voodoo_20Baked_20Beans.jpg", "-sample", "256x256", "jxl:${itemsRoot.resolve("beans.jxl")}") 309 308 } 310 309 } 311 310
+1
project/hexic/changelog
··· 2 2 2.0.0 load config from config/*.properties instead of config/jvm.properties 3 3 2.0.0 murmur and reveal now use separate components 4 4 2.0.0 !removed tripwires 5 + 2.0.0 textures now use JPEG XL
project/hexic/src/main/resources/assets/hexic/textures/item/coconut.jpg

This is a binary file and will not be displayed.

project/hexic/src/main/resources/assets/hexic/textures/item/coconut.png

This is a binary file and will not be displayed.

project/hexic/src/main/resources/assets/hexic/textures/item/echo.png

This is a binary file and will not be displayed.