跳到正文

val’s XP Cap

作者:valproate

A datapack that aims to slow down the progression by putting a cap on the amount of XP a player can earn within a day or interval.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

val’s XP Cap

banner

A Minecraft datapack that limits how much experience points a player can earn within a configurable time interval. By default this pack is configured to 420 experience points per day. This equates to about level 0 to 17.5 ingame.

Config

You can customize the XP cap and reset interval in data/val_xp/functions/load.mcfunction.

1. Maximum XP per interval

scoreboard players set #max_xp_per_interval val_xp_config 420

Controls the maximum amount of XP a player can earn during each interval.

Change 420 to whatever limit you want.

2. XP limit reset interval

scoreboard players set #ticks_per_interval val_xp_interval_counter 24000

Controls how frequently the XP limit resets, measured in game ticks.

One Minecraft day is 24,000 ticks.

| Interval | Ticks |
|—|—:|
| 1 day | 24,000 |
| 2 days | 48,000 |
| 3 days | 72,000 |
| 1 week | 168,000 |

For example, setting the value to 168000 makes the XP limit reset every 7 Minecraft days.

Installation

  1. Download the datapack.
  2. Place the datapack folder inside your world’s datapacks directory.
  3. Run re-open your world or just run /reload in-game.
  4. The datapack is ready to use!

常见问题

val’s XP Cap 支持哪些 Minecraft 版本?

val’s XP Cap 支持 Minecraft Java 版 26.3。下载时注意选择和你游戏版本一致的文件。

val’s XP Cap 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分