Class Entity
java.lang.Object
net.md_5.bungee.api.chat.hover.content.Content
net.md_5.bungee.api.chat.hover.content.Entity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@NonNull String
getId()
Entity UUID in hyphenated hexadecimal format.getName()
Name to display as the entity.getType()
Namespaced entity ID.int
hashCode()
Required action for this content type.void
Entity UUID in hyphenated hexadecimal format.void
setName
(BaseComponent name) Name to display as the entity.void
Namespaced entity ID.toString()
Methods inherited from class net.md_5.bungee.api.chat.hover.content.Content
assertAction
-
Constructor Details
-
Entity
-
-
Method Details
-
requiredAction
Description copied from class:Content
Required action for this content type.- Specified by:
requiredAction
in classContent
- Returns:
- action
-
getType
Namespaced entity ID. Will use 'minecraft:pig' if null. -
getId
Entity UUID in hyphenated hexadecimal format. Should be valid UUID. TODO : validate? -
getName
Name to display as the entity. This is optional and will be hidden if null. -
setType
Namespaced entity ID. Will use 'minecraft:pig' if null. -
setId
Entity UUID in hyphenated hexadecimal format. Should be valid UUID. TODO : validate? -
setName
Name to display as the entity. This is optional and will be hidden if null. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-