Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Additional Entity Attributes

Additional Entity Attributes

Adds additional attributes for players and other entities, mainly for used in other mods

32.1k
33
Library

Compatibility

Minecraft: Java Edition

1.21.x
1.20.6
1.20–1.20.4
1.19.2–1.19.4

Platforms

Fabric
NeoForge
Quilt

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Donate on Ko-fi

Creators

DaFuqs
DaFuqs Maintainer
Noaaan
Noaaan Maintainer
Torty
Torty Maintainer

Details

Licensed MIT
Published 2 years ago
Updated last week
DescriptionChangelogVersions

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 / suffocating
  • JUMP_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.
  • HITBOX_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 speed
  • BONUS_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 the additionalentityattributes:affected_by_collection_range tag (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>")
}

Modrinth is open source.

fix-window-open@1656e14

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.