Skip to content

Commit 1e24f2c

Browse files
committed
fix barter pack
1 parent 0ca4fa8 commit 1e24f2c

File tree

25 files changed

+685
-58
lines changed

25 files changed

+685
-58
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"anvil_cost": 4,
3+
"description": {
4+
"translate": "enchantment.minecraft.looting"
5+
},
6+
"effects": {
7+
"minecraft:equipment_drops": [
8+
{
9+
"effect": {
10+
"type": "minecraft:add",
11+
"value": {
12+
"type": "minecraft:linear",
13+
"base": 0.01,
14+
"per_level_above_first": 0.01
15+
}
16+
},
17+
"enchanted": "attacker",
18+
"requirements": {
19+
"condition": "minecraft:entity_properties",
20+
"entity": "attacker",
21+
"predicate": {
22+
"type": "minecraft:player"
23+
}
24+
}
25+
}
26+
]
27+
},
28+
"max_cost": {
29+
"base": 65,
30+
"per_level_above_first": 9
31+
},
32+
"max_level": 3,
33+
"min_cost": {
34+
"base": 15,
35+
"per_level_above_first": 9
36+
},
37+
"slots": [
38+
"mainhand"
39+
],
40+
"supported_items": "#purpur:enchantable/looting",
41+
"weight": 2
42+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"type": "minecraft:shearing",
3+
"pools": [
4+
{
5+
"bonus_rolls": 0.0,
6+
"entries": [
7+
{
8+
"type": "minecraft:item",
9+
"functions": [
10+
{
11+
"add": false,
12+
"count": 1.0,
13+
"function": "minecraft:set_count"
14+
},
15+
{
16+
"enchantment": "minecraft:looting",
17+
"formula": "minecraft:ore_drops",
18+
"function": "minecraft:apply_bonus"
19+
}
20+
],
21+
"name": "minecraft:brown_mushroom"
22+
},
23+
{
24+
"type": "minecraft:item",
25+
"functions": [
26+
{
27+
"add": false,
28+
"count": 1.0,
29+
"function": "minecraft:set_count"
30+
},
31+
{
32+
"enchantment": "minecraft:looting",
33+
"formula": "minecraft:ore_drops",
34+
"function": "minecraft:apply_bonus"
35+
}
36+
],
37+
"name": "minecraft:red_mushroom"
38+
}
39+
],
40+
"rolls": 2.0
41+
}
42+
],
43+
"random_sequence": "minecraft:shearing/bogged"
44+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"type": "minecraft:shearing",
3+
"pools": [
4+
{
5+
"rolls": 1,
6+
"bonus_rolls": 0,
7+
"entries": [
8+
{
9+
"type": "minecraft:item",
10+
"name": "minecraft:brown_mushroom",
11+
"functions": [
12+
{
13+
"function": "minecraft:set_count",
14+
"count": 5
15+
},
16+
{
17+
"function": "minecraft:apply_bonus",
18+
"enchantment": "minecraft:looting",
19+
"formula": "minecraft:ore_drops"
20+
}
21+
]
22+
}
23+
]
24+
}
25+
],
26+
"random_sequence": "minecraft:shearing/mooshroom/brown"
27+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"type": "minecraft:shearing",
3+
"pools": [
4+
{
5+
"rolls": 1,
6+
"bonus_rolls": 0,
7+
"entries": [
8+
{
9+
"type": "minecraft:item",
10+
"name": "minecraft:red_mushroom",
11+
"functions": [
12+
{
13+
"function": "minecraft:set_count",
14+
"count": 5
15+
},
16+
{
17+
"function": "minecraft:apply_bonus",
18+
"enchantment": "minecraft:looting",
19+
"formula": "minecraft:ore_drops"
20+
}
21+
]
22+
}
23+
]
24+
}
25+
],
26+
"random_sequence": "minecraft:shearing/mooshroom/red"
27+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"type": "minecraft:shearing",
3+
"pools": [
4+
{
5+
"rolls": 1.0,
6+
"bonus_rolls": 0.0,
7+
"entries": [
8+
{
9+
"type": "minecraft:item",
10+
"name": "minecraft:black_wool",
11+
"functions": [
12+
{
13+
"add": false,
14+
"count": {
15+
"type": "minecraft:uniform",
16+
"max": 5.0,
17+
"min": 2.0
18+
},
19+
"function": "minecraft:set_count"
20+
},
21+
{
22+
"enchantment": "minecraft:fortune",
23+
"formula": "minecraft:ore_drops",
24+
"function": "minecraft:apply_bonus"
25+
}
26+
]
27+
}
28+
]
29+
}
30+
],
31+
"random_sequence": "minecraft:shearing/sheep/black"
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"type": "minecraft:shearing",
3+
"pools": [
4+
{
5+
"rolls": 1.0,
6+
"bonus_rolls": 0.0,
7+
"entries": [
8+
{
9+
"type": "minecraft:item",
10+
"name": "minecraft:blue_wool",
11+
"functions": [
12+
{
13+
"add": false,
14+
"count": {
15+
"type": "minecraft:uniform",
16+
"max": 3.0,
17+
"min": 1.0
18+
},
19+
"function": "minecraft:set_count"
20+
},
21+
{
22+
"enchantment": "minecraft:looting",
23+
"formula": "minecraft:ore_drops",
24+
"function": "minecraft:apply_bonus"
25+
}
26+
]
27+
}
28+
]
29+
}
30+
],
31+
"random_sequence": "minecraft:shearing/sheep/blue"
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"type": "minecraft:shearing",
3+
"pools": [
4+
{
5+
"rolls": 1.0,
6+
"bonus_rolls": 0.0,
7+
"entries": [
8+
{
9+
"type": "minecraft:item",
10+
"name": "minecraft:brown_wool",
11+
"functions": [
12+
{
13+
"add": false,
14+
"count": {
15+
"type": "minecraft:uniform",
16+
"max": 3.0,
17+
"min": 1.0
18+
},
19+
"function": "minecraft:set_count"
20+
},
21+
{
22+
"enchantment": "minecraft:looting",
23+
"formula": "minecraft:ore_drops",
24+
"function": "minecraft:apply_bonus"
25+
}
26+
]
27+
}
28+
]
29+
}
30+
],
31+
"random_sequence": "minecraft:shearing/sheep/brown"
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"type": "minecraft:shearing",
3+
"pools": [
4+
{
5+
"rolls": 1.0,
6+
"bonus_rolls": 0.0,
7+
"entries": [
8+
{
9+
"type": "minecraft:item",
10+
"name": "minecraft:cyan_wool",
11+
"functions": [
12+
{
13+
"add": false,
14+
"count": {
15+
"type": "minecraft:uniform",
16+
"max": 3.0,
17+
"min": 1.0
18+
},
19+
"function": "minecraft:set_count"
20+
},
21+
{
22+
"enchantment": "minecraft:looting",
23+
"formula": "minecraft:ore_drops",
24+
"function": "minecraft:apply_bonus"
25+
}
26+
]
27+
}
28+
]
29+
}
30+
],
31+
"random_sequence": "minecraft:shearing/sheep/cyan"
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"type": "minecraft:shearing",
3+
"pools": [
4+
{
5+
"rolls": 1.0,
6+
"bonus_rolls": 0.0,
7+
"entries": [
8+
{
9+
"type": "minecraft:item",
10+
"name": "minecraft:gray_wool",
11+
"functions": [
12+
{
13+
"add": false,
14+
"count": {
15+
"type": "minecraft:uniform",
16+
"max": 3.0,
17+
"min": 1.0
18+
},
19+
"function": "minecraft:set_count"
20+
},
21+
{
22+
"enchantment": "minecraft:looting",
23+
"formula": "minecraft:ore_drops",
24+
"function": "minecraft:apply_bonus"
25+
}
26+
]
27+
}
28+
]
29+
}
30+
],
31+
"random_sequence": "minecraft:shearing/sheep/gray"
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"type": "minecraft:shearing",
3+
"pools": [
4+
{
5+
"rolls": 1.0,
6+
"bonus_rolls": 0.0,
7+
"entries": [
8+
{
9+
"type": "minecraft:item",
10+
"name": "minecraft:green_wool",
11+
"functions": [
12+
{
13+
"add": false,
14+
"count": {
15+
"type": "minecraft:uniform",
16+
"max": 3.0,
17+
"min": 1.0
18+
},
19+
"function": "minecraft:set_count"
20+
},
21+
{
22+
"enchantment": "minecraft:looting",
23+
"formula": "minecraft:ore_drops",
24+
"function": "minecraft:apply_bonus"
25+
}
26+
]
27+
}
28+
]
29+
}
30+
],
31+
"random_sequence": "minecraft:shearing/sheep/green"
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"type": "minecraft:shearing",
3+
"pools": [
4+
{
5+
"rolls": 1.0,
6+
"bonus_rolls": 0.0,
7+
"entries": [
8+
{
9+
"type": "minecraft:item",
10+
"name": "minecraft:light_blue_wool",
11+
"functions": [
12+
{
13+
"add": false,
14+
"count": {
15+
"type": "minecraft:uniform",
16+
"max": 3.0,
17+
"min": 1.0
18+
},
19+
"function": "minecraft:set_count"
20+
},
21+
{
22+
"enchantment": "minecraft:looting",
23+
"formula": "minecraft:ore_drops",
24+
"function": "minecraft:apply_bonus"
25+
}
26+
]
27+
}
28+
]
29+
}
30+
],
31+
"random_sequence": "minecraft:shearing/sheep/light_blue"
32+
}

0 commit comments

Comments
 (0)