# Deprecated API

## Contents

- Methods
- Constructors
- Enum Constants

- Deprecated Methods
  Method
  Description
  net.md_5.bungee.api.chat.BaseComponent.duplicateWithoutFormatting()
  API use discouraged, use traditional duplicate
  net.md_5.bungee.api.chat.TextComponent.fromLegacyText(String)
  `TextComponent.fromLegacy(String)` is preferred as it will consolidate all components into a single BaseComponent with extra contents as opposed to an array of components which is non-standard and may result in unexpected behavior.
  net.md_5.bungee.api.chat.TextComponent.fromLegacyText(String, ChatColor)
  `TextComponent.fromLegacy(String, ChatColor)` is preferred as it will consolidate all components into a single BaseComponent with extra contents as opposed to an array of components which is non-standard and may result in unexpected behavior.
  net.md_5.bungee.api.ChatColor.name()
  holdover from when this class was an enum
  net.md_5.bungee.api.ChatColor.ordinal()
  holdover from when this class was an enum
  net.md_5.bungee.api.ChatColor.valueOf(String)
  holdover from when this class was an enum
  net.md_5.bungee.api.ChatColor.values()
  holdover from when this class was an enum

- Deprecated Constructors
  Constructor
  Description
  net.md_5.bungee.api.chat.BaseComponent()
  for use by internal classes only, will be removed.
  net.md_5.bungee.api.chat.HoverEvent(HoverEvent.Action, BaseComponent[])
  `HoverEvent(Action, Content[])`

- Deprecated Enum Constants
  Enum Constant
  Description
  net.md_5.bungee.api.chat.HoverEvent.Action.SHOW_ACHIEVEMENT