mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 10:22:25 +00:00
1.7.10 Files
Files added
This commit is contained in:
1 parent
393ea9b463
commit
a31efb2dc3
1768 files changed
+84831
No files matched your search
@@ -0,0 +1,18 @@
|
||||
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();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user