25 lines
558 B
Java
25 lines
558 B
Java
package org.bukkit.entity;
|
|
|
|
import java.util.UUID;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
public interface AnimalTamer {
|
|
|
|
/**
|
|
* This is the name of the specified AnimalTamer.
|
|
*
|
|
* @return The name to reference on tamed animals or null if a name cannot be obtained
|
|
*/
|
|
@Nullable
|
|
public String getName();
|
|
|
|
/**
|
|
* This is the UUID of the specified AnimalTamer.
|
|
*
|
|
* @return The UUID to reference on tamed animals
|
|
*/
|
|
@NotNull
|
|
public UUID getUniqueId();
|
|
}
|