Opening chests and other containers in the guarded_by_piglins block tag aggros them, but adding the vault to this tag doesn't make them treat players opening a vault as stealing from them. Inconsistent behavior.
P. S. Breaking the vault works, but opening it doesn't.
Attachments
Comments 6
attached tag file. When you break the vault the piglins react like they should, but opening it doesn't trigger their aggro.
Despite what one might think, #guarded_by_piglins has nothing to do with using/opening the block. Piglins will always be angered by opening chests/barrels/..., no matter whether chests/barrels/... are considered #guarded_by_piglins or not. Therefore this is really the question of whether opening vaults should generally aggro piglins.
Based on the previous comment, this behavior works as intended. If you want to leave feedback, please visit Minecraft Suggestions on Reddit or visit the Minecraft Feedback Discord server.
Please attach a minimal setup data pack or share the commands you are using. As such, we have no repro of this issue.