i was trying to make a skript that when u mine a block, will give u some nbt tagged item and not a vanilla one
How i can solve this?
Code:
on mine of slime block:
cancel event
give 1 minecraft:prismarine_shard{display:{Name:'[{"text":"Broken FazCoin","italic":false,"bold":true,"color":"yellow"}]',Lore:['[{"text":"Broken piece of a","color":"white","italic":false},{"text":"","italic":false},{"text":" FazCoin","color":"yellow"},{"text":"","color":"yellow","italic":false}]','[{"text":"u can use this item to buy the crying child armor!","color":"white","italic":false},{"text":"","color":"white","italic":false}]']},Enchantments:[{id:"minecraft:aqua_affinity",lvl:1}]} to event-player
How i can solve this?