This commit is contained in:
Bruno Rybársky 2024-05-05 13:30:40 +02:00
parent 67c25b8477
commit 211e658950
3 changed files with 10 additions and 2 deletions

@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.15.11 loader_version=0.15.11
# Mod Properties # Mod Properties
mod_version = 1.0 mod_version = 1.1
maven_group = systems.brn maven_group = systems.brn
archives_base_name = RegexingHoppers archives_base_name = RegexingHoppers

@ -1,5 +1,8 @@
package systems.brn.regexinghoppers; package systems.brn.regexinghoppers;
import me.jellysquid.mods.lithium.common.LithiumMod;
import me.jellysquid.mods.lithium.common.config.LithiumConfig;
import me.jellysquid.mods.lithium.common.config.Option;
import net.fabricmc.api.ModInitializer; import net.fabricmc.api.ModInitializer;
import net.minecraft.block.entity.HopperBlockEntity; import net.minecraft.block.entity.HopperBlockEntity;
import net.minecraft.inventory.Inventory; import net.minecraft.inventory.Inventory;
@ -23,7 +26,6 @@ public class RegexingHoppers implements ModInitializer {
// This code runs as soon as Minecraft is in a mod-load-ready state. // This code runs as soon as Minecraft is in a mod-load-ready state.
// However, some things (like resources) may still be uninitialized. // However, some things (like resources) may still be uninitialized.
// Proceed with mild caution. // Proceed with mild caution.
LOGGER.info("RegexingHoppers initialized!"); LOGGER.info("RegexingHoppers initialized!");
} }

@ -25,5 +25,11 @@
"fabricloader": ">=${loader_version}", "fabricloader": ">=${loader_version}",
"fabric": "*", "fabric": "*",
"minecraft": "${minecraft_version}" "minecraft": "${minecraft_version}"
},
"custom": {
"_lithium_toggle_comment": "We disable the mixin_block_hopper mixin as this makes the filtering function not call if you have a filtering hopper after another hopper.",
"lithium:options": {
"mixin.block.hopper": false
}
} }
} }