Initial Commit
This commit is contained in:
21
data/serenitydeco/advancement/events/on_hurt.json
Normal file
21
data/serenitydeco/advancement/events/on_hurt.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"criteria": {
|
||||
"hurt": {
|
||||
"trigger": "minecraft:player_hurt_entity",
|
||||
"conditions": {
|
||||
"entity": {
|
||||
"type": "minecraft:interaction",
|
||||
"nbt": "{Tags:[serenitydeco_triggerbox]}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"hurt"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"function": "serenitydeco:event_listeners/on_hurt"
|
||||
}
|
||||
}
|
||||
47
data/serenitydeco/advancement/events/on_place.json
Normal file
47
data/serenitydeco/advancement/events/on_place.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"criteria": {
|
||||
"place": {
|
||||
"trigger": "minecraft:player_interacted_with_entity",
|
||||
"conditions": {
|
||||
"item": {
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"deco": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
"type": "minecraft:armor_stand",
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"items": "minecraft:air"
|
||||
},
|
||||
"offhand": {
|
||||
"items": "minecraft:air"
|
||||
},
|
||||
"head": {
|
||||
"items": "minecraft:air"
|
||||
},
|
||||
"legs": {
|
||||
"items": "minecraft:air"
|
||||
},
|
||||
"feet": {
|
||||
"items": "minecraft:air"
|
||||
},
|
||||
"body": {
|
||||
"items": "minecraft:air"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"place"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"function": "serenitydeco:event_listeners/on_place"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user