Skip to content

๐Ÿ’ช Player Stats โ€‹

Player statistics are essential in MMOCore. They can be granted by classes, attributes, party buffs, temporary skills, items... For better compatibility, MMOItems shares its stat system with MMOCore, so any stat that can be found in MMOItems can be used inside of MMOCore.

Stats handled with vanilla attribute modifiers โ€‹

Stat nameDescription
attack_damageDamage dealt by melee attacks
attack_speedThe player's speed of attacks
max_healthMax health of the player
movement_speedPlayer's walking speed
knockback_resistanceChance of negating knockback (vanilla player attribute) from 0 to 1
armorReduces damage taken, vanilla player attribute
armor_toughnessVanilla armor toughness, reduces damage taken (see MC wiki)

The default player movement speed is set to 0.1 which is 4.317m/s according to the Minecraft wiki. Since one block measures 1m^3, the formula for the player move speed is <attribute_value> * 43.17 m/s.

Minecraft 1.20.2+ โ€‹

Stat nameDescription
max_absorptionMaximum amount of absorption hearts

Minecraft 1.20.5+ โ€‹

Stat nameDescription
block_break_speedPlayer's block breaking speed
block_interaction_rangeHow far the player can break or interact with blocks
entity_interaction_rangeHow far the player can hit or interact with entities
fall_damage_multiplierIncreases/decreases fall damage
gravityHow strong gravity is
jump_strengthHow high the player can jump (basically Jump Boost)
safe_fall_distanceHow high the player can fall from without taking fall damage
scaleHow big the player is (increases player's size and offsets camera location)
step_heightHow many blocks the player can climb when walking without having to jump

Minecraft 1.21+ โ€‹

Stat nameDescription
burning_timeAmount of time how long an entity remains on fire after being ignited as a multiplier.
explosion_knockback_resistanceResistance to knockback due to explosions.
mining_efficiencyFactor for increasing/reducing mining speed
movement_efficiencyMovement speed factor when walking on blocks that slow down movement.
oxygen_bonusDetermines the chance not to use up air when underwater.
sneaking_speedMovement speed when sneaking.
submerged_mining_speedMining speed factor when submerged.
sweeping_damage_ratioPercentage of damage transferred by sweep attacks.
water_movement_efficiencyMovement speed factor when submerged.

Resources โ€‹

Stat nameDescription
max_manaMaximum mana the player may have.
max_staminaMaximum stamina the player may have.
max_stelliumStellium is a resource used to travel using waypoints.
health_regenerationHealth regeneration in pts/sec.
mana_regenerationMana regen in pts/sec
stamina_regenerationStamina regen in pts/sec
stellium_regenerationStellium regen in pts/sec
max_health_regenerationHealth regen in % of max health/sec
max_mana_regenerationMana regen in % of max mana/sec
max_stamina_regenerationStamina regen in % of max stamina/sec
max_stellium_regenerationStellium regen in % of max stellium/sec

Utility โ€‹

Stat nameDescription
additional_experienceExtra experience the player earns.
cooldown_reductionReduces skills cooldowns by a specific %
speed_malus_reductionReduces (in %) slow debuffs.
luckGreater chance to have rare items in loot chest and with fishing drop tables. An item with a drop chance of 1% will in truth, have drop chance of 10% with 100 LUCK.

Speed malus reduction doesn't directly increase the player's movement speed. It decrease by a certain amount speed debuffs like debuffs due to MMOItems. By registering a negative movement speed buff on MMOItems, you can create the feeling that items are heavy and reduce the player's move speed when worn/held. Speed malus reduction reduces such slow debuffs.

Critical Strikes โ€‹

Stat nameDescription
critical_strike_chanceChance to deal crits with weapons.
critical_strike_powerExtra damage dealt by weapon crits.
skill_critical_strike_chanceChance to deal crits with skills.
skill_critical_strike_powerExtra damage dealt by skill crits.

Damage Stats โ€‹

The following stats are damage multiplier e.g when set to 50, specified attack damage is increased by 50%.

Stat nameDescription
magic_damageAdditional magical skill damage.
physical_damageAdditional physical skill/weapon damage.
projectile_damageAdditional projectile based weapon & skill damage.
weapon_damageAdditional weapon based attack damage.
skill_damageAdditional skill (magical/physical) damage.
undead_damageAdditional damage against undead creatures.
pvp_damageAdditional damage against players.
pve_damageAdditional damage against anything but players.

Powered by VitePress