feat: add advancements

This commit is contained in:
xtex 2023-07-30 20:17:33 +08:00
parent bf3d1ba574
commit 3ac5f3c9ec
Signed by: xtex
GPG Key ID: B918086ED8045B91
10 changed files with 302 additions and 3 deletions

View File

@ -27,5 +27,19 @@
"quaedam.shell.music.volume_factor": "Volume Factor", "quaedam.shell.music.volume_factor": "Volume Factor",
"quaedam.shell.music.particle": "Particle", "quaedam.shell.music.particle": "Particle",
"quaedam.shell.music.particle.true": "Display", "quaedam.shell.music.particle.true": "Display",
"quaedam.shell.music.particle.false": "Hidden" "quaedam.shell.music.particle.false": "Hidden",
"advancements.quaedam.causality_anchor.title": "Causality",
"advancements.quaedam.causality_anchor.description": "Is there any reason for this?",
"advancements.quaedam.projector.title": "Quaedam",
"advancements.quaedam.projector.description": "Use projectors to project",
"advancements.quaedam.reality_stabler.title": "More Stable",
"advancements.quaedam.reality_stabler.description": "Use reality stabler to stable the reality",
"advancements.quaedam.smart_instrument.title": "Better than Note Block",
"advancements.quaedam.smart_instrument.description": "Use smart instrument",
"advancements.quaedam.sound_projection.title": "Get Noisier",
"advancements.quaedam.sound_projection.description": "Make a sound projection",
"advancements.quaedam.swarm_projection.title": "Too many people",
"advancements.quaedam.swarm_projection.description": "Make a swarm projection",
"advancements.quaedam.kill_projected_person.title": "Go away",
"advancements.quaedam.kill_projected_person.description": "Kill a projection person\n\nWhy are you doing this?\nThis is bad."
} }

View File

@ -27,5 +27,19 @@
"quaedam.shell.music.volume_factor": "响度因子", "quaedam.shell.music.volume_factor": "响度因子",
"quaedam.shell.music.particle": "粒子效果", "quaedam.shell.music.particle": "粒子效果",
"quaedam.shell.music.particle.true": "显示", "quaedam.shell.music.particle.true": "显示",
"quaedam.shell.music.particle.false": "隐藏" "quaedam.shell.music.particle.false": "隐藏",
"advancements.quaedam.causality_anchor.title": "因果律",
"advancements.quaedam.causality_anchor.description": "这不合理",
"advancements.quaedam.projector.title": "Quaedam",
"advancements.quaedam.projector.description": "使用投影仪进行投影",
"advancements.quaedam.reality_stabler.title": "更加稳定",
"advancements.quaedam.reality_stabler.description": "使用现实稳定器稳定现实",
"advancements.quaedam.smart_instrument.title": "比音符盒更好",
"advancements.quaedam.smart_instrument.description": "使用智能乐器",
"advancements.quaedam.sound_projection.title": "更加吵闹",
"advancements.quaedam.sound_projection.description": "制作声音投影",
"advancements.quaedam.swarm_projection.title": "太多人了",
"advancements.quaedam.swarm_projection.description": "制作人群投影",
"advancements.quaedam.kill_projected_person.title": "走开",
"advancements.quaedam.kill_projected_person.description": "杀死一个投影人\n\n你为什么要这样做呢\n这是不好的。"
} }

View File

@ -27,5 +27,19 @@
"quaedam.shell.music.volume_factor": "振幅大小", "quaedam.shell.music.volume_factor": "振幅大小",
"quaedam.shell.music.particle": "会变色的颗粒buff", "quaedam.shell.music.particle": "会变色的颗粒buff",
"quaedam.shell.music.particle.true": "打开", "quaedam.shell.music.particle.true": "打开",
"quaedam.shell.music.particle.false": "关掉,关掉,一定要关掉" "quaedam.shell.music.particle.false": "关掉,关掉,一定要关掉",
"advancements.quaedam.causality_anchor.title": "因果律",
"advancements.quaedam.causality_anchor.description": "这不合理",
"advancements.quaedam.projector.title": "有些事",
"advancements.quaedam.projector.description": "你是黑魔法(指着 JVMTI师吗",
"advancements.quaedam.reality_stabler.title": "水滴",
"advancements.quaedam.reality_stabler.description": "tql这是强互作用力做的吗",
"advancements.quaedam.smart_instrument.title": "SMART消歧义",
"advancements.quaedam.smart_instrument.description": "音乐盘?不需要的",
"advancements.quaedam.sound_projection.title": "不要偷偷摸摸",
"advancements.quaedam.sound_projection.description": "又没有幽yóu匿分贝仪、幽yóu匿尖叫体或大聪明怕什么",
"advancements.quaedam.swarm_projection.title": "多来点,爱看",
"advancements.quaedam.swarm_projection.description": "",
"advancements.quaedam.kill_projected_person.title": "失败",
"advancements.quaedam.kill_projected_person.description": "投影人这么可爱,为什么要失败投影人\n\n你干嘛\n坏太坏了你不能这样。"
} }

