DevotedMC / HiddenOre

Allows after-map generation positive rebalance via fine-control over custom drops - Anti-Xray - Built for Minecraft and Paper 1.16.4
https://www.devotedmc.com/hiddenore.html
MIT License
11 stars 29 forks source link

Add special drop prevention #7

Closed ProgrammerDan closed 8 years ago

ProgrammerDan commented 8 years ago

Add a "suppressDrops" boolean config to a block type. If set, ignores rest of config for that block type, and suppresses all drops from that type of block universally, regardless of tool.

ProgrammerDan commented 8 years ago

Until this is added you can emulate that behavior by adding configs for each ore type as follows:

 COAL_ORE:
  allTypes: true
  dropMultiple: false
  drops:
   STONE:
    tools:
     - WOOD_PICKAXE
     - STONE_PICKAXE
     - IRON_PICKAXE
     - GOLD_PICKAXE
     - DIAMOND_PICKAXE
    minY: 0
    maxY: 256
    chance: 1.0
    minAmount: 1
    maxAmount: 1
ProgrammerDan commented 8 years ago

Needs testing.