Loading...
Beta Modpages Unclaimed

Enhanced Comparator

Adds comparator support for every IInventory

0 Likes
1545 Downloads
Created by Ephys

Description

What is this mod ?

It "fixes" the laziness of 99% of modders out there (including me) who forget to implement the comparator input override for their blocks.

What does it do ?

If the block has a comparator input override, it will behave just like the vanilla comparator

Otherwise, if the block is an inventory, It will emit a strength depending on the contents of the inventory behind it, just like a comparator.

There is also a bit of special code for some blocks (so far the anvil and the noteblock). The system is modular and I can add specific comparator support for any block if the inventory content is not the best option (or you can, via the dev API).

So... I used it and it's cool and all but sometimes the redstone signal does not update even though the inventory changed, what do I do ?

That's because the inventory did not call IInventory.markDirty() when it's inventory changed (at least I think that's the reason from what I learned playing with inventories), tell the mod author about this bug (avoid spamming him/her, be polite, blablah, plzthx).

There might also be trouble with remote inventories (like transvector interfaces, remoteIO, etc) because the block that would update is the original block and not the interface (as there is no really good way of detecting that a block updated)

Can I hotfix that problem ?

Yup, place a redstone clock a block away from your comparator, it doesn't have to touch it. As long as nearby redstone updates, the comparator will update too.


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Botania

An innovative natural magic themed tech mod

Thermal Expansion

Expanding Minecraft Thermally! A server-friendly and content-rich blend of magic and technology!

Mekanism

High-tech machinery, powerful energy generation, fancy gadgets and more. Now on Curse!

Industrial Foregoing

A collection of machines to make your minecraft builds easier to automate

Flux Networks

Wireless Energy Networks, compatible with FE/EU/RF/TESLA/AE

Create

Aesthetic Technology that empowers the Player