View File

@ -0,0 +1,37 @@
{
"display": {
"icon": {
"item": "quaedam:causality_anchor"
},
"title": {
"translate": "advancements.quaedam.causality_anchor.title"
},
"description": {
"translate": "advancements.quaedam.causality_anchor.description"
},
"frame": "goal"
},
"parent": "quaedam:projector",
"criteria": {
"causality_anchor": {
"trigger": "minecraft:placed_block",
"conditions": {
"location": [
{
"condition": "minecraft:block_state_property",
"block": "quaedam:causality_anchor",
"properties": {}
}
]
}
}
},
"requirements": [
[
"causality_anchor"
]
],
"rewards": {
"experience": 30
}
}

View File

@ -0,0 +1,37 @@
{
"display": {
"icon": {
"item": "quaedam:swarm_projection"
},
"title": {
"translate": "advancements.quaedam.kill_projected_person.title"
},
"description": {
"translate": "advancements.quaedam.kill_projected_person.description"
},
"hidden": true
},
"parent": "quaedam:swarm_projection",
"criteria": {
"kill_projected_person": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "quaedam:projected_person"
}
}
]
}
}
},
"requirements": [
[
"kill_projected_person"
]
],
"rewards": {}
}

View File

@ -0,0 +1,37 @@
{
"display": {
"icon": {
"item": "quaedam:projector"
},
"title": {
"translate": "advancements.quaedam.projector.title"
},
"description": {
"translate": "advancements.quaedam.projector.description"
},
"background": "minecraft:textures/gui/advancements/backgrounds/husbandry.png",
"frame": "task"
},
"criteria": {
"projector": {
"trigger": "minecraft:placed_block",
"conditions": {
"location": [
{
"condition": "minecraft:block_state_property",
"block": "quaedam:projector",
"properties": {}
}
]
}
}
},
"requirements": [
[
"projector"
]
],
"rewards": {
"experience": 15
}
}

View File

@ -0,0 +1,37 @@
{
"display": {
"icon": {
"item": "quaedam:reality_stabler"
},
"title": {
"translate": "advancements.quaedam.reality_stabler.title"
},
"description": {
"translate": "advancements.quaedam.reality_stabler.description"
},
"frame": "goal"
},
"parent": "quaedam:projector",
"criteria": {
"reality_stabler": {
"trigger": "minecraft:placed_block",
"conditions": {
"location": [
{
"condition": "minecraft:block_state_property",
"block": "quaedam:reality_stabler",
"properties": {}
}
]
}
}
},
"requirements": [
[
"reality_stabler"
]
],
"rewards": {
"experience": 30
}
}

View File

@ -0,0 +1,36 @@
{
"display": {
"icon": {
"item": "quaedam:smart_instrument"
},
"title": {
"translate": "advancements.quaedam.smart_instrument.title"
},
"description": {
"translate": "advancements.quaedam.smart_instrument.description"
}
},
"parent": "quaedam:projector",
"criteria": {
"smart_instrument": {
"trigger": "minecraft:placed_block",
"conditions": {
"location": [
{
"condition": "minecraft:block_state_property",
"block": "quaedam:smart_instrument",
"properties": {}
}
]
}
}
},
"requirements": [
[
"smart_instrument"
]
],
"rewards": {
"experience": 15
}
}

View File

@ -0,0 +1,36 @@
{
"display": {
"icon": {
"item": "quaedam:sound_projection"
},
"title": {
"translate": "advancements.quaedam.sound_projection.title"
},
"description": {
"translate": "advancements.quaedam.sound_projection.description"
}
},
"parent": "quaedam:swarm_projection",
"criteria": {
"sound_projection": {
"trigger": "minecraft:placed_block",
"conditions": {
"location": [
{
"condition": "minecraft:block_state_property",
"block": "quaedam:sound_projection",
"properties": {}
}
]
}
}
},
"requirements": [
[
"sound_projection"
]
],
"rewards": {
"experience": 15
}
}

View File

@ -0,0 +1,37 @@
{
"display": {
"icon": {
"item": "quaedam:swarm_projection"
},
"title": {
"translate": "advancements.quaedam.swarm_projection.title"
},
"description": {
"translate": "advancements.quaedam.swarm_projection.description"
},
"frame": "goal"
},
"parent": "quaedam:projector",
"criteria": {
"swarm_projection": {
"trigger": "minecraft:placed_block",
"conditions": {
"location": [
{
"condition": "minecraft:block_state_property",
"block": "quaedam:swarm_projection",
"properties": {}
}
]
}
}
},
"requirements": [
[
"swarm_projection"
]
],
"rewards": {
"experience": 30
}
}