![JAR search and dependency download from the Maven repository](/logo.png)
cn.nukkit.item.enchantment.crossbow.EnchantmentCrossbow Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.item.enchantment.crossbow;
import cn.nukkit.api.Since;
import cn.nukkit.item.enchantment.Enchantment;
import cn.nukkit.item.enchantment.EnchantmentType;
@Since("1.4.0.0-PN")
public abstract class EnchantmentCrossbow extends Enchantment {
@Since("1.4.0.0-PN")
protected EnchantmentCrossbow(int id, String name, Rarity rarity) {
super(id, name, rarity, EnchantmentType.CROSSBOW);
}
@Override
public int getMaxEnchantAbility(int level) {
return 50;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy