Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Metal Detector Mod

Usage

This mod adds metal detectors to minecraft. There's 4 types of metal detectors: 1. Copper, 2. Iron, 3. Gold metal detectors and 4. Jewel detector. First detects copper ores and blocks. Second detects iron pressure plates, blocks, ores, doors and trapdoors. Third detects nether gold ores, overworld gold ores and pressure plates. Fourth detects diamond, netherite ores and blocks.

Every metal detector has max depth and max damage. Copper metal detector has 45 meters (blocks) and 100 damage, Iron has 55 meters and 250 damage, Gold has 85 meters and 350 damage, Jewel detector - 95 meters and 270 damage.

Crafting

Copper Gold
Iron Jewel
Display

For developers

All detectors have their own data tag. For copper detector it's minecraft:copper_ores and metaldetectors:copper_ores, for jewel detector its metaldetectors:jewels.json etc.

To add your own detectible block you need to create metaldetectors/tags/blocks folders inside datapack. After that, create file <name>.json.

Names:

  • Copper detector: copper_ores
  • Iron detector: iron_ores
  • Gold detector: gold_ores
  • Jewel detector: jewel

Open file <name>.json in editor. Paste {"values": []}. Inside square brackets put block id ("mod:myblock", for example). If you have more than one block to add to list, add comma and type next block id. Result will be {"values": ["mod:myblock", "mod:block", "mod:my", ...]}

Links


Project members

quitrin_dev

Member


Technical information

License
Client side
required
Server side
required
Project ID