Skip to content

Commit

Permalink
clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
oq-x committed Oct 19, 2024
1 parent 81f6193 commit a29bd9c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions protocol/text/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a29bd9c

Please sign in to comment.