Add chicken kiev advancement

This commit is contained in:
Andrew-71 2024-03-07 12:41:20 +03:00
parent 8f1af13933
commit dd57456e60
5 changed files with 78 additions and 16 deletions

View file

@ -0,0 +1,58 @@
{
"parent": "minecraft:new_soviet/sickle_kill",
"criteria": {
"kill": {
"conditions": {
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:chicken"
}
}
],
"killing_blow": {
"source_entity": {
"equipment": {
"mainhand": {
"enchantments": [
{
"enchantment": "minecraft:fire_aspect"
}
],
"items": [
"new_soviet:sickle"
]
}
}
}
}
},
"trigger": "minecraft:player_killed_entity"
}
},
"display": {
"announce_to_chat": true,
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png",
"description": {
"translate": "advancement.new_soviet.chicken_kiev.desc"
},
"frame": "task",
"hidden": false,
"icon": {
"item": "new_soviet:sickle",
"nbt": "{Damage:0}"
},
"show_toast": true,
"title": {
"translate": "advancement.new_soviet.chicken_kiev.name"
}
},
"requirements": [
[
"kill"
]
],
"sends_telemetry_event": true
}

View file

@ -1,18 +1,6 @@
{
"parent": "minecraft:new_soviet/sickle",
"criteria": {
"got_sickle": {
"conditions": {
"items": [
{
"items": [
"new_soviet:sickle"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"kill": {
"conditions": {
"entity": [
@ -55,9 +43,6 @@
}
},
"requirements": [
[
"got_sickle"
],
[
"kill"
]