Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bibi-reden committed Jun 28, 2024
1 parent 2f3cdbd commit bdc0eba
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
import com.bibireden.data_attributes.config.models.OverridesConfigModel;
import com.bibireden.data_attributes.data.AttributeFunction;

/**
* Extends the {@link net.minecraft.entity.attribute.EntityAttribute} class
* to implement child-parent relationships with other attributes,
* allow overrides, and sum calculations of the attribute.
*/
public interface MutableEntityAttribute extends IEntityAttribute {
/** Checks if one attribute contains another via the child-parent relationship. */
static boolean contains(MutableEntityAttribute lhs, MutableEntityAttribute rhs) {
Expand Down

0 comments on commit bdc0eba

Please sign in to comment.