类 Entity
java.lang.Object
net.md_5.bungee.api.chat.hover.content.Content
net.md_5.bungee.api.chat.hover.content.Entity
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected 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()
从类继承的方法 net.md_5.bungee.api.chat.hover.content.Content
assertAction
-
构造器详细资料
-
Entity
-
-
方法详细资料
-
requiredAction
从类复制的说明:Content
Required action for this content type.- 指定者:
requiredAction
在类中Content
- 返回:
- 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()
-