Skip to content

Commit

Permalink
Include only config information
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmelon54 committed Sep 9, 2024
1 parent f706c52 commit cd9db06
Show file tree
Hide file tree
Showing 76 changed files with 889 additions and 3,756 deletions.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "architectury-plugin" version "3.4-SNAPSHOT"
id "dev.architectury.loom" version "1.5-SNAPSHOT" apply false
id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false
id "io.github.pacifistmc.forgix" version "1.2.6"
id "org.ajoberstar.grgit" version "4.1.0"
id "systems.manifold.manifold-gradle-plugin" version "0.0.2-alpha"
Expand Down Expand Up @@ -81,6 +81,9 @@ static void runMappingsOnJar(File input, File output, File mappingsTiny, String

output.delete()

System.out.println(input.toPath().toString())
System.out.println(mappingsTiny.readLines()[0])

try (OutputConsumerPath outputConsumer = new OutputConsumerPath.Builder(output.toPath()).build()) {
outputConsumer.addNonClassFiles(input.toPath(), NonClassCopyMode.FIX_META_INF, remapper)
remapper.readInputs(input.toPath())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,13 @@

import com.mrmelon54.infrastructury.utils.ConfigScreenRegistrar;
import dev.architectury.injectables.annotations.ExpectPlatform;
import me.shedaniel.autoconfig.AutoConfig;
import me.shedaniel.autoconfig.serializer.JanksonConfigSerializer;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.screens.Screen;

import java.util.function.Supplier;

public class Infrastructury {
public static final String MOD_ID = "infrastructury";

public static void init() {
}

public static boolean showDebugScreen() {
#if MC_VER < MC_1_20_2
return Minecraft.getInstance().options.renderDebug;
#else
return Minecraft.getInstance().gui.getDebugOverlay().showDebugScreen();
#endif
}

@ExpectPlatform
public static void registerConfigScreen(ConfigScreenRegistrar registrar) {
// Implemented by each platform
Expand Down

This file was deleted.

13 changes: 0 additions & 13 deletions common/src/main/java/com/mrmelon54/infrastructury/event/Event.java

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit cd9db06

Please sign in to comment.