-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
[1.21.4] Fix a couple model and model loader issues #1732
Conversation
Last commit published: b44f8593fa00e8fdb48cf8b6fa8d235f161c9904. 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 #1732' // https://github.com/neoforged/NeoForge/pull/1732
url 'https://prmaven.neoforged.net/NeoForge/pr1732'
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-pr1732
cd NeoForge-pr1732
curl -L https://prmaven.neoforged.net/NeoForge/pr1732/net/neoforged/neoforge/21.4.20-beta-pr-1732-model_fixes/mdk-pr1732.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. |
@XFactHD, this PR introduces breaking changes. Compatibility checks
|
src/main/java/net/neoforged/neoforge/client/model/AbstractUnbakedModel.java
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/client/model/AbstractUnbakedModel.java
Outdated
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/client/model/NeoForgeModelProperties.java
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/client/model/StandardModelParameters.java
Outdated
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/client/model/StandardModelParameters.java
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/client/model/AbstractUnbakedModel.java
Outdated
Show resolved
Hide resolved
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.
Very nice, thanks! Having these fill
methods in NeoForgeModelProperties
is a good compromise between simplicity and code reuse I think.
🚀 This PR has been released as NeoForge version |
This PR fixes a couple issues with models and model loaders:
BlockModelWrapper
using the root model instead of the "pass" models