
net.minecraft.server.EnchantmentArrowKnockback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package net.minecraft.server;
public class EnchantmentArrowKnockback extends Enchantment {
public EnchantmentArrowKnockback(int i, MinecraftKey minecraftkey, int j) {
super(i, minecraftkey, j, EnchantmentSlotType.BOW);
this.c("arrowKnockback");
}
public int a(int i) {
return 12 + (i - 1) * 20;
}
public int b(int i) {
return this.a(i) + 25;
}
public int getMaxLevel() {
return 2;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy