mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 08:49:41 +00:00
Proper Reformating
This commit is contained in:
1 parent
ce75880aba
commit
180d257024
1179 files changed
+59847
-61583
No files matched your search
@@ -4,15 +4,17 @@ 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();
|
||||
}
|
||||
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