Jump to content

Recommended Posts

Posted

Question obviously is how to register sounds in 1.7.2

@ForgeSubscribe
public void onSoundsLoaded(SoundLoadEvent event)
{
event.manager.soundPoolSounds.addSound("modid:soundname.ogg");
}

This code doesn't work anymore. And I can not find obfuscated function. Please help!!!

 

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

Posted

Still unresolved! Help!!! Maybe any idea? I checked all functions in event.manager Look like there are no functions to load sounds.

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

Posted

I would be very happy if someone would help me.

And I have a little progress. Before on trying to play "flintstonetools:items.stonestrike" (That not registered obviously) I was getting messages Unable to play unknown soundEvent: flintstonetools:items.stonestrike That says that I've never registered this sound.

Then I created 2 files in folder assets/flintstonetools

[spoiler=pack.mcmeta]

{
  "pack": {
     "pack_format": 1,
     "description": "FlintStone Tools"
  }
}

 

and

[spoiler=sounds.json]

{
  "items.stonestrike": {
    "category": "neutral",
    "sounds": [
      "items/stonestrike"
    ]
  }
}

 

 

And now I getting messages Unable to play empty soundEvent: flintstonetools:items.stonestrike EMPTY!!! Not unknown, EMPTY!! I am happy, but where am I wrong, and what I need to do to make it not empry?? Please, help!!!

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

Posted

Yes, I solved it! I just renamed folder "Sound" to folder "Sounds" This shows that one symbol in programming can make you want suicide.

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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