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 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
AvatarKage 的其他作品
查看全部 →3D Armor
以3D形式渲染玩家和实体所装备的盔甲,兼容大多数模组盔甲、染料和纹饰,并支持16x资源包。
Armor 3D
以 3D 方式显示玩家和实体穿戴的盔甲,兼容大多数模组盔甲、染色和纹饰,并支持 16x 资源包。
Vexxed
一个简洁的便利性数据包,击败唤魔者后会清除恼鬼。
3D Hands
以经典的 3D 风格渲染玩家的手臂,还原早期大多数 Minecraft 动画的标志性效果。
评论
登录后评论和评分