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 data map removals being required to exist (1.21.1 backport) #1889

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

62832
Copy link

@62832 62832 commented Jan 22, 2025

Back-port of #1886 for MC 1.21.1. As per the original:

This PR fixes the oversight that makes data map removals required, erroring if they are not resolvable (such as being for an inexistent value). Removals should be optional.

@neoforged-automation neoforged-automation bot added the 1.21.1 Targeted at Minecraft 1.21.1 label Jan 22, 2025
@neoforged-pr-publishing
Copy link

neoforged-pr-publishing bot commented Jan 22, 2025

  • Publish PR to GitHub Packages

Last commit published: ffa1490646d80f46d8249071acf9157fa103f9dc.

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 #1889' // https://github.com/neoforged/NeoForge/pull/1889
        url 'https://prmaven.neoforged.net/NeoForge/pr1889'
        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-pr1889.
On Powershell you will need to remove the -L flag from the curl invocation.

mkdir NeoForge-pr1889
cd NeoForge-pr1889
curl -L https://prmaven.neoforged.net/NeoForge/pr1889/net/neoforged/neoforge/21.1.101-pr-1889-fix-dmap-removals-backport/mdk-pr1889.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.

This PR fixes the oversight that makes data map removals required, erroring if they are not resolvable (such as being for an inexistent value). Removals should be optional.
@62832 62832 force-pushed the fix-dmap-removals-backport branch from 6766d8c to 9b02961 Compare January 22, 2025 13:39
@Matyrobbrt Matyrobbrt added bug A bug or error data driven This request involves a data driven system labels Jan 23, 2025
@Matyrobbrt Matyrobbrt merged commit e044544 into neoforged:1.21.1 Jan 23, 2025
6 checks passed
@neoforged-releases
Copy link

🚀 This PR has been released as NeoForge version 21.1.104.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.21.1 Targeted at Minecraft 1.21.1 bug A bug or error data driven This request involves a data driven system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants