
Tiered Depths - CraftTweaker Addon for Mining Level Restrictions
Tiered Depths is an addon for CraftTweaker that allows pack developers to set mining level restrictions based on vertical position (Y-coordinate).
Mod Capabilities
With this modification, you can configure specific blocks to become unmineable with low-level tools at greater depths. This enables creation of progressive resource extraction systems where players must upgrade their equipment as they venture deeper into the world.
Usage Syntax
To set up restrictions, use the following command format:
mods.td.TieredDepths.addBlacklist(IBlockStateMatcher blackListedBlock, int maxHeight, int dimension, int minimumMiningLevel);
Practical Example
Consider this practical implementation:
mods.td.TieredDepths.addBlacklist(<blockstate:minecraft:stone>,32,0,1);
This command establishes a restriction where stone cannot be mined using a wooden pickaxe or equivalent level tool at height 32 blocks and below in the Overworld dimension (dimension ID 0).