Skip to content

Commit

Permalink
added quests - alpha (final)
Browse files Browse the repository at this point in the history
in theory it SHOULD work, didn't test tho
  • Loading branch information
SwitchedCube committed Dec 21, 2024
1 parent cb6ec76 commit a5b9333
Show file tree
Hide file tree
Showing 102 changed files with 1,043 additions and 41 deletions.
39 changes: 39 additions & 0 deletions data/aeternum/advancement/quest_data/archer/archer_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"criteria": {
"hit": {
"trigger": "minecraft:player_hurt_entity",
"conditions": {
"player": {
"type": "minecraft:player",
"slots": {
"weapon.mainhand": {
"items": "minecraft:snowball"
}
}
},
"damage": {
"blocked": false,
"type": {
"tags": [
{
"id": "minecraft:is_projectile",
"expected": true
}
]
}
},
"entity": {
"type": "minecraft:blaze"
}
}
}
},
"requirements": [
[
"hit"
]
],
"rewards": {
"function": "aeternum:quests/data/archer/archer_1"
}
}
37 changes: 37 additions & 0 deletions data/aeternum/advancement/quest_data/archer/archer_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"criteria": {
"killed_ghast": {
"conditions": {
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:ghast"
}
}
],
"killing_blow": {
"direct_entity": {
"type": "minecraft:fireball"
},
"tags": [
{
"expected": true,
"id": "minecraft:is_projectile"
}
]
}
},
"trigger": "minecraft:player_killed_entity"
}
},
"requirements": [
[
"killed_ghast"
]
],
"rewards": {
"function": "aeternum:quests/data/archer/archer_2"
}
}
87 changes: 87 additions & 0 deletions data/aeternum/advancement/quest_data/archer/archer_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"criteria": {
"voluntary_exile": {
"conditions": {
"player": {
"type": "minecraft:player",
"slots": {
"weapon.mainhand": {
"items": "minecraft:bow"
}
}
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "#minecraft:raiders",
"equipment": {
"head": {
"components": {
"minecraft:attribute_modifiers": {
"modifiers": []
},
"minecraft:banner_patterns": [
{
"color": "cyan",
"pattern": "minecraft:rhombus"
},
{
"color": "light_gray",
"pattern": "minecraft:stripe_bottom"
},
{
"color": "gray",
"pattern": "minecraft:stripe_center"
},
{
"color": "light_gray",
"pattern": "minecraft:border"
},
{
"color": "black",
"pattern": "minecraft:stripe_middle"
},
{
"color": "light_gray",
"pattern": "minecraft:half_horizontal"
},
{
"color": "light_gray",
"pattern": "minecraft:circle"
},
{
"color": "black",
"pattern": "minecraft:border"
}
],
"minecraft:enchantments": {
"levels": {}
},
"minecraft:hide_additional_tooltip": {},
"minecraft:item_name": "{\"color\":\"gold\",\"translate\":\"block.minecraft.ominous_banner\"}",
"minecraft:lore": [],
"minecraft:max_stack_size": 16,
"minecraft:rarity": "common",
"minecraft:repair_cost": 0
},
"items": "minecraft:white_banner"
}
}
}
}
]
},
"trigger": "minecraft:player_killed_entity"
}
},
"requirements": [
[
"voluntary_exile"
]
],
"rewards": {
"function": "aeternum:quests/data/archer/archer_3"
}
}
31 changes: 31 additions & 0 deletions data/aeternum/advancement/quest_data/archer/archer_4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"criteria": {
"bullseye": {
"conditions": {
"projectile": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"distance": {
"horizontal": {
"min": 30
}
}
}
}
],
"signal_strength": 15
},
"trigger": "minecraft:target_hit"
}
},
"requirements": [
[
"bullseye"
]
],
"rewards": {
"function": "aeternum:quests/data/archer/archer_4"
}
}
15 changes: 15 additions & 0 deletions data/aeternum/advancement/quest_data/archer/archer_5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"criteria": {
"hit": {
"trigger": "minecraft:impossible"
}
},
"requirements": [
[
"hit"
]
],
"rewards": {
"function": "aeternum:quests/data/archer/archer_5"
}
}
28 changes: 28 additions & 0 deletions data/aeternum/advancement/quest_data/healer/healer_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"criteria": {
"hit": {
"trigger": "minecraft:consume_item",
"conditions": {
"player": {
"type": "minecraft:player"
},
"item": {
"items": "minecraft:potion",
"components": {
"minecraft:potion_contents": {
"potion": "minecraft:regeneration"
}
}
}
}
}
},
"requirements": [
[
"hit"
]
],
"rewards": {
"function": "aeternum:quests/data/healer/healer_1"
}
}
20 changes: 20 additions & 0 deletions data/aeternum/advancement/quest_data/healer/healer_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"criteria": {
"used_totem": {
"conditions": {
"item": {
"items": "minecraft:totem_of_undying"
}
},
"trigger": "minecraft:used_totem"
}
},
"requirements": [
[
"used_totem"
]
],
"rewards": {
"function": "aeternum:quests/data/healer/healer_2"
}
}
15 changes: 15 additions & 0 deletions data/aeternum/advancement/quest_data/healer/healer_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"criteria": {
"hit": {
"trigger": "minecraft:impossible"
}
},
"requirements": [
[
"hit"
]
],
"rewards": {
"function": "aeternum:quests/data/healer/healer_3"
}
}
15 changes: 15 additions & 0 deletions data/aeternum/advancement/quest_data/healer/healer_4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"criteria": {
"hit": {
"trigger": "minecraft:impossible"
}
},
"requirements": [
[
"hit"
]
],
"rewards": {
"function": "aeternum:quests/data/healer/healer_4"
}
}
23 changes: 23 additions & 0 deletions data/aeternum/advancement/quest_data/healer/healer_5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"criteria": {
"hit": {
"trigger": "minecraft:consume_item",
"conditions": {
"player": {
"type": "minecraft:player"
},
"item": {
"items": "#taglib:food/food"
}
}
}
},
"requirements": [
[
"hit"
]
],
"rewards": {
"function": "aeternum:quests/data/healer/healer_5"
}
}
15 changes: 15 additions & 0 deletions data/aeternum/advancement/quest_data/mage/mage_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"criteria": {
"hit": {
"trigger": "minecraft:impossible"
}
},
"requirements": [
[
"hit"
]
],
"rewards": {
"function": "aeternum:quests/data/mage/mage_1"
}
}
15 changes: 15 additions & 0 deletions data/aeternum/advancement/quest_data/mage/mage_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"criteria": {
"hit": {
"trigger": "minecraft:impossible"
}
},
"requirements": [
[
"hit"
]
],
"rewards": {
"function": "aeternum:quests/data/mage/mage_2"
}
}
15 changes: 15 additions & 0 deletions data/aeternum/advancement/quest_data/mage/mage_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"criteria": {
"hit": {
"trigger": "minecraft:impossible"
}
},
"requirements": [
[
"hit"
]
],
"rewards": {
"function": "aeternum:quests/data/mage/mage_3"
}
}
15 changes: 15 additions & 0 deletions data/aeternum/advancement/quest_data/mage/mage_4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"criteria": {
"hit": {
"trigger": "minecraft:impossible"
}
},
"requirements": [
[
"hit"
]
],
"rewards": {
"function": "aeternum:quests/data/mage/mage_4"
}
}
Loading

0 comments on commit a5b9333

Please sign in to comment.