chore: extract compostable, cooking_fuel and use_remainder from data components
This commit is contained in:
1 parent
e413623e9d
commit
9bab5ea4f5
10475 files changed
+4585
-1623
No files matched your search
@@ -0,0 +1,163 @@
|
||||
{
|
||||
"parent": "minecraft:nether/root",
|
||||
"criteria": {
|
||||
"distract_piglin": {
|
||||
"conditions": {
|
||||
"entity": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:entity_type": "minecraft:piglin",
|
||||
"minecraft:flags": {
|
||||
"is_baby": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"item": {
|
||||
"items": "#minecraft:piglin_loved"
|
||||
},
|
||||
"player": {
|
||||
"type": "minecraft:inverted",
|
||||
"term": {
|
||||
"type": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:equipment": {
|
||||
"head": {
|
||||
"items": "#minecraft:piglin_safe_armor"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:equipment": {
|
||||
"chest": {
|
||||
"items": "#minecraft:piglin_safe_armor"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:equipment": {
|
||||
"legs": {
|
||||
"items": "#minecraft:piglin_safe_armor"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:equipment": {
|
||||
"feet": {
|
||||
"items": "#minecraft:piglin_safe_armor"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"trigger": "minecraft:thrown_item_picked_up_by_entity"
|
||||
},
|
||||
"distract_piglin_directly": {
|
||||
"conditions": {
|
||||
"entity": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:entity_type": "minecraft:piglin",
|
||||
"minecraft:flags": {
|
||||
"is_baby": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"item": {
|
||||
"items": "minecraft:gold_ingot"
|
||||
},
|
||||
"player": {
|
||||
"type": "minecraft:inverted",
|
||||
"term": {
|
||||
"type": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:equipment": {
|
||||
"head": {
|
||||
"items": "#minecraft:piglin_safe_armor"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:equipment": {
|
||||
"chest": {
|
||||
"items": "#minecraft:piglin_safe_armor"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:equipment": {
|
||||
"legs": {
|
||||
"items": "#minecraft:piglin_safe_armor"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:equipment": {
|
||||
"feet": {
|
||||
"items": "#minecraft:piglin_safe_armor"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"trigger": "minecraft:player_interacted_with_entity"
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"description": {
|
||||
"translate": "advancements.nether.distract_piglin.description"
|
||||
},
|
||||
"icon": {
|
||||
"id": "minecraft:gold_ingot"
|
||||
},
|
||||
"title": {
|
||||
"translate": "advancements.nether.distract_piglin.title"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"distract_piglin",
|
||||
"distract_piglin_directly"
|
||||
]
|
||||
],
|
||||
"sends_telemetry_event": true
|
||||
}
|
||||
Reference in new issue
Block a user