[Request][Mod Interaction] Method/Interface/API Hook to blacklist certain blocks from the quarry, builder, and similar
ReikaKalseki opened this issue ยท 5 comments
I am working on a dimension with extensive puzzle-type structures, and being able to mine them is very much a problem. The blocks are unbreakable by the player, but their actual hardness is not (and cannot be) less than zero because other metadatas of the block are mineable.
I would greatly appreciate an API hook of some sort - like making a block implement INonMineable - to stop the quarry and similar from tearing into the structures.
Why not make two Blocks, one with all the non-mineable metas and one with all the mineable ones?
I feel that API hook would be greatly abused.
Because they are completely identical for all other purposes and I feel it is wasteful of the still-limited block IDs. Also, doing that change now would break every existing world, as these blocks have already been used extensively for worldgen.
That works; do the Quarry and similar fire them and fail to break a block if that is canceled?