

XP Tools
Mod Overview
This modification provides comprehensive control over experience point acquisition from various objects in Minecraft. It enables precise adjustment of XP drops for both standard blocks and creatures through a flexible priority-based operation system.
Core Features
The system supports creating complex XP processing chains using multiple mathematical operation types: value setting, addition, subtraction, multiplication, and division. You can define both fixed numbers and ranges for generating random values. All operations are executed according to their priority levels, enabling the creation of intricate dependencies.
The mod works with individual blocks/creatures via their identifiers as well as entire groups through the tag system. This proves particularly useful for large modpacks requiring uniform configuration across entire object categories.
Configuration and Examples
The configuration example demonstrates how to completely overhaul the experience system: first reset all default values to zero, then add random XP amounts for shovel-tagged blocks, and establish fixed ranges for ore deposits.
# Settings for block breaking
[block_breaking]
# Available operations: [SET, ADD, SUBTRACT, MULTIPLY, DIVIDE]
# List of global operations. Format: '[operation],[minimum],[maximum],[priority]'
# Global operations run before any unique operations
# Examples:
# 'set,0,0,0' - Sets XP of all blocks to 0
blockBreakGlobalOperations = ["set,0,0,0"]
# List of unique operations. Format: '[block_id/tag_id],[operation],[min],[max],[priority],[is_last]'
# Examples:
# 'minecraft:dirt,set,2,2,0,true' - Sets dirt block XP to 2, takes highest priority
# '#forge:ores,multiply,1,2,1,false' - Multiplies ore XP by 1-2, allows additional operations
blockBreakOperations = ["#minecraft:mineable/shovel,add,0,10,0,false", "#forge:ores,set,2,5,0,false"]
Technical Specifications
It's important to note this is a server-side mod, ensuring compatibility in multiplayer environments. Configuration files are automatically generated for each world within the serverconfig folder, providing individual customization for different servers or worlds.