Interface Nameable
- All Known Subinterfaces:
BlockProtection,BlockProtectionInfo,EntityProtection,Protection
public interface Nameable
Represents an entity that can have a custom display name.
-
Method Details
-
getDisplayName
Get the display name.- Returns:
- if
getName()returns null, this will return a system generated name depending on the protection type.
-
getName
Get the name.- Returns:
- null, if no custom name was set.
-