Create/Update assets for version 1.20.5-pre1

This commit is contained in:
InventiveBot
2024-04-10 18:28:59 +02:00
parent c90cdbfcf8
commit 5724bf7383
20070 changed files with 1390702 additions and 18 deletions

View File

@@ -0,0 +1,180 @@
{
"parent": "minecraft:nether/root",
"criteria": {
"distract_piglin": {
"conditions": {
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:piglin",
"flags": {
"is_baby": false
}
}
}
],
"item": {
"items": "#minecraft:piglin_loved"
},
"player": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"head": {
"items": "minecraft:golden_helmet"
}
}
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"chest": {
"items": "minecraft:golden_chestplate"
}
}
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"legs": {
"items": "minecraft:golden_leggings"
}
}
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"feet": {
"items": "minecraft:golden_boots"
}
}
}
}
}
]
},
"trigger": "minecraft:thrown_item_picked_up_by_entity"
},
"distract_piglin_directly": {
"conditions": {
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:piglin",
"flags": {
"is_baby": false
}
}
}
],
"item": {
"items": "minecraft:gold_ingot"
},
"player": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"head": {
"items": "minecraft:golden_helmet"
}
}
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"chest": {
"items": "minecraft:golden_chestplate"
}
}
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"legs": {
"items": "minecraft:golden_leggings"
}
}
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"feet": {
"items": "minecraft:golden_boots"
}
}
}
}
}
]
},
"trigger": "minecraft:player_interacted_with_entity"
}
},
"display": {
"description": {
"translate": "advancements.nether.distract_piglin.description"
},
"icon": {
"count": 1,
"id": "minecraft:gold_ingot"
},
"title": {
"translate": "advancements.nether.distract_piglin.title"
}
},
"requirements": [
[
"distract_piglin",
"distract_piglin_directly"
]
],
"sends_telemetry_event": true
}