MisterPeModder / ShulkerBoxTooltip

What's in my shulker box?
MIT License
101 stars 32 forks source link

Feature: ignore shoulder boxes that have specific nbt value. #171

Closed mainrs closed 3 months ago

mainrs commented 3 months ago

I'm creating a data pack that uses shulker boxes to store structures. The shulkers are locked and cannot be opened by players.

This mod still shows their tooltips, which contains configuration item stacks, thus, no player relevant information.

It would be great if there is some kind of custom nbt tag I can add to these shulker boxes to make this mod ignore them and not show the tooltip for them.

Maybe SBT:{Ignore:1b}.

MisterPeModder commented 3 months ago

Done ! The feature will be available in the 4.2.0 and 5.1.0 releases for Minecraft 1.20.6 and 1.21.1 respectively. You may see how to use it in the data-driven previews wiki page.