-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Milestone
Description
I suggest renaming all of the existing "chat" components, and moving them to their own package.
This includes:
event.ClickEvent
event.HoverEvent
util.ChatComponentProcessor
util.ChatComponentScore
util.ChatComponentSelector
util.ChatComponentStyle
util.ChatComponentText
util.ChatComponentTranslation
util.ChatComponentTranslationFormatException
util.ChatStyle
util.EnumChatFormatting
util.IChatComponent
The "chat component" classes aren't used for chat only, so they should probably be renamed to remove "Chat".
Suggested renames:
event.ClickEvent
->text.event.ClickEvent
event.HoverEvent
->text.event.HoverEvent
util.ChatComponentProcessor
->text.ComponentProcessor
util.ChatComponentScore
->text.ScoreComponent
ortext.ComponentScore
util.ChatComponentSelector
->text.SelectorComponent
ortext.ComponentSelector
util.ChatComponentStyle
->text.BaseComponent
ortext.ComponentBase
util.ChatComponentText
->text.TextComponent
ortext.ComponentText
util.ChatComponentTranslation
->text.TranslatableComponent
ortext.ComponentTranslatable
util.ChatComponentTranslationFormatException
->text.TranslatableComponentFormatException
ortext.ComponentTranslatableFormatException
util.ChatStyle
->text.Style
ortext.ComponentStyle
util.EnumChatFormatting
->text.EnumComponentFormat
util.IChatComponent
->text.IComponent
Along with this, method renames:
func_150256_b
:getChatStyle
->getStyle
func_150255_a
:setChatStyle
->setStyle
func_150235_h
:getChatClickEvent
->getClickEvent
func_150241_a
:setChatClickEvent
->setClickEvent
func_150210_i
:getChatHoverEvent
->getHoverEvent
func_150209_a
:setChatHoverEvent
->setHoverEvent