From f26908ecf20ad3d45c22c4ff009020f9409fa7c8 Mon Sep 17 00:00:00 2001 From: curtis <16502091+CurtisOK@users.noreply.github.com> Date: Tue, 18 Apr 2023 14:44:56 +0200 Subject: [PATCH] more implementation --- pom.xml | 13 +++++++++++++ .../java/lol/vera/spigot/ApiImplementation.java | 8 ++++++++ 2 files changed, 21 insertions(+) diff --git a/pom.xml b/pom.xml index a04743d..3adeaa5 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,20 @@ UTF-8 + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + + + org.spigotmc + spigot-api + 1.8.8-R0.1-SNAPSHOT + provided + org.projectlombok lombok diff --git a/src/main/java/lol/vera/spigot/ApiImplementation.java b/src/main/java/lol/vera/spigot/ApiImplementation.java index eba2807..7508757 100644 --- a/src/main/java/lol/vera/spigot/ApiImplementation.java +++ b/src/main/java/lol/vera/spigot/ApiImplementation.java @@ -1,6 +1,7 @@ package lol.vera.spigot; import lol.vera.spigot.knockback.KnockbackProfile; +import org.bukkit.entity.Player; public interface ApiImplementation { @@ -10,6 +11,8 @@ public interface ApiImplementation { void setActiveKnockbackProfile(KnockbackProfile knockbackProfile); + void setActiveKnockbackProfile(Player player, KnockbackProfile knockbackProfile); + class DEFAULT implements ApiImplementation { @Override @@ -27,6 +30,11 @@ public interface ApiImplementation { } + @Override + public void setActiveKnockbackProfile(Player player, KnockbackProfile knockbackProfile) { + + } + } } \ No newline at end of file