summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--gradle.properties8
-rw-r--r--src/main/java/net/fabricmc/example/mixin/ExampleMixin.java4
-rw-r--r--src/main/resources/fabric.mod.json2
3 files changed, 7 insertions, 7 deletions
diff --git a/gradle.properties b/gradle.properties
index e378970..e2f414f 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G
 
 # Fabric Properties
 	# check these on https://fabricmc.net/use
-	minecraft_version=1.14.4
-	yarn_mappings=1.14.4+build.15
-	loader_version=0.7.0+build.171
+	minecraft_version=1.15
+	yarn_mappings=1.15+build.1
+	loader_version=0.7.2+build.174
 
 # Mod Properties
 	mod_version = 1.0.0
@@ -14,4 +14,4 @@ org.gradle.jvmargs=-Xmx1G
 
 # Dependencies
 	# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
-	fabric_version=0.4.1+build.245-1.14
+	fabric_version=0.4.23+build.276-1.15
diff --git a/src/main/java/net/fabricmc/example/mixin/ExampleMixin.java b/src/main/java/net/fabricmc/example/mixin/ExampleMixin.java
index 0fc8f68..83ee1a8 100644
--- a/src/main/java/net/fabricmc/example/mixin/ExampleMixin.java
+++ b/src/main/java/net/fabricmc/example/mixin/ExampleMixin.java
@@ -1,12 +1,12 @@
 package net.fabricmc.example.mixin;
 
-import net.minecraft.client.MinecraftClient;
+import net.minecraft.client.gui.screen.TitleScreen;
 import org.spongepowered.asm.mixin.Mixin;
 import org.spongepowered.asm.mixin.injection.At;
 import org.spongepowered.asm.mixin.injection.Inject;
 import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
 
-@Mixin(MinecraftClient.class)
+@Mixin(TitleScreen.class)
 public class ExampleMixin {
 	@Inject(at = @At("HEAD"), method = "init()V")
 	private void init(CallbackInfo info) {
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index b864c78..a20878f 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -29,7 +29,7 @@
   "depends": {
     "fabricloader": ">=0.4.0",
     "fabric": "*",
-    "minecraft": "1.14.x"
+    "minecraft": "1.15.x"
   },
   "suggests": {
     "flamingo": "*"