MidnightLib 1.5.5

- Fixed button always being visible
- Various visual improvements
This commit is contained in:
Martin Prokoph
2024-05-04 17:59:06 +02:00
parent 64ccaf6195
commit d75d34d675
9 changed files with 91 additions and 39 deletions

View File

@@ -23,6 +23,6 @@ public class PlatformFunctionsImpl {
return ModList.get().isLoaded(modid);
}
public static void registerCommand(LiteralArgumentBuilder<ServerCommandSource> command) {
// Ignored here, see MidnightLibServerEvents#registerCommands
// Ignored here, see MidnightLibNeoForge#registerCommands
}
}

View File

@@ -38,13 +38,6 @@ public class MidnightLibNeoForge {
});
}
}
@Mod.EventBusSubscriber(modid = "midnightlib", value = Dist.CLIENT)
public static class MidnightLibClientEvents {
@SubscribeEvent
public static void afterInitScreen(ScreenEvent.Init.Post event) {
MidnightConfigOverviewScreen.addButtonToOptionsScreen(event.getScreen(), event.getScreen().getMinecraft());
}
}
@Mod.EventBusSubscriber(modid = "midnightlib", value = Dist.DEDICATED_SERVER)
public static class MidnightLibServerEvents {