Initial Commit

This commit is contained in:
2026-04-08 13:39:58 +01:00
parent 4633e9fa47
commit a7d3285efb
46 changed files with 691 additions and 0 deletions

View 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"
}
}

View 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"
}
}