← Назад к ресурсам

Lineaer Experience

It's an experience's revolution.

Modrinth game-mechanics utility

Описание

# Linear Experience / 线性经验 --- ## English ### Linear Experience Mod for Minecraft A comprehensive Minecraft Forge mod that completely overhauls the vanilla non-linear experience system, providing multiple configurable experience calculation modes while maintaining full compatibility with all vanilla experience-related features. --- ### Features #### 🎯 Core Experience Calculation Modes - **STATIC Mode**: Fixed experience cost per level (same for all levels) - **LINEAR Mode**: Linear progression (base cost + level × addition) - **FORMULA Mode**: Custom mathematical formula using variables `base` and `level` #### ⚙️ Configuration System - TOML-based configuration file - Hot-reload support - Server-client synchronization - Extensive customization options --- ### Configuration Configuration file location: `config/linear-xp.toml` #### Basic Configuration ```toml [general] enableXpCalculationModifier = true calculateMode = "STATIC" # Options: "STATIC", "LINEAR", "FORMULA" ``` #### Mode-Specific Settings **STATIC Mode:** ```toml [static] staticModeXpNeeded = 100 # Fixed XP required per level ``` **LINEAR Mode:** ```toml [linear] linearBaseXp = 100 # Base XP cost LinearXpAddition = 1 # XP increase per level ``` **FORMULA Mode:** ```toml [formula] formula = "base+((level*level)*10)" # Custom formula formulaBaseXp = 100 # Base value for formula ``` --- ### Compatibility ✅ **Fully Compatible With:** - Vanilla experience orbs - Enchanting tables and anvils - Brewing stands - All `/xp` commands - Experience-related advancements - Multiplayer servers --- ## 中文 ### Linear Experience - Minecraft 线性经验模组 一个全面的 Minecraft Forge 模组,彻底改革了原版非线性经验系统,提供多种可配置的经验计算模式,同时保持与原版所有经验相关功能的完全兼容。 --- ### 功能特性 #### 🎯 核心经验计算模式 - **STATIC 模式**:固定每级经验需求(所有等级相同) - **LINEAR 模式**:线性增长(基础值 + 等级 × 增量) - **FORMULA 模式**:使用变量 `base` 和 `level` 的自定义数学公式 #### ⚙️ 配置系统 - 基于 TOML 的配置文件 - 支持热重载 - 服务器-客户端同步 - 广泛的定制选项 --- ### 配置说明 配置文件位置:`config/linear-xp.toml` #### 基础配置 ```toml [general] enableXpCalculationModifier = true # 是否启用经验计算修改 calculateMode = "STATIC" # 选项:"STATIC", "LINEAR", "FORMULA" ``` #### 模式特定设置 **STATIC 模式:** ```toml [static] staticModeXpNeeded = 100 # 每级所需的固定经验值 ``` **LINEAR 模式:** ```toml [linear] linearBaseXp = 100 # 线性基础经验值 LinearXpAddition = 1 # 线性经验增量 ``` **FORMULA 模式:** ```toml [formula] formula = "base+((level*level)*10)" # 公式模式计算公式 formulaBaseXp = 100 # 公式模式基础经验 ``` --- ### 兼容性 ✅ **完全兼容:** - 原版经验球 - 附魔台和铁砧 - 酿造台 - 所有 `/xp` 命令 - 经验相关进度 - 多人服务器