more implementation

This commit is contained in:
curtis 2023-04-18 14:44:56 +02:00
parent a1081861c1
commit f26908ecf2
2 changed files with 21 additions and 0 deletions

13
pom.xml
View File

@ -14,7 +14,20 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.8.8-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>

View File

@ -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) {
}
}
}