moreicons
This commit is contained in:
@@ -859,6 +859,14 @@ public final class ModItems {
|
||||
GameRegistry.registerItem(customIronPickCase33 = new CustomIronPick("customIronPickCase33", customWoodWeak), "customIronPickCase33");
|
||||
GameRegistry.registerItem(customIronPickCase34 = new CustomIronPick("customIronPickCase34", customIronToolRodWeak), "customIronPickCase34");
|
||||
GameRegistry.registerItem(customIronPickCase35 = new CustomIronPick("customIronPickCase35", customWoodWeak), "customIronPickCase35");
|
||||
GameRegistry.registerItem(customIronPickCase36 = new CustomIronPick("customIronPickCase36", customWoodWeak), "customIronPickCase36");
|
||||
GameRegistry.registerItem(customIronPickCase37 = new CustomIronPick("customIronPickCase37", customWoodNormal), "customIronPickCase37");
|
||||
GameRegistry.registerItem(customIronPickCase38 = new CustomIronPick("customIronPickCase38", customIronToolRodWeak), "customIronPickCase38");
|
||||
GameRegistry.registerItem(customIronPickCase39 = new CustomIronPick("customIronPickCase39", customIronToolRodWeak), "customIronPickCase39");
|
||||
GameRegistry.registerItem(customIronPickCase40 = new CustomIronPick("customIronPickCase40", customIronToolRodWeak), "customIronPickCase40");
|
||||
GameRegistry.registerItem(customIronPickCase41 = new CustomIronPick("customIronPickCase41", customWoodNormal), "customIronPickCase41");
|
||||
GameRegistry.registerItem(customIronPickCase42 = new CustomIronPick("customIronPickCase42", customIronToolRodNormal), "customIronPickCase42");
|
||||
|
||||
|
||||
GameRegistry.registerItem(customIronPick = new CustomIronPick("customIronPick", customWoodNormal), "customIronPick");
|
||||
GameRegistry.registerItem(customStrongIronPick = new CustomIronPick("customStrongIronPick", customWoodStrong), "customStrongIronPick");
|
||||
|
||||
@@ -43,15 +43,15 @@ public class FireBow extends Item {
|
||||
if(rand.nextInt(5) == 0){
|
||||
world.setBlock(x, y + 1, z , Blocks.fire);
|
||||
stack.damageItem(1, player);
|
||||
player.worldObj.playSoundAtEntity(player, Main.MODID + ":anvilhammer", 1.0F, 1.0F);
|
||||
for(int i=0; i < player.worldObj.playerEntities.size(); i++){
|
||||
//player.worldObj.playSoundAtEntity(player, Main.MODID + ":anvilhammer", 1.0F, 1.0F);
|
||||
/*for(int i=0; i < player.worldObj.playerEntities.size(); i++){
|
||||
EntityPlayer test = (EntityPlayer) player.worldObj.playerEntities.get(i);
|
||||
Vec3 vecTest = Vec3.createVectorHelper(test.posX, test.posY, test.posZ);
|
||||
Vec3 vecPlayer = Vec3.createVectorHelper(player.posX, player.posY, player.posZ);
|
||||
if(vecPlayer.distanceTo(vecTest)>10f && vecPlayer.distanceTo(vecTest)<100f){
|
||||
test.worldObj.playSoundAtEntity(test, Main.MODID + ":anvilhammer", 1.0F, 1.0F);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user