Jump to content

[1.19.2] Asking about moving sounds


Fire_Blaim

Recommended Posts

Hello, I'm addressing all the members of this forum because I wanted to adapt my mod based on Minecraft 1.8.9 which uses the class net.minecraft.client.audio.MovingSound but I see that it doesn't exist anymore. I read the documentation made by the Forge team but there are many functions with the same name and it confuses me... Any idea ?

Thanks in advance and sorry to disturb everyone

Link to comment
Share on other sites

https://forge.gemwire.uk/wiki/Sounds

 

I believe the official Mojang name for what forge used to call MovingSound is AbstractTickableSoundInstance?

Using a custom SoundInstance usually means taking greater control over how your sound plays than using SoundEvents.

e.g. using Minecraft.getInstance().getSoundManager().play(...)

a concrete example would be the ElytraOnPlayerSoundInstance usage in the LocalPlayer class.

 

I've heard there is a bot on forge's discord you can use to get the modern Mojmap names for old forge names?

But I think it is more focused on migration from 1.16.x? https://gist.github.com/50ap5ud5/beebcf056cbdd3c922cc8993689428f4#full-migration-to-mojang-mappings

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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