Download Harvest Level Config — Minecraft Mods — MetaMods

Harvest Level Config

Active

Downloads

0

Last update

1 year ago
Client
Libraries
Utils
Addons

Configurable Harvest Levels for Minecraft 1.7.10

This modification is specifically designed for Minecraft 1.7.10 mod developers and modpack creators. It allows easy customization of tool requirements for harvesting various blocks through a simple JSON configuration file.

Configuration File

The main settings file is located at: config/HarvestLevelConfig/harvest_levels.json

The configuration format includes the following parameters for each block:

  • name: The block's unique identifier in modid:block_name format
  • metadata: Block metadata (-1 for all variants)
  • tools: Tool types (pickaxe, axe, etc.) with required harvest levels

Configuration Example:

{
    "blocks": [
        {
            "name": "minecraft:stone",
            "metadata": -1,
            "tools": {
                "pickaxe": 3
            }
        },
        {
            "name": "minecraft:diamond_ore",
            "metadata": -1,
            "tools": {
                "pickaxe": 0,
                "axe": 0
            }
        }
    ]
}

In this example, stone requires a level 3 pickaxe (diamond), while diamond ore can be harvested with any pickaxe or axe.

WAILA Integration

The mod is fully compatible with WAILA and displays information about available harvesting tools. If a block is configured through the settings, the system shows all suitable tools, highlighting the currently selected tool in green.

WAILA Compatibility Example

This is not a duplicate of the WailaHarvestability mod! This modification works with your configurations and provides more optimized integration with WAILA.

Refresh Command

For convenience, the /hlc refresh command is included, available to level 3 operators. This allows reloading the configuration file without restarting the game.

Command Usage Example

Important: The modification must be installed on both client and server for proper functionality.

Project members
awesome_hippo

awesome_hippo

Created: 27 Nov 2024

ID: 65421