mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 08:27:45 +00:00
21 lines
468 B
Java
21 lines
468 B
Java
package noppes.npcs.items;
|
|
|
|
import noppes.npcs.CustomItems;
|
|
import noppes.npcs.constants.EnumNpcToolMaterial;
|
|
|
|
|
|
public class ItemBullet extends ItemNpcInterface {
|
|
private EnumNpcToolMaterial material;
|
|
|
|
public ItemBullet(int par1, EnumNpcToolMaterial material) {
|
|
super(par1);
|
|
this.material = material;
|
|
setCreativeTab(CustomItems.tabWeapon);
|
|
}
|
|
|
|
public int getBulletDamage() {
|
|
return material.getDamageVsEntity();
|
|
}
|
|
|
|
}
|