Conversation
This commit changes the project's build scripts to target Minecraft 26.1 (instead of 1.21.1). No mod code has been changed, so this won't compile as-is.
This does not include data generation, so the mod still doesn't compile yet. Additionally, there are a few ambiguities I've left as TODOs.
I had to totally rewrite the mod's model data providers since 26.1 NeoForge uses vanilla's model generators instead of its own. I tried to introduce as few changes as possible, but some generated file names have changed due to technical limitations. As part of this, I also decided to leverage Minecraft's BlockFamily class to eliminate some boilerplate code. This can also be used for recipe generation, but I decided not to mess with more than I already had to.
This includes removing unused resource files and renaming the brazier template to be in line with its post-port naming scheme.
Everything just works this time since 26.1.1 is just a hotfix. Also includes updates to datagen, Gradle, NeoForge, and JEI.
|
Oh wow! This is quite a surprise to see! 😄 First off, thank you for the sheer effort put into this. Right now I'm working away on a minor release for Farmer's Delight, so my review may take a few days to do, considering it's a version port. I may do it in multiple passes to catch everything. Also, I have yet to read up on all the changes leading up to 26.1, as I was gonna do it during a future FD port, so this might cause my reviews to take longer still. That said, I will need to make a |
I thought about this during the Copper Age announcement, and my plan was to keep my bars under a different name, rather than remove them. Maybe "Copper Lattice" could work? I could then have freedom to name my custom-appearance bars however I want, and keep "Bars" to the recolored vanilla ones. |
|
Alright, branch I can get back to this PR in the next few days to review it properly, once I'm done with the other mod. Thanks once again for the port! ^^ |
|
Not a problem, take as long as you need. Thanks for making your mods in the first place! |
Ditto. This commit also updates a Gradle plugin I forgot to update last commit.
|
FYI: I've updated this port to 26.1.2 (no changes needed aside from the version bump) and re-added copper bars as "copper lattices" as you suggested. |
|
Thanks for updating them to Copper Lattice! 👍 Now that FD's 1.3 update is on testing, I can take a proper look at the PR. I'll submit a review if I find anything. |
|
@Tkain Booted the instance locally, and everything seems to be working fine... except for the Braziers. It seems that their models in 26.1.2 are very misconfigured. But it seems to just be a matter of wrong textures; the templates themselves look the way they should. Some things I noticed:
Here are some comparison pictures: 1.21.1
26.1.2
|
|
Oops, I should have noticed that. I'm probably just reusing the standing braziers' texture mappings for the hanging ones. I'll fix it as soon as I can. |
|
Woo! Thank you! 🙏 |
vectorwing
left a comment
There was a problem hiding this comment.
Alright, I finished going over the whole PR. There's only one change I'd like to request here; the other comments are optional observations.
Excellent work overall! Ended up teaching me quite a bit about 26.1, which may help when I port FD to it later.
|
Everything looks good now! 👍 |





This PR ports The Block Box to Minecraft 26.1.2.
I started this assuming this was going to be simple. It was not.
Here's a list of the major differences between the mod as it is and this port, most of them technical:
Copper bars have been removed since they were introduced to vanilla Minecraft post-1.21.1.Copper bars have been renamed to copper lattices to avoid confusion with vanilla's new copper bars.
hanging_brazier->brazier_hanging).SWORD_DIGitem ability was removed post-1.21.1, so palisade sharpening now checks whether an item falls under the#minecraft:swordtag instead.All the minor datagen output changes mean this PR changes a lot of files, so I'd recommend reviewing the changes per-commit instead of all at once. I tried to cordon most of the datagen output changes to their own commit and also tried to avoid having multiple commits touch the same file where possible. Let me know if you have any questions or would like to make any changes.