mirror of
https://github.com/veralol/VeraSpigotAPI.git
synced 2024-11-10 01:01:32 +01:00
parent
3e7ef96ce9
commit
da890763a3
@ -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) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -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);
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user