跳到正文

Instant XP Collect Datapack, Orbs Collected at Once

作者:MD22

Big XP orbs are credited all at once instead of trickling in. Mending items still get repaired by vanilla. Server-side datapack - nothing for players to install.

收藏

截图

介绍

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

Instant XP Collect

Big XP orbs are credited all at once instead of trickling in. Server-side datapack, nothing to install for players.

Same five orbs, same five ticks

What it does

In vanilla, an orb that holds a lot of XP (a merged stack of orbs) is taken in small slices, one slice every two ticks. An orb worth 40 slices takes about 4 seconds to be absorbed.

With this pack, the whole XP value of every orb within your pickup radius is credited in a single tick, with the usual pickup sound.

Mending stays intact

Vanilla repairs Mending items only while it absorbs orbs. Adding XP directly would skip that repair, so the pack deliberately steps aside:

  • If you hold or wear a damaged item with Mending (main hand, off hand, head, chest, legs or feet), the pack does nothing and vanilla pickup repairs your item as usual.
  • Once nothing is left to repair (item undamaged, or no Mending), orbs are collected instantly again.

Installation

  1. Put the ZIP into the datapacks folder of your server or single-player world.
  2. Restart or run /reload.

Players do not need to install anything.

Settings (operators)

/scoreboard players set #enabled ixp_cfg 1    instant pickup (default)
/scoreboard players set #enabled ixp_cfg 0    vanilla pickup
/scoreboard players set #radius ixp_cfg 15    pickup radius in tenths of a block (15 = 1.5 blocks, default)

Settings survive /reload.

Tested

Tested on Minecraft 26.3 with a real game client, 14 cases, each run with the pack, without the pack, and with a deliberately broken variant of the pack (Mending check removed) to make sure the test can fail:

  • A 280 XP orb is credited at once with the pack; without it, the same orb is still partly on the ground afterwards.
  • Damaged Mending items in each of the six equipment slots: vanilla pickup applies and the item is repaired.
  • Undamaged Mending item and damaged item without Mending: instant pickup.
  • Several orbs at once: the full total is credited.
  • Orbs outside the default radius are left alone; a larger radius setting picks them up.
  • Setting #enabled to 0 restores vanilla pickup.
  • Spectators are not affected.

Limits

  • Only Minecraft 26.3 is listed, because only that version was tested.
  • While a damaged Mending item is equipped, pickup is vanilla speed on purpose.
  • It does not pull orbs toward you; it only changes how fast orbs within reach are credited. It can be combined with packs that attract orbs.
  • Collected orbs are removed, so other packs or mods that react to vanilla orb pickup will not see them.

Changelog

1.0.0 (Minecraft 26.3)

  • First release: instant orb credit, Mending-safe, configurable radius, on/off switch.

常见问题

Instant XP Collect Datapack, Orbs Collected at Once 支持哪些 Minecraft 版本?

Instant XP Collect Datapack, Orbs Collected at Once 支持 Minecraft Java 版 26.3。下载时注意选择和你游戏版本一致的文件。

Instant XP Collect Datapack, Orbs Collected at Once 怎么安装?

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

评论

登录后评论和评分

MD22 的其他作品

查看全部 →