First attempt at jetpack sounds under vanilla system. Bad.

This commit is contained in:
Ben Spiers 2014-08-28 02:10:09 +01:00
parent 896c943758
commit be3120800f
2 changed files with 4 additions and 2 deletions

View file

@ -288,7 +288,9 @@ public class ClientTickHandler
{
if(MekanismClient.audioHandler.getSound(player, SoundHandler.CHANNEL_JETPACK) == null)
{
new JetpackSound(MekanismClient.audioHandler.getIdentifier(player), player);
//player.worldObj.playSoundAtEntity(player, "mekanism:item.jetpack", 1F, 1F);
player.worldObj.playSound(player.posX, player.posY, player.posZ, "mekanism:item.jetpack", 1, 1, false);
//new JetpackSound(MekanismClient.audioHandler.getIdentifier(player), player);
}
}
}

View file

@ -33,6 +33,6 @@
"item.flamethrower.idle": {"category": "player", "sounds": [{"name": "FlamethrowerIdle","stream": false}]},
"item.flamethrower.active": {"category": "player", "sounds": [{"name": "FlamethrowerActive","stream": false}]},
"item.gasmask": {"category": "player", "sounds": [{"name": "GasMask","stream": false}]}
"item.gasmask": {"category": "player", "sounds": [{"name": "GasMask","stream": false}]},
"item.jetpack": {"category": "player", "sounds": [{"name": "Jetpack","stream": false}]}
}