Skip to content

Conversation

@traksag
Copy link
Contributor

@traksag traksag commented Nov 19, 2025

Currently the isInteractable method of BlockType returns false for the 4 unwaxed copper chest variants. The issue is that isInteractable only checks for certain methods in the block's class and its super class, but for unwaxed copper chests (implemented by WeatheringCopperChestBlock) those methods are higher up the class hierarchy.

I compared the truth values for all blocks before and after this change and verified that only unwaxed copper chests were affected. Hopefully this change also makes isInteractable less liable to return false negatives in the future.

@traksag traksag requested a review from a team as a code owner November 19, 2025 11:43
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Nov 19, 2025
@Machine-Maker Machine-Maker moved this from Awaiting review to PR Party candidate in Paper PR Queue Nov 23, 2025
@lynxplay
Copy link
Contributor

lynxplay commented Dec 7, 2025

Tested against the entire registry as well 👍

@lynxplay lynxplay enabled auto-merge (squash) December 7, 2025 22:52
@lynxplay
Copy link
Contributor

lynxplay commented Dec 7, 2025

Let me know if you need this backported to 1.21.10.

@lynxplay lynxplay merged commit 5f03e11 into PaperMC:main Dec 7, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from PR Party candidate to Merged in Paper PR Queue Dec 7, 2025
@traksag
Copy link
Contributor Author

traksag commented Dec 18, 2025

A backport to 1.21.10 would be very welcome!

lynxplay added a commit that referenced this pull request Dec 19, 2025
@lynxplay
Copy link
Contributor

14a10f4 👍

@traksag
Copy link
Contributor Author

traksag commented Dec 21, 2025

Thank you!

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

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

2 participants