Documentation
¶
Overview ¶
Package title provides functionality for showing Minecraft titles for players.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Title component.Component
Subtitle component.Component
FadeIn, Stay, FadeOut time.Duration
// The parts of a title to update exclusively.
// If empty, all parts are being updated.
Parts []Part
}
Options for showing a title.
type Viewer ¶
type Viewer interface {
netmc.PacketWriter
}
Viewer is the interface for a title viewer (e.g. a player).
Click to show internal directories.
Click to hide internal directories.