Skip to content

Commit 6f8f5a8

Browse files
authored
v1.0.6 — TrialsFortune Release & Updates
1 parent c155d63 commit 6f8f5a8

File tree

6 files changed

+215
-13
lines changed

6 files changed

+215
-13
lines changed

README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,18 @@ Each pack enhances survival gameplay with new mechanics, quality-of-life feature
6868
- Leaf-decay XP is lightweight: periodic scan spawns a **1-XP orb** near leaves with `persistent=false` & `distance=7` (max 1 per player per second).
6969
- Zero commands required; works on load.
7070

71+
### 💎 TrialsFortune
72+
- **Version:** Minecraft 1.21.x (`pack_format: 48`)
73+
- **Description:** Overhauls **Trial Chambers loot** to make rewards more exciting and configurable.
74+
- **Features:**
75+
- Overrides the **4 core loot tables**:
76+
- `vault.json` (normal vaults)
77+
- `ominous_vault.json` (ominous vaults)
78+
- `spawner_reward.json` (trial spawners)
79+
- `ominous_spawner_reward.json` (ominous trial spawners)
80+
- Keeps Mojang’s **3-pool distribution structure** for balance.
81+
- Maintains vanilla distribution.
82+
7183
---
7284

7385
## 🛠 Installation
@@ -124,7 +136,7 @@ Each pack enhances survival gameplay with new mechanics, quality-of-life feature
124136
### HarvestBits
125137
- Adjust the XP chance (default 10%):
126138
```json
127-
// data/harvestbits/predicates/xpchance.json
139+
# data/harvestbits/predicates/xpchance.json
128140
{ "condition": "minecraft:random_chance", "chance": 0.10 }
129141
```
130142
Lower to 0.05 (5%) for rarer XP, or raise as desired.
@@ -154,29 +166,19 @@ Workflow file: `.github/workflows/build-datapacks.yml`
154166
.
155167
├─ packs/ # Datapacks live here
156168
│ ├─ MobMutationPack/
157-
│ │ ├─ pack.mcmeta
158-
│ │ └─ data/...
159169
│ ├─ ApexMobs/
160-
│ │ ├─ pack.mcmeta
161-
│ │ └─ data/...
162170
│ ├─ RawBlockSmelter/
163-
│ │ ├─ pack.mcmeta
164-
│ │ └─ data/...
165171
│ ├─ RawBeacons/
166-
│ │ ├─ pack.mcmeta
167-
│ │ └─ data/...
168172
│ ├─ EzChests/
169-
│ │ ├─ pack.mcmeta
170-
│ │ └─ data/...
171173
│ ├─ HarvestBits/
172-
│ │ ├─ pack.mcmeta
173-
│ │ └─ data/...
174+
│ ├─ TrialsFortune/
174175
│ └─ Coming Soon/
175176
├─ .github/workflows/ # GitHub Actions configs
176177
├─ .gitignore
177178
├─ .gitattributes
178179
├─ LICENSE
179180
└─ README.md
181+
180182
```
181183

182184
---
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"type": "minecraft:chest",
3+
"pools": [
4+
{
5+
"rolls": 1,
6+
"entries": [
7+
{ "type": "item", "name": "minecraft:ominous_trial_key", "weight": 1 }
8+
]
9+
},
10+
{
11+
"rolls": 2,
12+
"entries": [
13+
{ "type": "item", "name": "minecraft:echo_shard", "weight": 3 },
14+
{ "type": "item", "name": "minecraft:diamond", "weight": 2 },
15+
{ "type": "item", "name": "minecraft:netherite_ingot", "weight": 1 }
16+
]
17+
},
18+
{
19+
"rolls": 1,
20+
"entries": [
21+
{ "type": "item", "name": "minecraft:enchanted_book", "weight": 2, "functions": [{ "function": "enchant_randomly" }] },
22+
{ "type": "item", "name": "minecraft:totem_of_undying", "weight": 1 }
23+
]
24+
}
25+
]
26+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"type": "minecraft:chest",
3+
"pools": [
4+
{
5+
"rolls": 1,
6+
"entries": [
7+
{
8+
"type": "item",
9+
"name": "minecraft:ominous_trial_key",
10+
"weight": 30,
11+
"functions": [
12+
{ "function": "set_count", "count": 1 }
13+
]
14+
},
15+
{
16+
"type": "item",
17+
"name": "minecraft:baked_potato",
18+
"weight": 21,
19+
"functions": [
20+
{ "function": "set_count", "count": { "min": 2, "max": 4 } }
21+
]
22+
},
23+
{
24+
"type": "item",
25+
"name": "minecraft:cooked_beef",
26+
"weight": 21,
27+
"functions": [
28+
{ "function": "set_count", "count": { "min": 1, "max": 2 } }
29+
]
30+
},
31+
{
32+
"type": "item",
33+
"name": "minecraft:golden_carrot",
34+
"weight": 14,
35+
"functions": [
36+
{ "function": "set_count", "count": { "min": 1, "max": 2 } }
37+
]
38+
},
39+
{
40+
"type": "item",
41+
"name": "minecraft:potion",
42+
"weight": 7,
43+
"functions": [
44+
{ "function": "set_nbt", "tag": "{Potion:\"minecraft:regeneration\"}" }
45+
]
46+
},
47+
{
48+
"type": "item",
49+
"name": "minecraft:potion",
50+
"weight": 7,
51+
"functions": [
52+
{ "function": "set_nbt", "tag": "{Potion:\"minecraft:strength\"}" }
53+
]
54+
}
55+
]
56+
}
57+
]
58+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"type": "minecraft:chest",
3+
"pools": [
4+
{
5+
"rolls": 1,
6+
"entries": [
7+
{
8+
"type": "item",
9+
"name": "minecraft:trial_key",
10+
"weight": 10,
11+
"functions": [
12+
{ "function": "set_count", "count": 1 }
13+
]
14+
},
15+
{
16+
"type": "item",
17+
"name": "minecraft:bread",
18+
"weight": 3,
19+
"functions": [
20+
{ "function": "set_count", "count": { "min": 1, "max": 3 } }
21+
]
22+
},
23+
{
24+
"type": "item",
25+
"name": "minecraft:cooked_chicken",
26+
"weight": 3,
27+
"functions": [
28+
{ "function": "set_count", "count": 1 }
29+
]
30+
},
31+
{
32+
"type": "item",
33+
"name": "minecraft:baked_potato",
34+
"weight": 2,
35+
"functions": [
36+
{ "function": "set_count", "count": { "min": 1, "max": 3 } }
37+
]
38+
},
39+
{
40+
"type": "item",
41+
"name": "minecraft:potion",
42+
"weight": 1,
43+
"functions": [
44+
{ "function": "set_nbt", "tag": "{Potion:\"minecraft:regeneration\"}" }
45+
]
46+
},
47+
{
48+
"type": "item",
49+
"name": "minecraft:potion",
50+
"weight": 1,
51+
"functions": [
52+
{ "function": "set_nbt", "tag": "{Potion:\"minecraft:swiftness\"}" }
53+
]
54+
}
55+
]
56+
}
57+
]
58+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"type": "minecraft:chest",
3+
"pools": [
4+
{
5+
"rolls": 1,
6+
"entries": [
7+
{ "type": "empty", "weight": 36 },
8+
{ "type": "item", "name": "minecraft:emerald", "weight": 392, "functions": [{ "function": "set_count", "count": { "min": 2, "max": 4 } }] },
9+
{ "type": "item", "name": "minecraft:arrow", "weight": 92, "functions": [{ "function": "set_count", "count": { "min": 2, "max": 8 } }] },
10+
{ "type": "item", "name": "minecraft:tipped_arrow", "weight": 92, "functions": [
11+
{ "function": "set_potion", "id": "minecraft:poison" },
12+
{ "function": "set_count", "count": { "min": 2, "max": 8 } }
13+
]},
14+
{ "type": "item", "name": "minecraft:iron_ingot", "weight": 69, "functions": [{ "function": "set_count", "count": { "min": 1, "max": 4 } }] },
15+
{ "type": "item", "name": "minecraft:wind_charge", "weight": 69, "functions": [{ "function": "set_count", "count": { "min": 1, "max": 3 } }] },
16+
{ "type": "item", "name": "minecraft:honey_bottle", "weight": 69, "functions": [{ "function": "set_count", "count": { "min": 1, "max": 2 } }] },
17+
{ "type": "item", "name": "minecraft:ominous_bottle", "weight": 46, "functions": [
18+
{ "function": "set_count", "count": 1 },
19+
{ "function": "set_nbt", "tag": "{Levels:1}" }
20+
]}
21+
]
22+
},
23+
{
24+
"rolls": 1,
25+
"entries": [
26+
{ "type": "item", "name": "minecraft:shield", "weight": 300, "functions": [
27+
{ "function": "set_damage", "damage": { "min": 0.5, "max": 0.9 } }
28+
]},
29+
{ "type": "item", "name": "minecraft:bow", "weight": 300, "functions": [{ "function": "enchant_randomly" }] },
30+
{ "type": "item", "name": "minecraft:wind_charge", "weight": 23, "functions": [{ "function": "set_count", "count": { "min": 4, "max": 12 } }] },
31+
{ "type": "item", "name": "minecraft:diamond", "weight": 23, "functions": [{ "function": "set_count", "count": { "min": 1, "max": 2 } }] },
32+
{ "type": "item", "name": "minecraft:golden_apple", "weight": 4 },
33+
{ "type": "item", "name": "minecraft:golden_carrot", "weight": 200, "functions": [{ "function": "set_count", "count": { "min": 1, "max": 2 } }] },
34+
{ "type": "item", "name": "minecraft:enchanted_book", "weight": 200, "functions": [{ "function": "enchant_randomly" }] },
35+
{ "type": "item", "name": "minecraft:crossbow", "weight": 200, "functions": [{ "function": "enchant_randomly" }] },
36+
{ "type": "item", "name": "minecraft:iron_axe", "weight": 200, "functions": [{ "function": "enchant_randomly" }] },
37+
{ "type": "item", "name": "minecraft:iron_chestplate", "weight": 200, "functions": [{ "function": "enchant_randomly" }] }
38+
]
39+
},
40+
{
41+
"rolls": 1,
42+
"entries": [
43+
{ "type": "item", "name": "minecraft:smithing_template_bolt_armor_trim", "weight": 3 },
44+
{ "type": "item", "name": "minecraft:music_disc_precipice", "weight": 2 },
45+
{ "type": "item", "name": "minecraft:guster_banner_pattern", "weight": 2 },
46+
{ "type": "item", "name": "minecraft:diamond_axe", "weight": 100, "functions": [{ "function": "enchant_randomly" }] },
47+
{ "type": "item", "name": "minecraft:diamond_chestplate", "weight": 100, "functions": [{ "function": "enchant_randomly" }] },
48+
{ "type": "item", "name": "minecraft:trident", "weight": 1 }
49+
]
50+
}
51+
]
52+
}

packs/TrialsFortune/pack.mcmeta

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"pack": {
3+
"pack_format": 48,
4+
"description": "TrialsFortune — Custom Trial Chamber Rewards"
5+
}
6+
}

0 commit comments

Comments
 (0)