public interface Attributable
Modifier and Type | Method and Description |
---|---|
@Nullable AttributeInstance |
getAttribute(@NotNull Attribute attribute)
Gets the specified attribute instance from the object.
|
void |
registerAttribute(@NotNull Attribute attribute)
Registers a generic attribute to that attributable instance.
|
@Nullable @Nullable AttributeInstance getAttribute(@NotNull @NotNull Attribute attribute)
attribute
- the attribute to getCopyright © 2021. All rights reserved.