Translate & Advancement

This commit is contained in:
2024-11-28 23:12:43 +01:00
parent cb08afef4c
commit fb11a9e832
8 changed files with 65 additions and 15 deletions

View File

@ -0,0 +1,25 @@
{
"display": {
"icon": {
"id": "minecraft:axolotl_bucket"
},
"title": {
"translate": "hhost.minigame.advancement.herohost.root.title",
"fallback": "HeroHost servers."
},
"description": {
"translate": "hhost.minigame.advancement.herohost.root.description",
"fallback": "Welcome to the HeroHost minigame server!"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": false,
"background": "minecraft:textures/block/white_concrete_powder.png"
},
"criteria": {
"tick": {
"trigger": "minecraft:tick"
}
}
}

View File

@ -0,0 +1,16 @@
{
"criteria": {
"requirement": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"entity": {
"type": "minecraft:interaction",
"nbt": "{Tags:[\"locked\"]}"
}
}
}
},
"rewards": {
"function": "herohost:misc/lock"
}
}