Ellpeck / MiningTweaks

A mod that lets you configure the hardness and mining level of existing blocks
Other
2 stars 5 forks source link

Added hardness multiplier. #1

Closed whichonespink44 closed 7 years ago

whichonespink44 commented 7 years ago

Added a new config option called "hardness multiplier" which modifies the hardness of all registered blocks before the 'hardness' and 'mininglevels' settings are applied.

Ellpeck commented 7 years ago

The formatting is nothing like my formatting in any way. Also, I don't see how this config option would be of any use.

whichonespink44 commented 7 years ago

The formatting is nothing like my formatting in any way.

I didn't see any coding guidelines anywhere, so I didn't think it would be an issue, but... I can try to make my code more closely resemble your style if you want.

Also, I don't see how this config option would be of any use.

I was actually in the middle of creating a similar mod to Mining Tweaks that only applied a hardness multiplier to all registered blocks. I desire this functionality so that I can make all blocks more difficult to mine, making the early game more difficult and offering a greater challenge overall.

As I was setting up my mod, I stumbled across Mining Tweaks, which obviously does something very similar, so I thought I'd contribute the code I'd written to your mod rather than creating a new one.

However, if you don't think this feature is a good fit for Mining Tweaks, that's fine, just let me know and I'll go back to creating my own mod.