介绍
CoreBound Enchanting
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
常见问题
Corebound Enchanting 支持哪些 Minecraft 版本?
Corebound Enchanting 支持 Minecraft Java 版 1.21–26.2,共 16 个版本。下载时注意选择和你游戏版本一致的文件。
Corebound Enchanting 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
Cababs 的其他作品
查看全部 →Corebound Spectator Nightvision
grants players in spectator mode night vision.
Corebound Spawn Eggs
get mob spawn eggs on a 0.5% chance or kill 200 of that mob
Corebound Magnet
Pick up items and experience in a range a around the player
Corebound Upgrades
Tools and Armor can now be upgraded to the next material tier (gold -> iron -> diamond) whilst keeping enchantments
评论
登录后评论和评分