Potion Imbuement
Similar to tipped arrows, you can now imbue effects onto melee weapons using lingering potions, which will apply the effect to the targeted entity.
介绍
![]()
Potion Imbuement is a simple datapack that enables applying potion effects to melee weapons using the #potion_imbuement:imbuable item tag. By default, it supports all swords, axes, and spears. To imbue, drop (Q) a weapon and a lingering potion next to each other. All potions are supported including custom and modded* ones.
The mechanic follows the same duration divisor and usage count as tipped arrows ensuring all is fully consistant. Once the imbuement uses run out, restart the process.

POTION EFFECT NAMES ONLY DISPLAY FOR 1.21.5 AND ABOVE (MINECRAFT LIMITATION)
*For Developers
Because of how Minecraft handles potion items, modded potions are only compatible if they use the custom_effects NBT. If they are non-custom potion items, they will need to be registered using another datapack.
# Call this in load.mcfunction with your values
data modify storage potion_imbuement:registry database append value {
key: "mymod:long_effect",
id: "mymod:effect",
duration: 120,
amplifier: 1
}
Known Bugs
- Weapons in the offhand will use the mainhand imbuement
NEED A SERVER?

常见问题
Potion Imbuement 支持哪些 Minecraft 版本?
Potion Imbuement 支持 Minecraft Java 版 1.21–26.2,共 16 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Potion Imbuement 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
AvatarKage 的其他作品
查看全部 →Placeable Items
该模组支持在世界中放置物品,并完全兼容所有第三方模组。
3D Armor
Renders the player and entity equipped armor in 3D and is compatible with most modded armor, dyes, and trims with support for 16x resource packs.
Armor 3D
Renders the player and entity equipped armor in 3D and is compatible with most modded armor, dyes, and trims with support for 16x resource packs.
3D Hands
Renders the player hands in the iconic 3D style used by most classic Minecraft animations from back in the day.
评论
登录后评论和评分