
Extra Entity Attributes
This mod adds new attributes, which serve as an API for other mods.
- Загрузки
- 517
- Подписчики
- 2
- Обновлён
- 7 июля 2026 г.
- Лицензия
- Fneifnoxs-License
Опубликован 18 августа 2025 г.
This mod adds 21 new attributes to the game. These attributes can either be used by other mods to serve as an API or used by the player to customize specific values.
Features
Attributes
VILLAGER_DISCOUNT
- How much cheaper / expensive an item from a villager should be (percent-wise)
- Default: 0
MAX_HUNGER
- The max. amount of hunger a player can have
- Default: 20
FOOD_NUTRITION_MULTIPLIER
- How much hunger food should restore
- Default: 1
FOOD_SATURATION_MULTIPLIER
- How much saturation food should give
- Default: 1
EATING_SPEED
- How fast a player can eat
- Default: 1
DRINKING_SPEED
- How fast a player can drink
- Default: 1
STATUS_EFFECT_DURATION
- How long an potion or beacon effect should last
- Default: 1
LIFESTEAL
- How much health (percentage-wise) is stolen on damaging a living entity
- Default: 0
HUNGERSTEAL
- How much hunger (percentage-wise) is stolen on damaging a living entity
- Default: 0
DODGE_CHANCE
- How high of a chance an entity has to dodge ANY damage (1 = invincible)
- Default: 0
SPRINTING_FOOD
- How much hunger is needed in order to sprint
- Default: 6
CROSSBOW_PULL_TIME_MULTIPLIER
- How long you need to pull your crossbow in order to shoot
- Default: 1
FISHING_DURATION_MULTIPLIER
- How long you need to wait until a fish appears
- Default: 1
ADDITIONAL_FISHING_LUCK
- How much additional luck (adding to Luck of the Sea) you will have in order to fish up a treasure (100 = always)
- Default: 0
SPRINTING_SPEED
- How fast a player should be whilst sprinting
- Default: 0.13
CLIMBING_SPEED
- How fast a living entity should climb
- Default: 0.2
CREATIVE_FLYING_SPEED
- How fast a player should fly in creative mode
- Default: 0.05
MOUNT_SPEED_MULTIPLIER
- How fast a ridden entity should go
- Default: 1
MAX_JUMPS
- How many jumps a player can perform
- Default: 1
SLIPPERINESS
- How slippery ice should be
- Default: 1
NAME_TAG_VISIBILITY_RANGE
- How far a player can see nametags of others
- Default: 64

Got any ideas for new attributes? Suggest them to me on my discord or on github.
Usage
For Users
You can configure all these values with /attribute.
Heres an example:
/attribute @p extra-entity-attributes:status_effect_duration base set 2
This doubles the duration of all potion and beacon status effects for the nearest player
For Developers
You are allowed to use this mod freely in your own mod. Feel free to embed it into your mod.
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
}
dependencies {
modImplementation include("maven.modrinth:extra-entity-attributes:<version>")
}
Credits
Inspiration
If it wasn't obvious enough this mod is heavily inspired by Additional Entity Attributes. Therefore this mod is also fully compatible with Additional Entity Attributes as it only adds attributes which are not in Additional Entity Attributes.
Code
I reused some code of Artifacts (see Source Code to know where).
Support
If you have questions, encounter problems, find bugs or have suggestions you can join my discord server:
Ченджлог
1.6.4Релиз1.21, 1.21.1 · 7 июля 2026 г.
Fixed
- AppleSkin stops working completely (everything above the
MAX_HUNGERvalue of 20 will not be rendered though) - Saturation level not getting set back after decreasing your
MAX_HUNGERattribute
1.6.3Релиз1.21, 1.21.1 · 30 мая 2026 г.
Fixed
SPRINTING_SPEEDmaking the player 0.13 faster than it is supposed to
1.6.2Релиз1.21, 1.21.1 · 12 апреля 2026 г.
Added
- DodgeDamageEvent which is called when a living entity sucessfully dodges damage with
DODGE_CHANCE
Fixed
- Speed modifiers of the player not applying when sprinting (
SPRINTING_SPEEDnow adds to the movement speed instead of replacing it)
1.6.1Релиз1.21, 1.21.1 · 23 марта 2026 г.
Fixed
- Crash on a server because of
MAX_JUMPS
1.6.0Релиз1.21, 1.21.1 · 20 марта 2026 г.
Added
-
DODGE_CHANCE -
MAX_JUMPS
Fixed
CROSSBOW_PULL_TIME_MULTIPLIERnot getting translated- Hungerbar only refilling up to 20 hunger after respawning from a death even if your max hunger value is higher
1.5.3Релиз1.21, 1.21.1 · 12 марта 2026 г.
Fixed
- Game crashing when an entity except the player drinks or eats something (for example a wandering trader)
1.5.2Релиз1.21, 1.21.1 · 1 февраля 2026 г.
Fixed
- Wrong calculation of
FISHING_DURATION_MULTIPLIER with the Lure Enchantment
1.5.1Релиз1.21, 1.21.1 · 1 февраля 2026 г.
Fixed
- Setting
FISHING_DURATION_MULTIPLIERto 0 or to a really low value will no longer prohibit fishes from appearing - Fixed a Vanilla bug that causes the player to not gain anything if he would have gotten a treasure in a small fishing pond (the player will instead get a non-treasure item even if the luck is at 100)
Комментарии
Загружаем…
