26 lines
626 B
JSON
26 lines
626 B
JSON
{
|
|
"display": {
|
|
"icon": {
|
|
"item": "minecraft:dandelion"
|
|
},
|
|
"title": "A flower in your hare",
|
|
"description": "Thanks Hanny!",
|
|
"frame": "task",
|
|
"announce_to_chat": true
|
|
},
|
|
"parent": "canopy:root",
|
|
"criteria": {
|
|
"give_flower": {
|
|
"trigger": "minecraft:player_interacted_with_entity",
|
|
"conditions": {
|
|
"item": {
|
|
"items": ["minecraft:dandelion"]
|
|
},
|
|
"entity": {
|
|
"type": "minecraft:rabbit"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|