跳到正文

Corebound Enchanting

作者:Cababs

adds custom enchanted book that mimic modded in vanilla

收藏

介绍

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

CoreBound Enchanting

Minecraft
Datapack

Adds the Magnetic enchantment to Minecraft.

Magnetic

Magnetic automatically pulls nearby dropped items and experience orbs toward the player.

When a player is holding an item enchanted with Magnetic in their main hand:

Dropped items within 8 blocks (configuable) are pulled to the player.
Experience orbs within 8 blocks (configuable) are pulled to the player.
The effect works automatically every tick.

Magnetic can be applied to items in Minecraft’s #minecraft:enchantable/durability item category.

Obtaining Magnetic

Magnetic can be obtained as an enchanted book and is added to village temple loot.

Commands

Give yourself Magnetic on a suitable item:

enchant @s corebound_enchant:magnetic

Give yourself a Magnetic enchanted book:

give @s minecraft:enchanted_book[minecraft:stored_enchantments={"corebound_enchant:magnetic":1}] 1

Technical Details

The enchantment is identified as:

corebound_enchant:magnetic

The pack checks the player’s main-hand item each tick. If Magnetic is present, nearby item entities and experience_orb entities within 8 blocks are teleported to the player.

Requirements

This datapack requires the CoreBound resource pack (corebound_rp).

Development Notes

Some ideas and programming assistance were generated with the help of AI tools (ChatGPT) for brainstorming and function logic. All code was tested, integrated, and reviewed manually.

Resources

https://vanillatweaks.net/

https://www.gamergeeks.net/apps/minecraft

https://misode.github.io/

https://chatgpt.com/

常见问题

Corebound Enchanting 支持哪些 Minecraft 版本?

Corebound Enchanting 支持 Minecraft Java 版 1.21–26.2,共 16 个版本。下载时注意选择和你游戏版本一致的文件。

Corebound Enchanting 怎么安装?

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

评论

登录后评论和评分

Cababs 的其他作品

查看全部 →