@Override
  public boolean equals(final Object other) {
    if (this == other) return true;
    if (other == null || this.getClass() != other.getClass()) return false;
    final TransitionTag that = (TransitionTag) other;
    return this.phase == that.phase && Arrays.equals(this.colors, that.colors);
  }
Changes the color based on a phase param.

@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/TransitionTag.java