Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "criteria": {
- "arrow_hits_player": {
- "trigger": "minecraft:entity_hurt_player",
- "conditions": {
- "damage": {
- "blocked": false,
- "type": {
- "is_projectile": true,
- "direct_entity": {
- "nbt": "{Tags:[\"CustomArrow\"]}",
- "type": "minecraft:arrow"
- },
- "source_entity": {
- "type": "minecraft:player"
- }
- }
- }
- }
- }
- },
- "rewards": {
- "function": "custom_arrows:arrow_action"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement