Gameonlp / OreDepos

A simple Minecraft mod that adds ore deposits and miners like in Factorio
MIT License
0 stars 0 forks source link

Create drills always break deposit blocks #8

Closed Derpford closed 1 year ago

Derpford commented 2 years ago

When a deposit block is broken by a Create drill, it drops exactly one ore chunk and then disappears. This happens whether the drill is stationary or part of a Contraption.

I'm not sure how much you can really do to resolve this, but ideally Create drills would behave exactly like pickaxes do--that is, breaking the block with a Create drill drops one ore chunk but doesn't remove the block.

Gameonlp commented 2 years ago

Sadly there is no general API for block breaking, so create just does its best by dropping what the block would drop and then forcefully replacing it.

Derpford commented 2 years ago

I wonder if the Create devs could add some way of telling the drill that it shouldn't actually replace the block.

Derpford commented 2 years ago

According to this: https://github.com/Creators-of-Create/Create/issues/3061

There's a tag that Create's drills look for now, called NO_BREAK_DROPS.

Gameonlp commented 2 years ago

Interesting, will look into this later after work

Derpford commented 2 years ago

https://github.com/dadobug1111/DadobugBedrockOres/issues/6#issuecomment-1180885715

This issue on Bedrock Ores also seems relevant.

Gameonlp commented 2 years ago

According to this: Creators-of-Create/Create#3061

There's a tag that Create's drills look for now, called NO_BREAK_DROPS.

Sadly the tag never got implemented

[dadobug1111/DadobugBedrockOres#6 (comment)]

This issue on Bedrock Ores also seems relevant.

The solution they outline leads to even worse results. Block breakers which behave like miners work fine, block breakers like cyclics block breaker create infinite drops at sonic speed.