Scavenge
by Speiger
Scavenge lets a block's right-click and left-click behavior be scripted, with loot pools, conditions and effects defined through data files.
What it does
Scavenge applies custom right-click and left-click behavior to blocks. A block can be made unbreakable, or set to disappear after a fixed number of uses. Player actions such as sneaking, or holding a diamond in hand, can serve as conditions that decide what happens when the block is used.
Scripts are written as JSON files and loaded automatically from datapack folders, and resource packs reload with them. The mod works with datapacks, and its loot pools link to vanilla loot pools. Math operations and conditions are available for more complex logic, and error messages are attached directly to conditions. Carbon Config is an optional dependency. Files are published for Forge and NeoForge across four game versions, 1.19.2 – 1.21, under All rights reserved, so the mod is not open source.
Key features
Custom click behavior
Blocks can run scripted behavior on right-click or left-click, with effects executed on the server after conditions are tested.
Block limits
A block can be set as unbreakable or removed after five uses, which supports one-off puzzles and reward blocks.
Math and conditions
Conditions are inverted by default, and math operations let scripts compare values, with error messages shown for failing conditions.
Loot pool integration
Scripts can add loot pool entries that drop when their conditions are met, and examples are generated for reference.
JEI support
Scripts are reloaded and synced with JEI so recipe and data changes show up quickly in the recipe viewer.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Optional 1
Use cases
Datapack puzzles
Map makers can attach right-click rewards and one-use blocks to an adventure map using only datapack files.
Server loot tables
Server owners can add conditional drops from blocks, with data synced between server and client.
Who it’s for: Datapack authors, map makers and server owners who want blocks to react to player actions without writing Java code.
Questions
Does Scavenge need to be installed on both sides?
Is Carbon Config required for Scavenge?
Which loaders does Scavenge support?
More from Speiger
What the author says
Scavenge is a mod that allows you to apply custom RightClick/LeftClick behaviors to any Block. On top of that you can add LootPools to these behaviors that are dropped when the conditions are met. These things are loaded from JsonFiles and act closely to a Scripting language. On top of that you can add certain unque…
Official listing
- Modrinth page
- modrinth.com/mod/scavenge
- Owner
- Speiger
- Published
- 2024-06-28
- Updated on Modrinth
- 2026-06-22
- Facts verified
- 2026-10-15
