loot spawn ~ ~ ~ loot survivalplus:ngtools/capturebag
execute if entity @s[predicate=survivalplus:has_shulkermats] run data merge entity @n[type=item] {CustomName:{"text":"Can't capture Shulker materials","color":red},CustomNameVisible:1}
data remove entity @s CustomName