Package cn.nukkit.entity
Interface EntityOwnable
- All Known Subinterfaces:
EntityTamable
- All Known Implementing Classes:
EntityTameable
,EntityWolf
@Deprecated
@DeprecationDetails(since="1.19.30-r1",
reason="\u7edf\u4e00\u63a5\u53e3\u5b9a\u4e49",
replaceWith="replace to EntityTamable")
public interface EntityOwnable
Deprecated.
- Author:
- BeYkeRYkt (Nukkit Project)
-
Method Summary
Modifier and TypeMethodDescriptiongetOwner()
Deprecated.Deprecated.void
setOwnerName
(String playerName) Deprecated.设置这个实体主人的名字,相当于设置这个实体的主人
The name of the owner of this entity,Equivalent to set the owner of this entity.
-
Method Details
-
getOwnerName
String getOwnerName()Deprecated.- Returns:
- 这个实体主人的名字
The name of the owner of this entity
-
setOwnerName
Deprecated.设置这个实体主人的名字,相当于设置这个实体的主人
The name of the owner of this entity,Equivalent to set the owner of this entity. -
getOwner
Deprecated.- Returns:
- 获得这个实体的主人Player实例
Get the instance that the owner of entity.
-