diff --git a/build.gradle b/build.gradle index 48d53d5f..67dda030 100644 --- a/build.gradle +++ b/build.gradle @@ -172,6 +172,7 @@ dependencies { compileOnly 'curse.maven:codechickenlib-242818:2779848' compileOnly 'curse.maven:cofhworld-271384:2920434' compileOnly 'curse.maven:compactmachines-224218:2707509' + compileOnly 'curse.maven:effortlessbuilding-302113:2847346' compileOnly 'curse.maven:endercore-231868:2972849' compileOnly 'curse.maven:enderio-64578:2989201' compileOnly 'curse.maven:extrautilities-225561:2678374' @@ -197,7 +198,6 @@ dependencies { compileOnly 'curse.maven:tinkerscomplement-272671:2843439' compileOnly 'curse.maven:tinyprogressions-250850:2721018' compileOnly 'maven.modrinth:industrial-foregoing:1.12.13-237' - compileOnly 'curse.maven:effortlessbuilding-302113:2847346' // implementation 'TechReborn:TechReborn-ModCompatibility-1.12.2:1.4.0.76:universal' if (project.use_mixins.toBoolean()) { diff --git a/src/main/java/mod/acgaming/universaltweaks/core/UTMixinLoader.java b/src/main/java/mod/acgaming/universaltweaks/core/UTMixinLoader.java index d7b08c0b..cb7bbc2d 100644 --- a/src/main/java/mod/acgaming/universaltweaks/core/UTMixinLoader.java +++ b/src/main/java/mod/acgaming/universaltweaks/core/UTMixinLoader.java @@ -139,6 +139,8 @@ public boolean shouldMixinConfigQueue(String mixinConfig) return Loader.isModLoaded("collective"); case "mixins.mods.cqrepoured.json": return Loader.isModLoaded("cqrepoured"); + case "mixins.mods.effortlessbuilding.json": + return Loader.isModLoaded("effortlessbuilding"); case "mixins.mods.elementarystaffs.json": return Loader.isModLoaded("element"); case "mixins.mods.elenaidodge2.json": diff --git a/src/main/java/mod/acgaming/universaltweaks/tweaks/items/itementities/mixin/UTEntityItemMixin.java b/src/main/java/mod/acgaming/universaltweaks/tweaks/items/itementities/mixin/UTEntityItemMixin.java index 32b23759..c2a95331 100644 --- a/src/main/java/mod/acgaming/universaltweaks/tweaks/items/itementities/mixin/UTEntityItemMixin.java +++ b/src/main/java/mod/acgaming/universaltweaks/tweaks/items/itementities/mixin/UTEntityItemMixin.java @@ -163,7 +163,8 @@ public void utIECombinationCombine(EntityItem other, CallbackInfoReturnable