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

Support 1.21.1 #439

Closed
wants to merge 16 commits into from
Closed

Support 1.21.1 #439

wants to merge 16 commits into from

Conversation

Icyadam14
Copy link
Contributor

Updated version.js, ci.yml, and README.md.

@rom1504
Copy link
Member

rom1504 commented Nov 27, 2024

Blocked on #440

@extremeheat
Copy link
Member

#448 should fix CI

@rom1504
Copy link
Member

rom1504 commented Jan 8, 2025

Something else is broken here

@@ -54,6 +54,7 @@ function prepareModel (model, texturesJson) {
if (face.texture.charAt(0) === '#') {
face.texture = JSON.parse(JSON.stringify(model.textures[face.texture.substr(1)]))
} else {
console.log(texturesJson)
let name = face.texture
name = cleanupBlockName(name)
face.texture = JSON.parse(JSON.stringify(texturesJson[name]))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here some name is absent from texturesJson

@luiscosio
Copy link

Getting a "null" error on 1.21.1

@rom1504
Copy link
Member

rom1504 commented Jan 9, 2025

Yes please help figure out why

@Remmbrandt08
Copy link

bumping for an update.

@rom1504 rom1504 mentioned this pull request Jan 14, 2025
@huntcsg
Copy link
Contributor

huntcsg commented Jan 15, 2025

I am seeing this failing on this texture "heavy_core".

I am just getting familiar with these codebases, but is this because all is not using a hashmark as a link to the textures, so it's trying to lookup all in the texturesJson instead of replacing all with the texture heavy_core which is present in texturesJson.

I think we need to modify this conditional logic to account for the all possibility (and possibly other) non hash links.

@rom1504
Copy link
Member

rom1504 commented Jan 15, 2025 via email

@huntcsg
Copy link
Contributor

huntcsg commented Jan 15, 2025

@Icyadam14 please see Icyadam14#1
It seems to have fixed the failing prepare step of npm install!

huntcsg and others added 2 commits January 15, 2025 09:10
Check if face.texture is a texture reference even in absence of a # prefix.
@huntcsg
Copy link
Contributor

huntcsg commented Jan 15, 2025

one step forward, one step back 😭 🤣

@SuperGamerTron
Copy link
Contributor

@Icyadam14 this should fix CI Icyadam14#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants