Package com.nexomc.nexo.utils.wrappers
Class AttributeWrapper
-
- All Implemented Interfaces:
public final class AttributeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description public final static AttributeSAFE_FALL_DISTANCEpublic final static AttributeMAX_HEALTHpublic final static AttributeBLOCK_BREAK_SPEEDpublic final static AttributeMINING_EFFICIENCYpublic final static AttributeSUBMERGED_MINING_SPEEDpublic final static AttributeENTITY_INTERACTION_RANGEpublic final static AttributeBLOCK_INTERACTION_RANGEprivate final Attributeattributeprivate final AttributeModifiermodifierprivate final EquipmentSlotGroupslot
-
Constructor Summary
Constructors Constructor Description AttributeWrapper(Attribute attribute, AttributeModifier modifier, EquipmentSlotGroup slot, ConfigurationSection display)
-
Method Summary
Modifier and Type Method Description final AttributegetAttribute()final AttributeModifiergetModifier()final EquipmentSlotGroupgetSlot()final UnitaddToBuilder(ItemAttributeModifiers.Builder builder)final static <Error class: unknown class>fromString(String attribute)-
-
Method Detail
-
getAttribute
final Attribute getAttribute()
-
getModifier
final AttributeModifier getModifier()
-
getSlot
final EquipmentSlotGroup getSlot()
-
addToBuilder
final Unit addToBuilder(ItemAttributeModifiers.Builder builder)
-
fromString
final static <Error class: unknown class> fromString(String attribute)
-
-
-
-