Update to minecraft 1.18.1
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
30f4fc2232
commit
7252c637b9
|
@ -35,7 +35,7 @@ group = "fr.username404"
|
||||||
version = "0.3.4"
|
version = "0.3.4"
|
||||||
val groupAndName = "${rootProject.group}.${rootProject.name.toLowerCase()}"
|
val groupAndName = "${rootProject.group}.${rootProject.name.toLowerCase()}"
|
||||||
|
|
||||||
val javaVer: String = "16"
|
val javaVer: String = "17"
|
||||||
val sourceJavaVer: String = javaVer
|
val sourceJavaVer: String = javaVer
|
||||||
val kotlinVer: String by rootProject
|
val kotlinVer: String by rootProject
|
||||||
val kotlinSplitVersion = kotlinVer.split('.')
|
val kotlinSplitVersion = kotlinVer.split('.')
|
||||||
|
@ -58,7 +58,7 @@ subprojects {
|
||||||
apply(plugin = "org.jetbrains.kotlin.plugin.serialization")
|
apply(plugin = "org.jetbrains.kotlin.plugin.serialization")
|
||||||
extensions.configure<LoomGradleExtension>("loom") {
|
extensions.configure<LoomGradleExtension>("loom") {
|
||||||
mappingsDep = layered {
|
mappingsDep = layered {
|
||||||
officialMojangMappings().parchment("org.parchmentmc.data:parchment-${rootProject.architectury.minecraft}:2021.10.24")
|
officialMojangMappings().parchment("org.parchmentmc.data:parchment-${rootProject.architectury.minecraft}:2022.02.13")
|
||||||
}
|
}
|
||||||
silentMojangMappingsLicense()
|
silentMojangMappingsLicense()
|
||||||
val refmap = "snowygui-${project.name}-refmap.json"
|
val refmap = "snowygui-${project.name}-refmap.json"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
architectury { common(); injectInjectables = false }
|
architectury { common(); injectInjectables = false }
|
||||||
dependencies {
|
dependencies {
|
||||||
modImplementation("net.fabricmc:fabric-loader:${rootProject.property("fabric_loader_version")}")
|
modImplementation("net.fabricmc:fabric-loader:${rootProject.property("fabric_loader_version")}")
|
||||||
implementation("me.shedaniel.cloth:cloth-config:${rootProject.property("clothconfig_version")}") {
|
modImplementation("me.shedaniel.cloth:cloth-config:${rootProject.property("clothconfig_version")}") {
|
||||||
exclude(module = "fabric-api")
|
exclude(module = "fabric-api")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ import fr.username404.snowygui.gui.feature.ButtonImpl
|
||||||
import net.minecraftforge.fml.ModList
|
import net.minecraftforge.fml.ModList
|
||||||
import net.minecraftforge.fml.common.Mod
|
import net.minecraftforge.fml.common.Mod
|
||||||
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent
|
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent
|
||||||
import net.minecraftforge.fmlclient.ConfigGuiHandler
|
import net.minecraftforge.client.ConfigGuiHandler
|
||||||
import net.minecraftforge.forgespi.language.ModFileScanData
|
import net.minecraftforge.forgespi.language.ModFileScanData
|
||||||
import org.objectweb.asm.Type
|
import org.objectweb.asm.Type
|
||||||
import thedarkcolour.kotlinforforge.forge.FORGE_BUS
|
import thedarkcolour.kotlinforforge.forge.FORGE_BUS
|
||||||
|
|
|
@ -6,7 +6,7 @@ import net.minecraftforge.eventbus.api.SubscribeEvent
|
||||||
|
|
||||||
object ZoomHandler {
|
object ZoomHandler {
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
fun onFOVEvent(event: EntityViewRenderEvent.FOVModifier) {
|
fun onFOVEvent(event: EntityViewRenderEvent.FieldOfView) {
|
||||||
if (Zoom.toggled) event.fov = Zoom.getNewZoom(event.fov)
|
if (Zoom.toggled) event.fov = Zoom.getNewZoom(event.fov)
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,16 +7,16 @@ org.gradle.parallel=true
|
||||||
org.gradle.unsafe.configuration-cache=on
|
org.gradle.unsafe.configuration-cache=on
|
||||||
org.gradle.vfs.watch=true
|
org.gradle.vfs.watch=true
|
||||||
|
|
||||||
minecraft=1.17.1
|
minecraft=1.18.1
|
||||||
forge_version=37.1
|
forge_version=39.1
|
||||||
kotlinforforge=2.0.1
|
kotlinforforge=3.1.0
|
||||||
kotlinVer=1.6.0
|
kotlinVer=1.6.0
|
||||||
kotlin_coroutines_version=1.5.0
|
kotlin_coroutines_version=1.5.0
|
||||||
serializationVer=1.2.1
|
serializationVer=1.2.1
|
||||||
fabric_loader_version=0.11.7
|
fabric_loader_version=0.11.7
|
||||||
fabric_language_kotlin=1.7.0+kotlin.1.6.0
|
fabric_language_kotlin=1.7.0+kotlin.1.6.0
|
||||||
fabric_resource_loader_version=0.4.7+b7ab6121d5
|
fabric_resource_loader_version=0.4.14+713c266865
|
||||||
fabric_rendering_api_version=1.6.0+a02b4463d5
|
fabric_rendering_api_version=1.10.6+713c266865
|
||||||
fabric_api_base_version=0.3.0+a02b4463d5
|
fabric_api_base_version=0.3.0+a02b4463d5
|
||||||
clothconfig_version=4.11.19
|
clothconfig_version=6.2.57
|
||||||
modmenu_version=2.0.2
|
modmenu_version=3.0.1
|
||||||
|
|
Loading…
Reference in New Issue