Attack Range Attribute 图标

Attack Range Attribute

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/attack-range-attribute
资源信息

Minecraft 版本: 1.21.1

平台: fabric

标签: equipment game-mechanics library

资源介绍

Attack Range Attribute

A small API that adds the "attackrangeattribute:generic.attack_range" entity attribute.

On its own this mod does NOT change gameplay. It does NOT change the attack range when used on its own.

Other mods like Better Combat Extension and Spell Engine Extension can optionally use this mod.

Vanilla Minecraft has the "entity_interaction_range" attribute. Why is an "attack_range" attribute necessary?

The entity_interaction_range attribute controls both the range of attacks and the range of right-click interactions (e.g. trading with villagers). This works fine in vanilla, since the entity_interaction_range doesn't change in normal gameplay.

However, in scenarios where different weapons are designed to have different attack ranges, the right-click interactions with entities get inconsistent and in extreme cases, when the attack range is 0, impossible.

API

Casting a "LivingEntity" to the "AttackRangeUsingEntity" interface gives access to all relevant methods.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Nova's Bad Modpack

价格:0 墨喵币
下载量:0

查看详情
NoWeatherSkip

价格:0 墨喵币
下载量:0

查看详情
Blue Cod

价格:0 墨喵币
下载量:0

查看详情
SimpleDeathSwap

价格:0 墨喵币
下载量:0

查看详情