-
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.ClickEventevent.HoverEventutil.ChatComponentProcessorutil.ChatComponentScoreutil.ChatComponentSelectorutil.ChatComponentStyleutil.ChatComponentTextutil.ChatComponentTranslationutil.ChatComponentTranslationFormatExceptionutil.ChatStyleutil.EnumChatFormattingutil.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.ClickEventevent.HoverEvent->text.event.HoverEventutil.ChatComponentProcessor->text.ComponentProcessorutil.ChatComponentScore->text.ScoreComponentortext.ComponentScoreutil.ChatComponentSelector->text.SelectorComponentortext.ComponentSelectorutil.ChatComponentStyle->text.BaseComponentortext.ComponentBaseutil.ChatComponentText->text.TextComponentortext.ComponentTextutil.ChatComponentTranslation->text.TranslatableComponentortext.ComponentTranslatableutil.ChatComponentTranslationFormatException->text.TranslatableComponentFormatExceptionortext.ComponentTranslatableFormatExceptionutil.ChatStyle->text.Styleortext.ComponentStyleutil.EnumChatFormatting->text.EnumComponentFormatutil.IChatComponent->text.IComponent
Along with this, method renames:
func_150256_b:getChatStyle->getStylefunc_150255_a:setChatStyle->setStylefunc_150235_h:getChatClickEvent->getClickEventfunc_150241_a:setChatClickEvent->setClickEventfunc_150210_i:getChatHoverEvent->getHoverEventfunc_150209_a:setChatHoverEvent->setHoverEvent