Posted March 1, 20169 yr my code : @SubscribeEvent public void onJoin(ClientConnectedToServerEvent event) { mc.getSoundHandler().playSound(PositionedSoundRecord.func_147673_a(new ResourceLocation(IGamePlugin.MODID, "sounds/bgm/sound"))); } sound file position : C:\Users\JSH\Desktop\forge\src\main\resources\assets\igame\sounds\bgm\sound.ogg this code error :Unable to play unknown soundEvent: igame:sounds/bgm/sound What Problem T__T?
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.