@Override
  default @NotNull Map<TextDecoration, TextDecoration.State> decorations() {
    return this.style().decorations();
  }
Gets a set of decorations this component has.

@return a set of decorations this component has
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/Component.java