Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

xGamer_Allx

Members
  • Joined

  • Last visited

Everything posted by xGamer_Allx

  1. SoundManager code: public class SoundManager { @SideOnly(Side.CLIENT) @ForgeSubscribe public void onSoundsLoaded(SoundLoadEvent event) { net.minecraft.client.audio.SoundManager manager = event.manager; manager.soundPoolStreaming.addSound("test:x.ogg"); } } Folder: /mods/test.jar/assets/test/records/x.ogg" not work D:[/code]
  2. Hello all, I have a problem when I register a sound; MainCodePreInt: @EventHandler public void preInit(FMLPreInitializationEvent event) { MinecraftForge.EVENT_BUS.register(new SoundManager()); } SoundManagerCode: public class SoundManager { @SideOnly(Side.CLIENT) @ForgeSubscribe public void onSoundsLoaded(SoundLoadEvent event) { net.minecraft.client.audio.SoundManager manager = event.manager; manager.soundPoolSounds.addSound("x.ogg"); } } If the x.ogg is put into ".minecraft/assets/records/x.ogg" it work... but I need this folder: "mods/mymod.jar/assets/records/x.ogg" I tried: "forge/mcp/src/assets/records/x.ogg" and "mods/mymod.jar/assets/records/x.ogg" but no work. Please help!
  3. I'm getting the suspicion that perhaps it is not possible to change the directory or not yet
  4. but what is it? the assets main?(into the .minecraft) or the assets folder into the mod folder? Because I need the folder into the mod folder
  5. I tried but nothing
  6. Event Loading Code: public class LoadsSounds { public void onSound(SoundLoadEvent event) { try { event.manager.soundPoolStreaming.addSound("Ao1.ogg"); } catch (Exception e) { System.err.println("Fatal Error Sounds"); } } } A brief summary of the situation: if the file ogg is put into /.minecraft/assets/records/Ao1.ogg it work... but I need this directory: /.minecraft/mods/MyMod.jar/assets/customsound/Ao1.ogg... Can help? P.S I not messaging RANDOM people but people who have much experience in the field, which your experience is very evident in CameraCraft that I used during the 1.3.2
  7. Please you can post your code? I need that the directory of sounds/streaming ,for my mod sounds, is mods/MyMod.jar/assets/sounds/myfile.ogg (the sounds file is into the mymod.jar)... I try but the directory is .minecraft/assets/sounds/myfile.ogg D: Please help me!
  8. No one can help me?
  9. The folder assets of the sound is out of jar... with your code the directory is: /.minecraft/assets/Mod_Meteorus/records/myfile.ogg How can I get this directory: /.minecraft/mods/MyMod/assets/Mod_Meteorus/records/myfile.ogg?
  10. I have mymod/assets/recors/myfile.ogg but not work... It work if the file is in .minecraft/assets/record/myfile.ogg... I need change the directory of my sound... How D::::
  11. I done the first release of my mod, version Beta 1.0.1, is called "Beta 1.0.1(Decorative Update)" and I want release it today, but with this problem I can't release.
  12. Help fast please! It is very important for my mod
  13. Ok work, How can change the assets sound folder?
  14. How can I convert the folder in jar?
  15. No, I have a folder that content the file class. I copy it in the mods folder
  16. My mod isn't jar isa folder
  17. Hello I recompile and reobuscate my mod and I tested it... I create new music disc it work fine but the file ogg need be into the folder assets/records/ ... How can I change this folder in mods/mymod/mysound/ ...? Thanks
  18. I finish my mod and now I want recompile but when I recompile there are 51 error... All error are the §, used for the color chat... How can I recompile if I use the §? or exist an api for the color? Thanks
  19. Hello all, I coding a singleplayer/multiplayer mod; I create a command, it works fine, but entering the test server; known that the command can be used both user that op, how can I do so that the user can not use this command? or how can I create a permission to implement with plugins? thanks Bye
  20. Yes, I want generate LARGE lakes in my CUSTOM BIOME. How Can I do? You can do a basic code file? I do not know where to start

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.