mirror of
https://github.com/veralol/VeraSpigotAPI.git
synced 2024-11-10 01:01:32 +01:00
more implementation
This commit is contained in:
parent
a1081861c1
commit
f26908ecf2
13
pom.xml
13
pom.xml
@ -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>
|
||||
|
@ -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) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user