From 7eb18abd7c2047cbc19c71a1bec3c4752d04b7c5 Mon Sep 17 00:00:00 2001 From: curtis Date: Tue, 30 May 2023 22:35:30 +0200 Subject: [PATCH] yes --- .../KnockbackImplementation.java | 7 ++++ .../spigot/knockback/KnockbackProfile.java | 38 +++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/src/main/java/lol/vera/spigot/implementation/KnockbackImplementation.java b/src/main/java/lol/vera/spigot/implementation/KnockbackImplementation.java index a3415e2..db64e6e 100644 --- a/src/main/java/lol/vera/spigot/implementation/KnockbackImplementation.java +++ b/src/main/java/lol/vera/spigot/implementation/KnockbackImplementation.java @@ -13,6 +13,8 @@ public interface KnockbackImplementation { void setActiveKnockbackProfile(Player player, KnockbackProfile knockbackProfile); + void createKnockbackProfile(KnockbackProfile knockbackProfile); + class DEFAULT implements KnockbackImplementation { @Override @@ -35,6 +37,11 @@ public interface KnockbackImplementation { } + @Override + public void createKnockbackProfile(KnockbackProfile knockbackProfile) { + + } + } } \ No newline at end of file diff --git a/src/main/java/lol/vera/spigot/knockback/KnockbackProfile.java b/src/main/java/lol/vera/spigot/knockback/KnockbackProfile.java index 70e823d..7f01a88 100644 --- a/src/main/java/lol/vera/spigot/knockback/KnockbackProfile.java +++ b/src/main/java/lol/vera/spigot/knockback/KnockbackProfile.java @@ -40,4 +40,42 @@ public interface KnockbackProfile { Integer getPotionTicks(); + void setName(String name); + + void setFriction(double friction); + + void setVertical(double vertical); + + void setHorizontal(double horizontal); + + void setVerticalLimit(double verticalLimit); + + void setExtraVertical(double extraVertical); + + void setExtraHorizontal(double extraHorizontal); + + void setEntitySlowdown(double entitySlowdown); + + void setDamageTicks(double damageTicks); + + void setAutoWTap(boolean autoWTap); + + void setOnePointSeven(boolean onePointSeven); + + void setRodSpeed(double rodSpeed); + + void setBowSpeed(double bowSpeed); + + void setPearlSpeed(double pearlSpeed); + + void setPotionSpeed(double potionSpeed); + + void setPotionIntensity(double potionIntensity); + + void setPotionOffset(double potionOffset); + + void setPotionDistance(double potionDistance); + + void setPotionTicks(Integer potionTicks); + } \ No newline at end of file