[Feature Request] Ore Magnet Blacklist/Whitelist
Andromander opened this issue ยท 1 comments
The Problem
Currently, Ore Magnets and Miner's Tree Cores pull up all blocks with Ore in the name - barring Coal Ore - or Liveroots. However, as noted in #tech-support in the Discord, this can cause issues with other mods, namely Carbonado (pulls up the ores, but leaves behind Bedrock when broken). The proposed solutions here would be to have either a Blacklist or a Whitelist for Ores.
Solutions
If using a Blacklist, even if the block contains "ore" in the name, it will not be pulled up. By default, this config would include Coal Ore as it does not get pulled up normally.
If using a Whitelist, any block that is included in the list will be pulled up, regardless of whether the block contains "ore" in the name or not. By default, this would contain Liveroots, since it does not contain "ore" in the name, but it does get pulled up, anyway.
However, each list each present their own issues. Blacklists exclude what was added into the list, so if another mod adds an Ore-like block that could be pulled up but it does not contain "ore" in the name, they cannot. Whitelists can get extensive, especially with populating them with all the Ores. It might be that both Blacklist and Whitelist should be implemented, but also a check in place so that Whitelists and Blacklists don't have matching entries. The list of pulled-up ores can remain in code, but also a check afterwards to see if the configs allow the block to be pulled up (Coal Ore can be in the blacklist, while Liveroot can be in the whitelist).