Skip to content

Smelteries: Migrate from armor stands to item displays#1272

Open
runcows wants to merge 10 commits intoGamemode4Dev:update-26.1from
runcows:smelteries-item-display
Open

Smelteries: Migrate from armor stands to item displays#1272
runcows wants to merge 10 commits intoGamemode4Dev:update-26.1from
runcows:smelteries-item-display

Conversation

@runcows
Copy link
Contributor

@runcows runcows commented Feb 23, 2026

Replaces armor stands with item displays.
Resolves a visual bug with the resource pack, where the smeltery texture doesn't fit the block correctly.

Item displays are all located at the center of the smeltery block and translated to display correctly. This allows us to eliminate a lot of position movements as well as the gm4_smelt_id scoreboard, due to the fact that every entity of the smeltery is in the exact same spot.

Also included is a change to the placement function, moving from 4 functions, one for each cardinal direction, to one which uses macros to control the rotation changes.

There is an upgrade path included, it has been tested thoroughly. In order to retain functionality of legacy smelteries without jankiness, it is also run from main before process. This ensures that process cannot fail due to legacy entities being present.
I'm not sure if I need a score check for the upgrade path manual invocation, currently there is not one.

Due to the upgrade path, the minor version has been bumped. This is of note for #1256 where we want to bump all minor versions anyway.

@Bloo-dev Bloo-dev added the quality-update Improves efficiency or structure without affecting functionality of a module label Feb 28, 2026
@Bloo-dev Bloo-dev added the needs-testing Requires in-game testing label Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-testing Requires in-game testing quality-update Improves efficiency or structure without affecting functionality of a module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants