Sprache

Extra Entity Attributes

Extra Entity Attributes

Modrinth

This mod adds new attributes, which serve as an API for other mods.

376 Downloads 2 Follower aktualisiert 21d ago
neueste v1.6.3 Modrinth
Fabric Quilt 1.21 – 1.21.1 Game-mechanicsLibrary

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 VILLAGER_DISCOUNT

  • How much cheaper / expensive an item from a villager should be
  • Default: 0

max_hunger MAX_HUNGER

  • The max. amount of hunger a player can have
  • Default: 20

food_nutrition_multiplier FOOD_NUTRITION_MULTIPLIER

  • How much hunger food should restore
  • Default: 1

food_saturation_multiplier FOOD_SATURATION_MULTIPLIER

  • How much saturation food should give
  • Default: 1

eating_speed EATING_SPEED

  • How fast a player can eat
  • Default: 1

drinking_speed DRINKING_SPEED

  • How fast a player can drink
  • Default: 1

status_effect_duration STATUS_EFFECT_DURATION

  • How long an potion or beacon effect should last
  • Default: 1

lifesteal LIFESTEAL

  • How much health (percentage-wise) is stolen on damaging a living entity
  • Default: 0

hungersteal HUNGERSTEAL

  • How much hunger (percentage-wise) is stolen on damaging a living entity
  • Default: 0

dodge_chance DODGE_CHANCE

  • How high of a chance an entity has to dodge ANY damage (1 = invincible)
  • Default: 0

sprinting_food SPRINTING_FOOD

  • How much hunger is needed in order to sprint
  • Default: 6

crossbow_pull_time_multiplier CROSSBOW_PULL_TIME_MULTIPLIER

  • How long you need to pull your crossbow in order to shoot
  • Default: 1

fishing_duration_multiplier FISHING_DURATION_MULTIPLIER

  • How long you need to wait until a fish appears
  • Default: 1

additional_fishing_luck 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 SPRINTING_SPEED

  • How fast a player should be whilst sprinting
  • Default: 0.13

climbing_speed CLIMBING_SPEED

  • How fast a living entity should climb
  • Default: 0.2

creative_flying_speed CREATIVE_FLYING_SPEED

  • How fast a player should fly in creative mode
  • Default: 0.05

mount_speed_multiplier MOUNT_SPEED_MULTIPLIER

  • How fast a ridden entity should go
  • Default: 1

max_jumps MAX_JUMPS

  • How many jumps a player can perform
  • Default: 1

slipperiness SLIPPERINESS

  • How slippery ice should be
  • Default: 1

name_tag_visibility_range NAME_TAG_VISIBILITY_RANGE

  • How far a player can see nametags of others
  • Default: 64

A Player that eats food instantly and has more hunger

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:

Fneifnox's Mods Discord Server

Versionen

Release
1.6.3
fabric, quilt · 1.21, 1.21.1 · 21d ago
**Fixed** - `SPRINTING_SPEED` making the player 0.13 faster than it is supposed to
27
Release
1.6.2
fabric, quilt · 1.21, 1.21.1 · 2mo ago
**Added** - DodgeDamageEvent which is called when a living entity sucessfully dodges damage with `DODGE_CHANCE` **Fixed** - Speed modifiers of the player not…
25
Release
1.6.1
fabric, quilt · 1.21, 1.21.1 · 2mo ago
**Fixed** - Crash on a server because of `MAX_JUMPS`
18
Release
1.6.0
fabric, quilt · 1.21, 1.21.1 · 3mo ago
**Added** - ⁨⁨⁨`DODGE_CHANCE` - ⁨⁨⁨`MAX_JUMPS` **Fixed** - `CROSSBOW_PULL_TIME_MULTIPLIER` not getting translated - Hungerbar only refilling up to…
11
Release
1.5.3
fabric, quilt · 1.21, 1.21.1 · 3mo ago
**Fixed** - Game crashing when an entity except the player drinks or eats something (for example a wandering trader)
12
Release
1.5.2
fabric, quilt · 1.21, 1.21.1 · 4mo ago
**Fixed** - Wrong calculation of ⁨`FISHING_DURATION_MULTIPLIER`⁩ with the Lure Enchantment
44
Release
1.5.1
fabric, quilt · 1.21, 1.21.1 · 4mo ago
**Fixed** - Setting `FISHING_DURATION_MULTIPLIER` to 0 or to a really low value will no longer prohibit fishes from appearing - Fixed a Vanilla bug that causes…
16
Release
1.5.0
fabric, quilt · 1.21, 1.21.1 · 4mo ago
**Added** - ⁨⁨⁨⁨`FISHING_DURATION_MULTIPLIER`⁩ - ⁨⁨⁨`ADDITIONAL_FISHING_LUCK`⁩⁩⁩⁩
15
Release
1.4.1
fabric, quilt · 1.21, 1.21.1 · 5mo ago
**Fixed** - Visual bug where the hunger bar would sometimes jump back to previous values
26
Release
1.4.0
fabric, quilt · 1.21, 1.21.1 · 5mo ago
**Added** - `SPRINTING_FOOD`
14
Release
1.3.0
fabric, quilt · 1.21, 1.21.1 · 7mo ago
**Added** - `LIFESTEAL` - `HUNGERSTEAL`
20
Release
1.2.0
fabric, quilt · 1.21, 1.21.1 · 7mo ago
**Added** - `CROSSBOW_PULL_TIME_MULTIPLIER` **Fixed** - `MOUNT_SPEED_MULTIPLIER` not getting translated
33

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.