Interface Attributable

    • Method Detail

      • getAttribute

        @Nullable
        AttributeInstance getAttribute​(@NotNull
                                       Attribute attribute)
        Gets the specified attribute instance from the object. This instance will be backed directly to the object and any changes will be visible at once.
        Parameters:
        attribute - the attribute to get
        Returns:
        the attribute instance or null if not applicable to this object