Skip to content

Conversation

@madebytwentyfive
Copy link
Contributor

The issue here was that isBarrelBlocked and also isShulkerBlocked were not handled correctly.

What I mean, if level.purpurConfig.copperGolemCanOpenBarrel is true, here it incorrectly means the barrel is blocked.

So adding ! to both of these mean if level.purpurConfig.copperGolemCanOpenBarrel is true, then isBarrelBlocked is false, so the golem can open it.

(Same with shulker boxes, even though they also worked before, just because !canOpen is mostly false, so if we can make that true, they won't work either)

This is pretty well tested and it works fine as always.

Fixes #1730

@granny granny merged commit b7b7ba2 into PurpurMC:ver/1.21.10 Nov 25, 2025
1 check passed
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.

Copper Golems won't place items into barrel.

2 participants