Additional Entity Attributes
Adds additional attributes for players and other entities, mainly for used in other mods
介绍
Adds a list of new attributes for entities and players.
These attributes allow mod compatibility and serve as an API for mods that make use of them.
Current Attributes
WATER_SPEED(living entities): Controls the speed of the player when in water.LAVA_SPEED(living entities): Controls the player’s speed when in lava.LUNG_CAPACITY(living entities): Extra air when underwater / suffocatingJUMP_HEIGHT(living entities): Controls the jump height of the player.DROPPED_EXPERIENCE(living entities): Changes the amount of experience dropped from mining blocks and killing mobs.MAGIC_PROTECTION(living entities): Reduces the amount of magic damage taken.WIDTH(living entities): Controls the player’s width.HEIGHT(living entities): Controls the player’s height.HITBOX_SCALE(living entities): Controls the player’s hitbox scale.HITBOX_WIDTH(living entities): Controls the player’s hitbox width.HITBOX_HEIGHT(living entities): Controls the player’s hitbox height.MODEL_SCALE(living entities): Controls the player’s model scale.MODEL_WIDTH(living entities): Controls the player’s model width.MODEL_HEIGHT(living entities): Controls the player’s model height.MOB_DETECTION_RANGE(living entities): Controls the range that the player can be detected by hostile mobs.WATER_VISIBILITY(player only): Controls the player’s visibility in water by adjusting the fog distance.LAVA_VISIBILITY(player only): Controls the player’s visibility in lava by adjusting the fog distance.CRITICAL_BONUS_DAMAGE(player only): Controls the bonus damage dealt when critical hits are made.DIG_SPEED(player only): Controls the player’s digging speedBONUS_LOOT_COUNT_ROLLS(player only): Controls the number of drops the player receives when using enchantments such as Loot and Luck.BONUS_RARE_LOOT_ROLLS(player only): The number of times the chance-based loot table is rolled.COLLECTION_RANGE(player only): Controls the distance where the player is able to collect (“touch”) entity types in theadditionalentityattributes:affected_by_collection_rangetag (like items & experience orbs)
Entity Type Tags
additionalentityattributes:affected_by_collection_range: Marks an entity type as being affected by the collection range attribute (by default items & experience orbs).
Usage
Players
You will probably not need to install this library yourself, as most mods that use it will ship with it. If you want to use the above attributes via commands or anything else, feel free to do so, of course.
@Developers
Feel free to JIJ.
You can fetch all builds from the Modrinth Maven:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
}
dependencies {
modImplementation include("maven.modrinth:AdditionalEntityAttributes:<version>")
}
常见问题
Additional Entity Attributes 支持哪些 Minecraft 版本?
Additional Entity Attributes 支持 Minecraft Java 版 1.19.2–26.3,共 24 个版本,可用的加载器:Fabric / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Additional Entity Attributes 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Noaaan 的其他作品
查看全部 →Accessories
一个可扩展、数据驱动的 Minecraft 饰品模组
Alloy Forgery
锻造一些合金
Mythic Metals
为游戏添加大量矿石、工具、武器和盔甲。
Numismatic Overhaul
《我的世界》中的泰拉瑞亚风格货币
评论
登录后评论和评分