- 21
- 0
if (event.gui instanceof GuiMainMenu) {
Minecraft.getMinecraft().getSoundHandler().playSound(PositionedSoundRecord.func_147674_a(new ResourceLocation("menuMod", "music"), 1.0F));
} else
Minecraft.getMinecraft().getSoundHandler().stopSounds(); //стопает вообще все звуки
}
Minecraft.getMinecraft().getSoundHandler().playSound(PositionedSoundRecord.func_147674_a(new ResourceLocation("menuMod", "music"), 1.0F));
} else
Minecraft.getMinecraft().getSoundHandler().stopSounds(); //стопает вообще все звуки
}