Versions in this module Expand all Collapse all v0 v0.0.2 Aug 4, 2025 v0.0.1 Aug 4, 2025 Changes in this version + const FormTypeAction + const FormTypeMessage + const FormTypeModal + type ActionForm struct + Buttons []ActionFormElement + Content string + Title string + func (a ActionForm) ID() uint8 + func (a ActionForm) PackToJSON() string + type ActionFormElement struct + Icon ActionFormIcon + Text string + type ActionFormIcon any + type ActionFormIconNone struct + type ActionFormIconPathImage struct + ImagePath string + type ActionFormIconURLImage struct + ImageURL string + type MessageForm struct + Button1 string + Button2 string + Content string + Title string + func (m MessageForm) ID() uint8 + func (m MessageForm) PackToJSON() string + type MinecraftForm interface + ID func() uint8 + PackToJSON func() string + type ModalForm struct + Contents []ModalFormElement + Title string + func (m ModalForm) ID() uint8 + func (m ModalForm) PackToJSON() string + type ModalFormElement any + type ModalFormElementDropdown struct + Default uint + Options []string + Text string + type ModalFormElementInput struct + Default string + PlaceHolder string + Text string + type ModalFormElementLabel struct + Text string + type ModalFormElementSlider struct + Default int + Max int + Min int + Step int + Text string + type ModalFormElementStepSlider struct + Default uint + Steps []string + Text string + type ModalFormElementToggle struct + Default bool + Text string