Skip to content

Add event for Copper Golem deciding whether an item belongs in a chest#13811

Open
jsbrn wants to merge 5 commits intoPaperMC:mainfrom
jsbrn:feat/copper-golem-sorting-event
Open

Add event for Copper Golem deciding whether an item belongs in a chest#13811
jsbrn wants to merge 5 commits intoPaperMC:mainfrom
jsbrn:feat/copper-golem-sorting-event

Conversation

@jsbrn
Copy link
Copy Markdown

@jsbrn jsbrn commented Apr 22, 2026

This event is triggered before the golem makes a final decision on whether to add the item to the chest. It exposes the chest's inventory and the item being held by the golem, and allows plugins to override the golem's decision with custom logic.

@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Apr 22, 2026
@jsbrn jsbrn marked this pull request as ready for review April 22, 2026 16:12
@jsbrn jsbrn requested a review from a team as a code owner April 22, 2026 16:12
@github-project-automation github-project-automation Bot moved this from Awaiting review to Changes required in Paper PR Queue Apr 25, 2026
@jsbrn jsbrn requested a review from Owen1212055 April 27, 2026 04:34
public enum ItemTransportingEntityDecision {
ALLOW_DESTINATION,
REJECT_DESTINATION,
USE_VANILLA_BEHAVIOUR
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

maybe PASSTHROUGH or DEFAULT to make it more consistent with existing code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Changes required

Development

Successfully merging this pull request may close these issues.

3 participants