Skip to content

Commit 8a62026

Browse files
authored
fix: croptopia salt ore drops ATO salt (#55)
1 parent 2d86804 commit 8a62026

1 file changed

Lines changed: 66 additions & 0 deletions

File tree

  • packages/forgeworks/src/data/croptopia/loot_table/blocks
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"type": "minecraft:block",
3+
"pools": [
4+
{
5+
"bonus_rolls": 0.0,
6+
"entries": [
7+
{
8+
"type": "minecraft:alternatives",
9+
"children": [
10+
{
11+
"type": "minecraft:item",
12+
"conditions": [
13+
{
14+
"condition": "minecraft:match_tool",
15+
"predicate": {
16+
"predicates": {
17+
"minecraft:enchantments": [
18+
{
19+
"enchantments": "minecraft:silk_touch",
20+
"levels": {
21+
"min": 1
22+
}
23+
}
24+
]
25+
}
26+
}
27+
}
28+
],
29+
"name": "croptopia:salt_ore"
30+
},
31+
{
32+
"type": "minecraft:item",
33+
"conditions": [
34+
{
35+
"condition": "minecraft:survives_explosion"
36+
}
37+
],
38+
"functions": [
39+
{
40+
"add": false,
41+
"count": {
42+
"type": "minecraft:uniform",
43+
"max": 5.0,
44+
"min": 2.0
45+
},
46+
"function": "minecraft:set_count"
47+
},
48+
{
49+
"enchantment": "minecraft:fortune",
50+
"formula": "minecraft:uniform_bonus_count",
51+
"function": "minecraft:apply_bonus",
52+
"parameters": {
53+
"bonusMultiplier": 2
54+
}
55+
}
56+
],
57+
"name": "alltheores:salt"
58+
}
59+
]
60+
}
61+
],
62+
"rolls": 1.0
63+
}
64+
],
65+
"random_sequence": "croptopia:blocks/salt_ore"
66+
}

0 commit comments

Comments
 (0)