Translate & Advancement
This commit is contained in:
25
data/herohost/advancement/herohost/root.json
Normal file
25
data/herohost/advancement/herohost/root.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
16
data/herohost/advancement/misc/lock.json
Normal file
16
data/herohost/advancement/misc/lock.json
Normal 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"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user