diff --git a/pom.xml b/pom.xml index c40f2c7..a6df414 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ ir.wy WyCore jar - 2.0.21 + 2.0.22 diff --git a/src/main/java/ir/wy/wycore/proxy/utils/EmptyEntity.kt b/src/main/java/ir/wy/wycore/proxy/utils/EmptyEntity.kt new file mode 100644 index 0000000..8699458 --- /dev/null +++ b/src/main/java/ir/wy/wycore/proxy/utils/EmptyEntity.kt @@ -0,0 +1,11 @@ +package ir.wy.wycore.proxy.utils + +import org.bukkit.Location; +import org.bukkit.entity.Entity; + +interface EmptyEntity { + fun createEmptyEntity( + location: Location + ): Entity + +} \ No newline at end of file diff --git a/src/main/java/ir/wy/wycore/proxy/utils/ProxyEntityController.kt b/src/main/java/ir/wy/wycore/proxy/utils/ProxyEntityController.kt new file mode 100644 index 0000000..7b10355 --- /dev/null +++ b/src/main/java/ir/wy/wycore/proxy/utils/ProxyEntityController.kt @@ -0,0 +1,10 @@ +package ir.wy.wycore.proxy.utils + +import ir.wy.wycore.behind.entity.ai.EntityController +import org.bukkit.entity.Mob + +interface ProxyEntityController { + fun createEntityController( + entity: T + ): EntityController +} \ No newline at end of file diff --git a/src/main/java/ir/wy/wycore/proxy/utils/ProxyMiniMessage.kt b/src/main/java/ir/wy/wycore/proxy/utils/ProxyMiniMessage.kt new file mode 100644 index 0000000..2796557 --- /dev/null +++ b/src/main/java/ir/wy/wycore/proxy/utils/ProxyMiniMessage.kt @@ -0,0 +1,5 @@ +package ir.wy.wycore.proxy.utils + +interface ProxyMiniMessage { + fun format(message: String): String +} \ No newline at end of file diff --git a/src/main/java/ir/wy/wycore/spigot/Versions.java b/src/main/java/ir/wy/wycore/spigot/Versions.java index 261e314..847df45 100644 --- a/src/main/java/ir/wy/wycore/spigot/Versions.java +++ b/src/main/java/ir/wy/wycore/spigot/Versions.java @@ -4,6 +4,8 @@ import lombok.Getter; import org.bukkit.Bukkit; + +@Deprecated(since = "v2.0.10") public final class Versions { private static String serverVersion;