
net.minecraft.server.EnchantmentArrowDamage 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 EnchantmentArrowDamage extends Enchantment {
public EnchantmentArrowDamage(int i, MinecraftKey minecraftkey, int j) {
super(i, minecraftkey, j, EnchantmentSlotType.BOW);
this.c("arrowDamage");
}
public int a(int i) {
return 1 + (i - 1) * 10;
}
public int b(int i) {
return this.a(i) + 15;
}
public int getMaxLevel() {
return 5;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy