2021-06-23 19:54:58 +00:00
|
|
|
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;
|
2021-06-23 19:54:58 +00:00
|
|
|
|
|
|
|
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);
|
2022-02-01 04:58:42 +00:00
|
|
|
void renameFox(org.bukkit.entity.Fox fox, Player player);
|
2020-07-14 17:51:21 +00:00
|
|
|
}
|