MightyPirates / BedrockOres

A minecraft mod that adds ore clusters embedded in bedrock, and a machine to extract them automatically.
https://www.curseforge.com/minecraft/mc-mods/bedrockores
Other
12 stars 11 forks source link

Option to increase Ore's Harvest Level #40

Closed nmarshall23 closed 6 years ago

nmarshall23 commented 7 years ago

I would like Bedrock Ores to be slightly harder to get then the normal version of that ore.

My feature request is for two new config options to set the Harvest Level of common ores and rare ores. These options wouldn't change the Ore Miner's ability to harvest bedrock ores.

This would let me set Iron Bedrock Ore to require a Diamond Pickaxe. I could also set the Diamond Ore to require a Pickaxe of Tinker's Cobalt.

fnuecke commented 6 years ago

I'm afraid this isn't possible without some massive reworking of how things work under the hood. Right now, I'm just returning the wrapped block state, and most these checks simply happen on that. The beauty of that is that there's virtually no need for special cases and that things "just work" with pretty much any ore.

I don't really want to start generating "fake" block states to add a layer between the actual block states and whoever uses them to do checks (e.g. player for harvesting), because I fear this would invite a lot of subtle and annoying bugs. Sorry.