经验丰富的制作

经验丰富的制作

这个模组在制作时给予玩家经验奖励,并且高度可配置。

游戏机制

概述

本模组会在玩家制作物品时奖励经验,并且高度可配置。

详细说明

默认设置会在玩家制作物品时奖励经验,随着同一物品被反复制作,奖励的经验量会逐渐减少。当某个物品被制作三次后,它只会提供 1 点经验(木棍是例外,提供 0 点经验)。这有助于保持平衡,防止玩家通过刷简单配方来获取经验。当玩家食用附魔金苹果或成功入睡时,所有制作经验计数器都会被重置。

不喜欢某一个或全部默认设置?没问题——你可以在配置中轻松调整所有内容,配置中包含了每个选项的说明。我还在下面附上了完整的配置文件,这样你无需下载模组就能看到哪些内容可以自定义 :)

默认配置预览
[crafting_first_time_xp]
	# Base XP awarded for crafting any item for the first time.
	# - Format: min,max (both accept 0 to 1000)
	# - XP is randomly chosen between these two values.
	# - Example: "1,5" gives 1 to 5 XP per craft.
	#
	crafting_first_time_xp = "1,5"

[max_crafting_xp_times]
	# Maximum number of times XP is awarded for crafting the same item.
	# - Accepted values: -1 to 1000 (-1 = unlimited)
	# - Example: 3 → first 3 crafts give XP, subsequent crafts give min_crafting_xp.
	#
	max_crafting_xp_times = 3

[min_crafting_xp]
	# Minimum XP awarded once an item has been crafted max_crafting_xp_times times.
	# - Accepted values: 0 to 1000
	# - Example: if min_crafting_xp = 1 then crafts after the limit give 1 XP.
	#
	min_crafting_xp = 1

[scaling_mode]
	# How XP decreases as you repeatedly craft the same item.
	# - "none": XP stays constant until max_crafting_xp_times is reached.
	# - "linear": XP decreases evenly down to min_crafting_xp.
	# - "slow_to_fast": XP decreases slowly at first, then more quickly near the limit.
	# - "fast_to_slow": XP decreases quickly at first, then more slowly near the limit.
	#
	scaling_mode = "linear"

[ingredient_xp]
	# List of ingredients that give extra XP when using them to craft.
	# - For each matching ingredient in the recipe, a random XP within the specified range is awarded
	# - Format: item_id=min,max
	# - min and max accepted values: 0 to 1000
	#
	ingredient_xp = ["minecraft:diamond=1,3", "minecraft:netherite_ingot=2,5"]

[reset_triggers]
	# When true, sleeping in a bed will reset the player's crafting XP counters.
	#
	enable_sleep_reset = true
	# Items that trigger a crafting XP reset when eaten.
	# - Format: list of item IDs, e.g. "minecraft:enchanted_golden_apple"
	# - Default includes the enchanted golden apple.
	#
	xp_reset_trigger_items = ["minecraft:enchanted_golden_apple"]

[whitelist_blacklist]
	# When true, the whitelist is used: only items listed in whitelist_items will give XP.
	# When false, the blacklist is used: all items give XP except those in blacklist_items.
	#
	whitelist_mode = false
	# Items that grant XP when whitelist mode is enabled.
	# - Format: list of item IDs, e.g. "minecraft:diamond_sword"
	# - If empty and whitelist_mode = true, no items will grant XP.
	#
	whitelist_items = []
	# Items that are blocked from granting XP when whitelist_mode is false (blacklist behavior).
	# - Format: list of item IDs, e.g. "minecraft:stick"
	# - If empty and whitelist_mode = false, no items are blocked (all items can grant XP).
	#
	blacklist_items = []

[overrides]
	# Per-item overrides. Each entry must begin with the item id. Everything after is optional.
	# - Format examples:
	#   "minecraft:diamond_sword;xp=5,10;maxTimes=3;minXp=1;scalingMode=linear"
	#   "minecraft:cake;maxTimes=1;scalingMode=none"
	# - Behavior:
	#   * If xp is provided (xp=min,max) it replaces BOTH base XP and ingredient XP for that item.
	#   * maxTimes, minXp and scalingMode override the global values for that item only.
	#   * If a setting is omitted, the global/default value is used.
	# - Note: Whitelist/blacklist rules take precedence.
	#
	overrides = ["minecraft:stick;minXp=0"]

[debug]
	# Enable detailed per-recipe XP debug messages in chat.
	# - true  → show base XP, ingredient XP, scaling, and total XP per craft.
	# - false → no debug messages.
	#
	show_xp_rolls_in_chat = false

计划更新:

  • 当前计划的所有功能均已添加 :)

请考虑向我的 Ko-Fi 捐款。