public abstract class HoverEvent
extends java.lang.Object
TextHoverEvent implementation.| Modifier and Type | Field | Description |
|---|---|---|
protected HoverEventAction |
action |
| Constructor | Description |
|---|---|
HoverEvent(HoverEventAction action) |
| Modifier and Type | Method | Description |
|---|---|---|
static AchievementHoverEvent |
achievement(java.lang.String statistic) |
|
static EntityHoverEvent |
entity(net.lenni0451.mcstructs.core.Identifier entityType,
java.util.UUID uuid,
TextComponent name) |
|
abstract boolean |
equals(java.lang.Object o) |
|
HoverEventAction |
getAction() |
|
abstract int |
hashCode() |
|
static ItemHoverEvent |
item(net.lenni0451.mcstructs.core.Identifier item,
int count,
net.lenni0451.mcstructs.nbt.tags.CompoundTag nbt) |
|
static TextHoverEvent |
text(TextComponent text) |
|
abstract java.lang.String |
toString() |
protected HoverEventAction action
public HoverEvent(HoverEventAction action)
public static TextHoverEvent text(TextComponent text)
public static AchievementHoverEvent achievement(java.lang.String statistic)
public static ItemHoverEvent item(net.lenni0451.mcstructs.core.Identifier item, int count, @Nullable net.lenni0451.mcstructs.nbt.tags.CompoundTag nbt)
public static EntityHoverEvent entity(net.lenni0451.mcstructs.core.Identifier entityType, java.util.UUID uuid, @Nullable TextComponent name)
public HoverEventAction getAction()
public abstract boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic abstract int hashCode()
hashCode in class java.lang.Objectpublic abstract java.lang.String toString()
toString in class java.lang.Object