Posted December 29, 201311 yr Hello guys. I have another noobish question in Minecraft Modding. I'm basicly creating my own mod. Adding my own mobs, ai, sounds. Ofcourse all that in eclipse. So i've decied to make my own mob with my own sounds. I downloaded sounds i needed and converted into .ogg format. I've writen inside my EntityName file this: protected String getLivingSound() { return "mob.mymob.bip"; } protected String getHurtSound() { return "mob.mymob.hurt"; } protected String getDeathSound() { return "mob.mymob.death"; } And i dont know where to put my own sounds. I tried to put them in [resources/sound3/mob/mymob]. It didnt worked in the game. I couldnt hear mymob make those sounds. I tried to put sounds in [resources/newsound/mob/mymob]. It didnt worked too! I dont know what to do, maybe you know? Please Help me! Thanks alot if you do.
December 29, 201311 yr I've never worked with sounds before, but usually making a resource location should work for this. Put the stuff into src/assets/yourmodid/sounds, and then use this code: private static final ResourceLocation HurtSound = new ResourceLocation("yourmodid:sounds/whateverthefileiscalled.ogg"); Then just return HurtSound for getHurtSound(), and repeat this for all 3 parts. If you really want help, give that modder a thank you. Modders LOVE thank yous.
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.