pull/1/head
modmuss50 2019-12-10 19:54:45 +00:00
parent 705d4da55b
commit 97a962625c
3 changed files with 7 additions and 7 deletions

View File

@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/use # check these on https://fabricmc.net/use
minecraft_version=1.14.4 minecraft_version=1.15
yarn_mappings=1.14.4+build.15 yarn_mappings=1.15+build.1
loader_version=0.7.0+build.171 loader_version=0.7.2+build.174
# Mod Properties # Mod Properties
mod_version = 1.0.0 mod_version = 1.0.0
@ -14,4 +14,4 @@ org.gradle.jvmargs=-Xmx1G
# Dependencies # Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api # 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

View File

@ -1,12 +1,12 @@
package net.fabricmc.example.mixin; 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.Mixin;
import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(MinecraftClient.class) @Mixin(TitleScreen.class)
public class ExampleMixin { public class ExampleMixin {
@Inject(at = @At("HEAD"), method = "init()V") @Inject(at = @At("HEAD"), method = "init()V")
private void init(CallbackInfo info) { private void init(CallbackInfo info) {

View File

@ -29,7 +29,7 @@
"depends": { "depends": {
"fabricloader": ">=0.4.0", "fabricloader": ">=0.4.0",
"fabric": "*", "fabric": "*",
"minecraft": "1.14.x" "minecraft": "1.15.x"
}, },
"suggests": { "suggests": {
"flamingo": "*" "flamingo": "*"