File tree Expand file tree Collapse file tree
packages/forgeworks/src/data/croptopia/loot_table/blocks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments