From a29bd9cfb42705ae9b9c13c9f6814eb516bd2ed6 Mon Sep 17 00:00:00 2001 From: oq Date: Sat, 19 Oct 2024 23:31:22 +0300 Subject: [PATCH] clarify --- protocol/text/text.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/protocol/text/text.go b/protocol/text/text.go index e57a52a..67a2d9e 100644 --- a/protocol/text/text.go +++ b/protocol/text/text.go @@ -13,24 +13,24 @@ const ( ) const ( - Default = "minecraft:default" - Uniform = "minecraft:uniform" - Alt = "minecraft:alt" - Illageralt = "minecraft:illageralt" + FontDefault = "minecraft:default" + FontUniform = "minecraft:uniform" + FontAlt = "minecraft:alt" + FontIllageralt = "minecraft:illageralt" ) const ( - OpenURL = "open_url" - RunCommand = "run_command" - SuggestCommand = "suggest_command" - ChangePage = "change_page" - CopyToClipboard = "copy_to_clipboard" + ClickEventOpenURL = "open_url" + ClickEventRunCommand = "run_command" + ClickEventSuggestCommand = "suggest_command" + ClickEventChangePage = "change_page" + ClickEventCopyToClipboard = "copy_to_clipboard" ) const ( - ShowText = "show_text" - ShowItem = "show_item" - ShowEntity = "show_entity" + HoverEventShowText = "show_text" + HoverEventShowItem = "show_item" + HoverEventShowEntity = "show_entity" ) type ClickEvent struct {