Package net.kyori.adventure.text.event
Class HoverEvent.ShowEntity
java.lang.Object
net.kyori.adventure.text.event.HoverEvent.ShowEntity
- All Implemented Interfaces:
 net.kyori.examination.Examinable
- Enclosing class:
 - HoverEvent<V>
 
public static final class HoverEvent.ShowEntity extends Object implements net.kyori.examination.Examinable
The value of a 
show_entity hover event.- Since:
 - 4.0.0
 
- 
Method Summary
Modifier and Type Method Description booleanequals(@Nullable Object other)@NonNull Stream<? extends net.kyori.examination.ExaminableProperty>examinableProperties()inthashCode()@NonNull UUIDid()Gets the id.@NonNull HoverEvent.ShowEntityid(@NonNull UUID id)Sets the id.@Nullable Componentname()Gets the name.@NonNull HoverEvent.ShowEntityname(@Nullable Component name)Sets the name.static @NonNull HoverEvent.ShowEntityof(@NonNull net.kyori.adventure.key.Keyed type, @NonNull UUID id)Creates.static @NonNull HoverEvent.ShowEntityof(@NonNull net.kyori.adventure.key.Keyed type, @NonNull UUID id, @Nullable Component name)Creates.static @NonNull HoverEvent.ShowEntityof(@NonNull net.kyori.adventure.key.Key type, @NonNull UUID id)Creates.static @NonNull HoverEvent.ShowEntityof(@NonNull net.kyori.adventure.key.Key type, @NonNull UUID id, @Nullable Component name)Creates.StringtoString()@NonNull net.kyori.adventure.key.Keytype()Gets the type.@NonNull HoverEvent.ShowEntitytype(@NonNull net.kyori.adventure.key.Key type)Sets the type.@NonNull HoverEvent.ShowEntitytype(@NonNull net.kyori.adventure.key.Keyed type)Sets the type.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.kyori.examination.Examinable
examinableName, examine 
- 
Method Details
- 
of
public static @NonNull HoverEvent.ShowEntity of(@NonNull net.kyori.adventure.key.Key type, @NonNull UUID id)Creates.- Parameters:
 type- the typeid- the id- Returns:
 - a 
ShowEntity - Since:
 - 4.0.0
 
 - 
of
public static @NonNull HoverEvent.ShowEntity of(@NonNull net.kyori.adventure.key.Keyed type, @NonNull UUID id)Creates.- Parameters:
 type- the typeid- the id- Returns:
 - a 
ShowEntity - Since:
 - 4.6.0
 
 - 
of
public static @NonNull HoverEvent.ShowEntity of(@NonNull net.kyori.adventure.key.Key type, @NonNull UUID id, @Nullable Component name)Creates.- Parameters:
 type- the typeid- the idname- the name- Returns:
 - a 
ShowEntity - Since:
 - 4.0.0
 
 - 
of
public static @NonNull HoverEvent.ShowEntity of(@NonNull net.kyori.adventure.key.Keyed type, @NonNull UUID id, @Nullable Component name)Creates.- Parameters:
 type- the typeid- the idname- the name- Returns:
 - a 
ShowEntity - Since:
 - 4.6.0
 
 - 
type
public @NonNull net.kyori.adventure.key.Key type()Gets the type.- Returns:
 - the type
 - Since:
 - 4.0.0
 
 - 
type
Sets the type.- Parameters:
 type- the type- Returns:
 - a 
ShowEntity - Since:
 - 4.0.0
 
 - 
type
Sets the type.- Parameters:
 type- the type- Returns:
 - a 
ShowEntity - Since:
 - 4.6.0
 
 - 
id
Gets the id.- Returns:
 - the id
 - Since:
 - 4.0.0
 
 - 
id
Sets the id.- Parameters:
 id- the id- Returns:
 - a 
ShowEntity - Since:
 - 4.0.0
 
 - 
name
Gets the name.- Returns:
 - the name
 - Since:
 - 4.0.0
 
 - 
name
Sets the name.- Parameters:
 name- the name- Returns:
 - a 
ShowEntity - Since:
 - 4.0.0
 
 - 
equals
 - 
hashCode
public int hashCode() - 
examinableProperties
- Specified by:
 examinablePropertiesin interfacenet.kyori.examination.Examinable
 - 
toString
 
 -