R
- The type of the result of the actionpublic abstract class HoverAction<R> extends TextAction<R>
TextAction
that responds to hovers.Modifier and Type | Class and Description |
---|---|
static class |
HoverAction.ShowEntity
Shows information about an entity.
|
static class |
HoverAction.ShowItem
Shows information about an item.
|
static class |
HoverAction.ShowText
Shows some text.
|
result
Modifier and Type | Method and Description |
---|---|
void |
applyTo(Text.Builder builder)
Applies this element to the end of the specified builder.
|
equals, getResult, hashCode, toString
public void applyTo(Text.Builder builder)
TextElement
builder
- Text builder to apply to