Experienced Crafting
About the Modification
This mod introduces an interesting change to Minecraft gameplay - now you'll receive experience points for crafting items on the workbench. The system is fully customizable to your preferences.
How It Works
By default, each time you craft an item, you receive a certain amount of experience. However, there's a limitation: after crafting the same item three times, the reward decreases to the minimum value (1 experience point). Sticks are an exception - no experience is awarded for them at all. This prevents abuse of simple recipes for quick experience accumulation.
Crafting counters reset when your character sleeps in a bed or consumes an enchanted golden apple.
Flexible Configuration
All mod parameters can be changed through the configuration file. Below are the standard settings with detailed comments:
[crafting_first_time_xp]
# Base experience for first-time crafting of any item
# Format: minimum,maximum (from 0 to 1000)
# Experience is randomly selected within the specified range
# Example: "1,5" gives 1 to 5 experience per craft
crafting_first_time_xp = "1,5"
[max_crafting_xp_times]
# Maximum number of times experience is awarded for the same item
# Acceptable values: -1 to 1000 (-1 = unlimited)
# Example: 3 → first 3 crafts give experience, subsequent ones give min_crafting_xp
max_crafting_xp_times = 3
[min_crafting_xp]
# Minimum experience after reaching the craft limit
# Acceptable values: 0 to 1000
# Example: if min_crafting_xp = 1, then after the limit gives 1 experience
min_crafting_xp = 1
[scaling_mode]
# How experience decreases when repeatedly crafting the same item
# "none": experience remains constant until max_crafting_xp_times is reached
# "linear": experience decreases evenly down to min_crafting_xp
# "slow_to_fast": decreases slowly at first, then more quickly near the limit
# "fast_to_slow": decreases quickly at first, then more slowly near the limit
scaling_mode = "linear"
[ingredient_xp]
# List of ingredients that give extra experience when used in crafting
# Format: item_id=minimum,maximum
# For each matching ingredient in the recipe, random experience within the range is awarded
ingredient_xp = ["minecraft:diamond=1,3", "minecraft:netherite_ingot=2,5"]
[reset_triggers]
# Whether to reset crafting counters when sleeping in a bed
enable_sleep_reset = true
# Items that reset crafting counters when consumed
xp_reset_trigger_items = ["minecraft:enchanted_golden_apple"]
[whitelist_blacklist]
# true: use whitelist - only specified items give experience
# false: use blacklist - all items except specified ones give experience
whitelist_mode = false
# Items that give experience when whitelist mode is enabled
whitelist_items = []
# Items that don't give experience when blacklist mode is enabled
blacklist_items = []
[overrides]
# Individual settings for specific items
# Format examples:
# "minecraft:diamond_sword;xp=5,10;maxTimes=3;minXp=1;scalingMode=linear"
# "minecraft:cake;maxTimes=1;scalingMode=none"
# Behavior:
# If xp=min,max is specified, it replaces both base and ingredient experience for that item
# maxTimes, minXp and scalingMode override global values only for that item
# * If parameter is not specified, global value is used
# Note: whitelist/blacklist rules take precedence
overrides = ["minecraft:stick;minXp=0"]
[debug]
# Enable detailed debug messages in chat
# true → shows base experience, ingredient experience, scaling, and total experience per craft
# false → debug messages disabled
show_xp_rolls_in_chat = false
Future Plans
All planned features have already been implemented in the current version of the mod.