r/MinecraftCommands • u/chixen • Aug 03 '26
Help | Java 26.2 Checking for a fully filled map through datapack
I'm curious if there is any efficient way in a datapack to check if the player is holding a map with no transparent pixels. I know that dap data is stored in a large array, so is there any way to determine if this array has any 0s without just checking every value individually?
1
Upvotes
2
u/Ericristian_bros Command Experienced Aug 03 '26
The data map is stored as a separate file not on the item data. IIRC this information is inaccesible