-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an Item Ability to determine if an item can remove wolf armor (#1062
) (#1203)
- Loading branch information
1 parent
001f9ff
commit 16d7de6
Showing
4 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/generated/resources/data/minecraft/advancement/husbandry/remove_wolf_armor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"parent": "minecraft:husbandry/tame_an_animal", | ||
"criteria": { | ||
"remove_wolf_armor": { | ||
"conditions": { | ||
"entity": [ | ||
{ | ||
"condition": "minecraft:entity_properties", | ||
"entity": "this", | ||
"predicate": { | ||
"type": "minecraft:wolf" | ||
} | ||
} | ||
], | ||
"item": { | ||
"predicates": { | ||
"neoforge:item_ability": "shears_remove_armor" | ||
} | ||
} | ||
}, | ||
"trigger": "minecraft:player_interacted_with_entity" | ||
} | ||
}, | ||
"display": { | ||
"description": { | ||
"translate": "advancements.husbandry.remove_wolf_armor.description" | ||
}, | ||
"icon": { | ||
"count": 1, | ||
"id": "minecraft:shears" | ||
}, | ||
"title": { | ||
"translate": "advancements.husbandry.remove_wolf_armor.title" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"remove_wolf_armor" | ||
] | ||
], | ||
"sends_telemetry_event": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters