The More RPG Library adds custom entity attributes that extend Minecraft’s attribute system. These attributes control various gameplay mechanics including fuse modifiers, status effect chances, and combat modifiers.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ProfessorFichte/More-RPG-Classes/llms.txt
Use this file to discover all available pages before exploring further.
Overview
All attributes are registered asClampedEntityAttribute instances with a base value, minimum value, and maximum value. They are tracked attributes, meaning their values are synchronized between server and client.
Source: net.more_rpg_classes.entity.attribute.MRPGCEntityAttributes
Attribute Registration
Attributes are registered using the following pattern:MRPGCEntityAttributes.java:34-37
Combat Modifiers
DAMAGE_REFLECT_MODIFIER
Base percentage value for damage reflection
Minimum allowed value
Maximum allowed value
MRPGCEntityAttributes.java:14
LIFESTEAL_MODIFIER
Base percentage value for lifesteal
Minimum allowed value
Maximum allowed value
MRPGCEntityAttributes.java:15
RAGE_MODIFIER
Base percentage value for rage generation/effectiveness
Minimum allowed value
Maximum allowed value
MRPGCEntityAttributes.java:16
SPELL_VAMPIRE
Base percentage value for spell vampirism
Minimum allowed value
Maximum allowed value
MRPGCEntityAttributes.java:17
ARMOR_PIERCING
Base percentage value for armor penetration
Minimum allowed value
Maximum allowed value (capped at 200%)
MRPGCEntityAttributes.java:31
TENACITY
Base percentage value for crowd control resistance
Minimum allowed value
Maximum allowed value (capped at 200%)
MRPGCEntityAttributes.java:32
Fuse Modifiers
Fuse modifiers control the effectiveness of spell school-specific fuse mechanics.AIR_FUSE_MODIFIER
MRPGCEntityAttributes.java:18
ARCANE_FUSE_MODIFIER
MRPGCEntityAttributes.java:19
EARTH_FUSE_MODIFIER
MRPGCEntityAttributes.java:20
FIRE_FUSE_MODIFIER
MRPGCEntityAttributes.java:21
FROST_FUSE_MODIFIER
MRPGCEntityAttributes.java:22
HEALING_FUSE_MODIFIER
MRPGCEntityAttributes.java:23
WATER_FUSE_MODIFIER
MRPGCEntityAttributes.java:24
Status Effect Chance Attributes
These attributes control the percentage chance to apply various status effects on hit.BURNING_CHANCE
Base chance percentage (100 = base, 200 = 100% guaranteed)
Maximum 200% (double the base chance)
MRPGCEntityAttributes.java:25
STAGGER_CHANCE
MRPGCEntityAttributes.java:26
STUN_CHANCE
MRPGCEntityAttributes.java:27
POISON_CHANCE
MRPGCEntityAttributes.java:28
FREEZE_CHANCE
MRPGCEntityAttributes.java:29
BLEEDING_CHANCE
MRPGCEntityAttributes.java:30
Usage Examples
Reading Attribute Values
Modifying Attributes
Checking Attributes in Combat
Using with Custom Methods
Attribute Modifier Operations
Adds the modifier value directly to the base attribute value.Example:
base: 100, modifier: +20 = 120Multiplies the base value by (1 + modifier), applied before ADD_MULTIPLIED_TOTAL.Example:
base: 100, modifier: 0.5 = 100 * 1.5 = 150Multiplies the final value by (1 + modifier), applied last.Example:
current: 150, modifier: 0.2 = 150 * 1.2 = 180Percentage Value Interpretation
Most attributes use a base value of 100.0 representing 100%:100.0= 100% (normal/base value)150.0= 150% (+50% increase)200.0= 200% (double effectiveness)50.0= 50% (half effectiveness)
See Also
- Status Effects - For effects that modify these attributes
- Custom Methods - For helper methods using these attributes