Skip to content

Commit

Permalink
remap test mod to mojmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolij committed Sep 29, 2023
1 parent 3640c3c commit 8fed9aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion test-mod/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ repositories {

dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings("net.fabricmc:yarn:${project.minecraft_version}+build.${project.yarn_build}:v2")
mappings loom.layered() {
officialMojangMappings()
//parchment("org.parchmentmc.data:parchment-1.20.1:2023.06.26@zip")
}
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

// You can retrieve a specific api module using this notation.
Expand Down
4 changes: 2 additions & 2 deletions test-mod/src/main/java/net/fabricmc/example/ExampleMod.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.fabricmc.example;

import net.fabricmc.api.ModInitializer;
import net.minecraft.block.Block;
import net.minecraft.block.Blocks;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;

public class ExampleMod implements ModInitializer {
@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.fabricmc.example.mixin;

import net.minecraft.client.gui.screen.TitleScreen;
import net.minecraft.client.gui.screens.TitleScreen;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
Expand Down

0 comments on commit 8fed9aa

Please sign in to comment.