All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.minecraft.server.EnchantmentArrowDamage Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
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