update to 48b, new fabric-loader definition

pull/2/head
Adrian Siekierka 6 years ago
parent 952a3d1787
commit 4d0c364880

@ -29,7 +29,7 @@ minecraft {
} }
dependencies { dependencies {
minecraft "com.mojang:minecraft:18w44a" minecraft "com.mojang:minecraft:18w48b"
mappings "net.fabricmc:pomf:18w44a.38" mappings "net.fabricmc:pomf:18w48b.4"
modCompile "net.fabricmc:fabric-loader:18w44a-0.1.0.43" modCompile "net.fabricmc:fabric-loader:0.1.0.48"
} }

@ -1,12 +1,12 @@
package net.fabricmc.example.mixin; package net.fabricmc.example.mixin;
import net.minecraft.client.MinecraftGame; import net.minecraft.client.MinecraftClient;
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(MinecraftGame.class) @Mixin(MinecraftClient.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) {

Loading…
Cancel
Save