Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Biome network codec not ignoring field redirects #1766

Open
wants to merge 1 commit into
base: 1.21.x
Choose a base branch
from

Conversation

embeddedt
Copy link
Member

This PR adds the corresponding biome info patch to Biome's network codec, not just the regular codec. Previously it seems some data was not being synced to the client correctly; this change fixes #1733.

@embeddedt embeddedt added bug A bug or error 1.21.4 Targeted at Minecraft 1.21.4 labels Dec 13, 2024
@neoforged-pr-publishing
Copy link

neoforged-pr-publishing bot commented Dec 13, 2024

  • Publish PR to GitHub Packages

Last commit published: 81ac216ce6456cab6fa488d4e8d79a500352cca8.

PR Publishing

The artifacts published by this PR:

Repository Declaration

In order to use the artifacts published by the PR, add the following repository to your buildscript:

repositories {
    maven {
        name 'Maven for PR #1766' // https://github.com/neoforged/NeoForge/pull/1766
        url 'https://prmaven.neoforged.net/NeoForge/pr1766'
        content {
            includeModule('net.neoforged', 'neoforge')
            includeModule('net.neoforged', 'testframework')
        }
    }
}

MDK installation

In order to setup a MDK using the latest PR version, run the following commands in a terminal.
The script works on both *nix and Windows as long as you have the JDK bin folder on the path.
The script will clone the MDK in a folder named NeoForge-pr1766.
On Powershell you will need to remove the -L flag from the curl invocation.

mkdir NeoForge-pr1766
cd NeoForge-pr1766
curl -L https://prmaven.neoforged.net/NeoForge/pr1766/net/neoforged/neoforge/21.4.22-beta-pr-1766-fix-biome-music-fade-out/mdk-pr1766.zip -o mdk.zip
jar xf mdk.zip
rm mdk.zip || del mdk.zip

To test a production environment, you can download the installer from here.

@Technici4n
Copy link
Member

Looks strange. Doesn't this essentially hide any biome effect modification from the client?

@embeddedt
Copy link
Member Author

🤷‍♂️ I don't fully understand the purpose of the original codec patch to begin with; it just looked inconsistent to apply it to one codec and not the other. There might be another way of solving this problem. The symptom is that the background music volume for the pale garden biome is still 1.0 (rather than 0.0) without the patch.

@Technici4n
Copy link
Member

I think we should understand why this fixes the problem before going for this potential solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.21.4 Targeted at Minecraft 1.21.4 bug A bug or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[1.21.4]If you enter the Pale garden in 1.21.4. not music fade out
2 participants