TamableFoxes/Utility/src/main/java/net/seanomik/tamablefoxes/util/NMSInterface.java

20 lines
476 B
Java
Raw Normal View History

package net.seanomik.tamablefoxes.util;
import org.bukkit.Location;
2021-12-11 23:55:49 +00:00
import org.bukkit.entity.Fox;
import org.bukkit.entity.Player;
import java.util.UUID;
public interface NMSInterface {
enum FoxType {
RED,
SNOW
}
2021-12-11 23:55:49 +00:00
void registerCustomFoxEntity();
void spawnTamableFox(Location loc, FoxType type);
void changeFoxOwner(Fox fox, Player newOwner);
UUID getFoxOwner(Fox fox);
void renameFox(org.bukkit.entity.Fox fox, Player player);
}