@Override
  public boolean equals(final @Nullable Object other) {
    if (this == other) return true;
    if (other == null || this.getClass() != other.getClass()) return false;
    final PrideTag that = (PrideTag) other;
    return this.phase == that.phase
      && this.flag.equals(that.flag);
  }
Applies pride flags to a component.

@since 4.18.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/PrideTag.java