Staff Attribute Modifiers Component Builder
An AttributeModifiersComponent builder with the option to add staff defaults.
Functions
Link copied to clipboard
public final StaffAttributeModifiersComponentBuilder add(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot)
Adds an attribute modifier of the given entity attribute for the given slot.
Link copied to clipboard
public final StaffAttributeModifiersComponentBuilder addDefault(RegistryEntry<EntityAttribute> attribute)
Adds the default staff modifier of the given entity attribute as main hand modifier.
Link copied to clipboard
Builds an AttributeModifiersComponent from the previously supplied attribute modifiers.
Link copied to clipboard
Creates an AttributeModifiersComponent with every default staff attribute.