Posted July 3, 201411 yr Hi all, I have a sound that plays when you use an item, but it plays it into the world and stays in one place. How do you make it so it follows the player who used the item? The code i have is: public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { par2World.playSoundAtEntity(par3EntityPlayer, "revso:turpstervision", 1.0F, 1.0F); return par1ItemStack; } Could you please type out what i need to put. Also, how do you make it so only one of the sound can be used at once as it is quite long Thanks, Joe
July 3, 201411 yr Author Well again, thank you for helping (NOT), it is also not a very nice forum, I'll go find another one.
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.