Skip to content

Commit

Permalink
update mafglib version to 0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Jan 28, 2024
1 parent 782e1d6 commit 81cab78
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
## Change
- change modid to `rocknroller`
- update mafglib version to `0.1.9`
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "dev.architectury.loom" version "1.2-SNAPSHOT"
id "dev.architectury.loom" version "1.4-SNAPSHOT"
id "maven-publish"
id 'com.modrinth.minotaur' version '2.+'
id 'net.darkhax.curseforgegradle' version '1.+'
Expand All @@ -14,7 +14,7 @@ group = project.maven_group
loom {
forge {
mixinConfigs = [
"itemscroller.mixins.json"
"rocknroller.mixins.json"
]
}
}
Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ loom.platform=forge
# Base properties
# minecraft version
minecraft_version=1.18.2
# forge version, latest version can be found on https://files.minecraftforge.net/
forge_version=1.18.2-40.1.73
# compat version, latest version can be found on https://files.minecraftforge.net/
forge_version=1.18.2-40.2.17
# yarn, latest version can be found on https://fabricmc.net/develop/
yarn_mappings=1.18.2+build.1
yarn_mappings=1.18.2+build.4

# Mod Properties
mod_version=0.1.1
mod_version=0.1.2
maven_group=org.thinkingstudio.rocknroller
archives_base_name=RocknRoller
mod_id=rocknroller
Expand All @@ -21,4 +21,4 @@ loom.platform=forge
curseforge_id=916852

# Dependencies
malilib_version=0.1.7-mc1.18.2
malilib_version=0.1.9-mc1.18.2
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
5 changes: 3 additions & 2 deletions src/main/java/fi/dy/masa/itemscroller/ItemScroller.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import fi.dy.masa.itemscroller.gui.GuiConfigs;
import fi.dy.masa.malilib.compat.forge.ForgePlatformCompat;
import fi.dy.masa.malilib.compat.forge.ForgePlatformUtils;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
Expand All @@ -21,10 +22,10 @@ public ItemScroller() {
}

public void onInitializeClient(FMLClientSetupEvent event) {
ForgePlatformCompat.getInstance().getModClientExtensionPoint();
ForgePlatformUtils.getInstance().getClientModIgnoredServerOnly();
InitializationHandler.getInstance().registerInitializationHandler(new InitHandler());

ForgePlatformCompat.getInstance().getMod(Reference.MOD_ID).registerModConfigScreen((screen) -> {
ForgePlatformUtils.getInstance().getMod(Reference.MOD_ID).registerModConfigScreen((screen) -> {
GuiConfigs gui = new GuiConfigs();
gui.setParent(screen);
return gui;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fi.dy.masa.itemscroller.mixin;
package fi.dy.masa.itemscroller.mixin.compat;

import fi.dy.masa.itemscroller.event.RenderEventHandler;
import net.minecraft.client.MinecraftClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"MixinMerchantScreen",
"MixinMerchantScreenHandler",
"MixinScreen",
"MixinForgeHooksClient"
"compat.MixinForgeHooksClient"
],
"injectors": {
"defaultRequire": 1
Expand Down

0 comments on commit 81cab78

Please sign in to comment.