投掷武器
Axe Throw 定义了一个标签 axe_throw:throwable,允许物品像三叉戟一样被投掷(默认情况下,该标签包含原版金、钻石和下界合金斧与剑)。投掷出的武器在空中飞行时会旋转,并在接触实体时造成伤害。此模组还允许对标签内的物品附魔忠诚,其效果将类似于三叉戟的忠诚附魔。当拾起投掷出的武器时,它会尝试返回到被投掷前的槽位。
为了保留原版行为,位于 axe_throw:throwable 标签中的物品不能立即被投掷。这意味着它们将默认为常规行为(因此将物品使用逻辑委托给副手物品,例如盾牌)。在库存中悬停在有效的物品堆上时,按住 Shift 键即可显示投掷模式。

要更改投掷模式,请在库存中对物品堆右键单击。这将允许该物品堆像三叉戟一样被投掷。
配置:
Axe Throw 添加了两个新的游戏规则:
axe_throw:projectile_drag_in_water - 决定水中投掷武器的阻力。默认值为 0.85。
axe_throw:projectile_damage_multiplier - 所有由投掷武器造成的伤害都将乘以该数值。默认值为 0.7。
Axe Throw 的配置由 YetAnotherConfigLib 提供支持(需手动安装,不包含在内)。可通过 ModMenu 访问配置,并允许用户控制投掷模式的显示方式(SHIFT、ALWAYS、NEVER)。
Throwing your Weapons
Axe Throw defines a tag axe_throw:throwable that allows items to be thrown like tridents (by default, this contains the vanilla axes and swords of gold, diamond, and netherite). Thrown weapons will spin while moving through the air and damage entities upon contact. This mod also allows items in the tag to be enchanted with Loyalty, which will work like trident Loyalty. Thrown weapons will attempt to return to the slot they were thrown from when picked up.
To retain vanilla behavior, items in the axe_throw:throwable tag cannot be thrown immediately. This means they will default to the regular behavior (and therefore delegate item use logic to the offhand item, such as a shield). Press the Shift key while hovering over a valid ItemStack in the inventory to display the throwing mode.

To change the throwing mode, right-click on the ItemStack in the inventory. This will allow the ItemStack to be thrown like a trident.
Configuration:
Axe Throw adds two new gamerules:
axe_throw:projectile_drag_in_water - Determines the drag in water for thrown weapons. By default, the value is set to 0.85.
axe_throw:projectile_damage_multiplier - All damage dealt by thrown weapons will be multiplied by this amount. By default, the value is set to 0.7.
Axe Throw's config is powered by YetAnotherConfigLib (requires manual installation, not included). The config is accessible through ModMenu and allows the user to control how the throwing mode is displayed (SHIFT, ALWAYS, NEVER).
评论 0
登录后参与评分
还没有评论,来抢沙发吧