Revert "Revert "yes""

This reverts commit 3e7ef96ce9.
This commit is contained in:
curtis 2023-05-30 22:36:33 +02:00
parent 3e7ef96ce9
commit da890763a3
2 changed files with 45 additions and 0 deletions

View File

@ -13,6 +13,8 @@ public interface KnockbackImplementation {
void setActiveKnockbackProfile(Player player, KnockbackProfile knockbackProfile); void setActiveKnockbackProfile(Player player, KnockbackProfile knockbackProfile);
void createKnockbackProfile(KnockbackProfile knockbackProfile);
class DEFAULT implements KnockbackImplementation { class DEFAULT implements KnockbackImplementation {
@Override @Override
@ -35,6 +37,11 @@ public interface KnockbackImplementation {
} }
@Override
public void createKnockbackProfile(KnockbackProfile knockbackProfile) {
}
} }
} }

View File

@ -40,4 +40,42 @@ public interface KnockbackProfile {
Integer getPotionTicks(); 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);
} }