-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Add task to generate finalizeSpawn MethodRedirector coremod targets #1756
Conversation
Last commit published: 4a3661df00cb83c1b27324a18bf2296fe1a74745. PR PublishingThe artifacts published by this PR:
Repository DeclarationIn order to use the artifacts published by the PR, add the following repository to your buildscript: repositories {
maven {
name 'Maven for PR #1756' // https://github.com/neoforged/NeoForge/pull/1756
url 'https://prmaven.neoforged.net/NeoForge/pr1756'
content {
includeModule('net.neoforged', 'neoforge')
includeModule('net.neoforged', 'testframework')
}
}
} MDK installationIn order to setup a MDK using the latest PR version, run the following commands in a terminal. mkdir NeoForge-pr1756
cd NeoForge-pr1756
curl -L https://prmaven.neoforged.net/NeoForge/pr1756/net/neoforged/neoforge/21.4.21-beta-pr-1756-fix-1168/mdk-pr1756.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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly I'm not convinced about the use of a json file for a list of class names, it would probably be faster to use a comma separated text file but I don't really care.
buildSrc/src/main/java/net/neoforged/neodev/GenerateFinalizeSpawnTargets.java
Outdated
Show resolved
Hide resolved
TrialSpawner should be ignored in the same way BaseSpawner is, since we patch that one too. NeoForge/patches/net/minecraft/world/level/block/entity/trialspawner/TrialSpawner.java.patch Lines 16 to 21 in ac0abaf
|
@Technici4n, this pull request has conflicts, please resolve them for this PR to move forward. |
Indeed, thanks @Shadows-of-Fire! |
🚀 This PR has been released as NeoForge version |
What the title says. The only new target that is found by the new task is
net/minecraft/world/level/block/entity/trialspawner/TrialSpawner
, which needs special casing and must therefore be ignored. So the only change to the targets for now are just indentation changes due to differing defaults between Groovy's standard library and GSON.Fixes #1168.