You can now add maxuses to mineable-blocks to set a max amount of times a block can be mined before it breaks. If it a block reaches its max uses it will simply disappear, meaning the player will have to find another block to mine. This is also an optional setting and can be ommitted.
For Example:
Code (Text):
mineable-blocks:
diamond_ore:
fuels: [coal,CUSTOM:superfuel]
gives: diamond:1
maxuses: 10
iron_ore:
fuels: [coal,charcoal,CUSTOM:superfuel]
gives: raw_iron:3
coal_ore:
fuels: [charcoal,coal,CUSTOM:superfuel]
gives: coal:2
gold_ore:
fuels: [charcoal,coal,CUSTOM:superfuel]
gives: raw_gold:2
ancient_debris:
fuels: [CUSTOM:superfuel]
gives: netherite_scrap:1
maxuses: 5