Skip to content

update notifiable item handler drop behaviour#4786

Merged
gustovafing merged 6 commits into1.20.1from
gus/item-handler-drop
Apr 14, 2026
Merged

update notifiable item handler drop behaviour#4786
gustovafing merged 6 commits into1.20.1from
gus/item-handler-drop

Conversation

@gustovafing
Copy link
Copy Markdown
Member

What

move notifiable item handler drop behaviour to be handled by the trait instead of by each machine

@gustovafing gustovafing requested a review from a team as a code owner April 14, 2026 13:48
@gustovafing gustovafing added type: refactor Suggestion to refactor a section of code 1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Apr 14, 2026
@github-actions github-actions Bot added the Tests: Failed Game Tests have failed on this PR label Apr 14, 2026
@github-actions github-actions Bot added Tests: Passed Game Tests have passed on this PR and removed Tests: Failed Game Tests have failed on this PR labels Apr 14, 2026
@MustBeInvokedByOverriders
public void updateModelData(ModelData.Builder builder) {
for (MachineTrait trait : getAllTraits()) {
if (trait instanceof IRenderingTrait renderingTrait) renderingTrait.updateModelData(builder);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is this removed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Unused, this should've been in a different commit idk why it's in this PR

@gustovafing gustovafing merged commit b5dbec2 into 1.20.1 Apr 14, 2026
4 checks passed
@gustovafing gustovafing deleted the gus/item-handler-drop branch April 14, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. Tests: Passed Game Tests have passed on this PR type: refactor Suggestion to refactor a section of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants