Posted December 24, 201311 yr Turns out the method was being fired at all (in the item). I'm currently trying to play my own sound. For some reason, it won't play the sound. The onSoundLoad method is already registered. Code snippet I used to add it to the game: @SideOnly(Side.CLIENT) @ForgeSubscribe public void onSoundLoad(SoundLoadEvent e) { e.manager.soundPoolSounds.addSound("treeditions:unwrap.ogg"); } Code snippet I used to play it: @Override public void onPlayerStoppedUsing(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, int par4) { par2World.playSoundAtEntity(par3EntityPlayer, "treeditions:unwrap", 1F, 1F); } Kain
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.