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.

Featured Replies

Posted

Hello! I'm in a bit of a slippery area in modding and I'm asking here because I don't know where else to turn about this.
I'm working on a mod that only slightly modifies certain aspects of the game (BetterVanilla) and I decided I wanted to have the background music as discs scattered in the world.
The problem seems to be that music disc sound has to be in mono for the attenuation distance of jukeboxes to work so I decided to take the hashed file from the objects folder and converted it to mono through audacity.
I might have misunderstood this so if I have I'd be delighted to be corrected.

I feel like I'm not legally allowed to do so and won't be posting this version of the mod unless i know I'm in the legal "green zone".
Does anyone have any ideas of how I could get around this issue some other way? I have looked at how to do it with straight java but it seems needlessly complicated along with how Minecraft handles SoundEvents.
Any thoughts are helpful. Thanks in advance!

 

PS: if you are wondering why this is in general, I'm mostly wondering about the legality of my actions as a modder

No, you are not legally allowed to redistribute Mojang's copywritten work, including the sounds even if you re-render them in a different format.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Maybe you can convert the music files on the first startup using something like ffmpeg.  
But that may make the installation process of your mod more complicated since users would also have to download ffmpeg and store it somewhere.  
But I bet there are pleny other alternative libraries (that do not have any outside dependencies) that can convert ogg to mp3 and vice versa and / or apply effects to mp3 / ogg / other formats.    

Looking into the license of ffmpeg could definitely help...  
 

Edited by Busti

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

  • Author

I'm sort of against the idea of having to ask the player to install programs outside of forge and minecraft. there definitely is a way to do the conversion using java libraries as internal dependencies and thats not necessarily the problem if its simple enough. I'll look into the ffmpeg license, good idea. 

any problems i have from now on is probably going to be code related and as such this thread is not going to be the best place to put those problems.

I think i'll figure it out now that i know i have to work around it.

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...

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.