Skip to content

Commit 8430c91

Browse files
committed
Recipe Changes
Changed the methods for acquiring new pottery sherds and the heart of the sea
1 parent 7d36ec7 commit 8430c91

28 files changed

+740
-96
lines changed
Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
{
2+
"type": "minecraft:entity",
3+
"pools": [
4+
{
5+
"bonus_rolls": 0.0,
6+
"entries": [
7+
{
8+
"type": "minecraft:item",
9+
"functions": [
10+
{
11+
"add": false,
12+
"count": {
13+
"type": "minecraft:uniform",
14+
"max": 2.0,
15+
"min": 0.0
16+
},
17+
"function": "minecraft:set_count"
18+
},
19+
{
20+
"count": {
21+
"type": "minecraft:uniform",
22+
"max": 1.0,
23+
"min": 0.0
24+
},
25+
"function": "minecraft:looting_enchant"
26+
}
27+
],
28+
"name": "minecraft:prismarine_shard"
29+
}
30+
],
31+
"rolls": 1.0
32+
},
33+
{
34+
"bonus_rolls": 0.0,
35+
"entries": [
36+
{
37+
"type": "minecraft:item",
38+
"functions": [
39+
{
40+
"count": {
41+
"type": "minecraft:uniform",
42+
"max": 1.0,
43+
"min": 0.0
44+
},
45+
"function": "minecraft:looting_enchant"
46+
},
47+
{
48+
"conditions": [
49+
{
50+
"condition": "minecraft:entity_properties",
51+
"entity": "this",
52+
"predicate": {
53+
"flags": {
54+
"is_on_fire": true
55+
}
56+
}
57+
}
58+
],
59+
"function": "minecraft:furnace_smelt"
60+
}
61+
],
62+
"name": "minecraft:cod",
63+
"weight": 3
64+
},
65+
{
66+
"type": "minecraft:item",
67+
"functions": [
68+
{
69+
"count": {
70+
"type": "minecraft:uniform",
71+
"max": 1.0,
72+
"min": 0.0
73+
},
74+
"function": "minecraft:looting_enchant"
75+
}
76+
],
77+
"name": "minecraft:prismarine_crystals",
78+
"weight": 2
79+
},
80+
{
81+
"type": "minecraft:item",
82+
"functions": [
83+
{
84+
"count": {
85+
"type": "minecraft:uniform",
86+
"max": 1.0,
87+
"min": 0.0
88+
},
89+
"function": "minecraft:looting_enchant"
90+
}
91+
],
92+
"name": "minecraft:heart_of_the_sea",
93+
"weight": 2
94+
},
95+
{
96+
"type": "minecraft:empty"
97+
}
98+
],
99+
"rolls": 1.0
100+
},
101+
{
102+
"bonus_rolls": 0.0,
103+
"conditions": [
104+
{
105+
"condition": "minecraft:killed_by_player"
106+
}
107+
],
108+
"entries": [
109+
{
110+
"type": "minecraft:item",
111+
"name": "minecraft:wet_sponge"
112+
}
113+
],
114+
"rolls": 1.0
115+
},
116+
{
117+
"bonus_rolls": 0.0,
118+
"conditions": [
119+
{
120+
"condition": "minecraft:killed_by_player"
121+
},
122+
{
123+
"chance": 0.025,
124+
"condition": "minecraft:random_chance_with_looting",
125+
"looting_multiplier": 0.01
126+
}
127+
],
128+
"entries": [
129+
{
130+
"type": "minecraft:loot_table",
131+
"functions": [
132+
{
133+
"conditions": [
134+
{
135+
"condition": "minecraft:entity_properties",
136+
"entity": "this",
137+
"predicate": {
138+
"flags": {
139+
"is_on_fire": true
140+
}
141+
}
142+
}
143+
],
144+
"function": "minecraft:furnace_smelt"
145+
}
146+
],
147+
"name": "minecraft:gameplay/fishing/fish"
148+
}
149+
],
150+
"rolls": 1.0
151+
},
152+
{
153+
"bonus_rolls": 0.0,
154+
"entries": [
155+
{
156+
"type": "minecraft:empty",
157+
"weight": 4
158+
},
159+
{
160+
"type": "minecraft:item",
161+
"name": "minecraft:tide_armor_trim_smithing_template"
162+
}
163+
],
164+
"rolls": 1.0
165+
}
166+
],
167+
"random_sequence": "minecraft:entities/elder_guardian"
168+
}

data/minecraft/loot_tables/entities/husk.json

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -74,47 +74,6 @@
7474
}
7575
]
7676
},
77-
{
78-
"rolls": 1,
79-
"entries": [
80-
{
81-
"type": "minecraft:alternatives",
82-
"children": [
83-
{
84-
"type": "minecraft:item",
85-
"name": "minecraft:sand",
86-
"functions": [
87-
{
88-
"function": "minecraft:set_count",
89-
"count": {
90-
"min": 1,
91-
"max": 2
92-
}
93-
}
94-
],
95-
"conditions": [
96-
{
97-
"condition": "minecraft:random_chance",
98-
"chance": 0.8
99-
}
100-
]
101-
},
102-
{
103-
"type": "minecraft:tag",
104-
"name": "renewable:pottery_sherds",
105-
"expand": true
106-
}
107-
]
108-
}
109-
],
110-
"conditions": [
111-
{
112-
"condition": "minecraft:random_chance_with_looting",
113-
"chance": 0.5,
114-
"looting_multiplier": 0.01
115-
}
116-
]
117-
},
11877
{
11978
"rolls": 1,
12079
"bonus_rolls": 0,
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"renewable:convert_guardian"
4+
]
5+
}

data/renewable/advancements/recipes/heart_of_the_sea.json

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"criteria": {
4+
"has_sherd": {
5+
"trigger": "minecraft:inventory_changed",
6+
"conditions": {
7+
"items": [{
8+
"tag": "minecraft:decorated_pot_sherds"
9+
}
10+
]
11+
}
12+
}
13+
}
14+
},
15+
"requirements": [
16+
[
17+
"has_sherd"
18+
]
19+
],
20+
"rewards": {
21+
"recipes": [
22+
"renewable:sherds/angler_pottery_sherd",
23+
"renewable:sherds/archer_pottery_sherd",
24+
"renewable:sherds/arms_up_pottery_sherd",
25+
"renewable:sherds/blade_pottery_sherd",
26+
"renewable:sherds/brewer_pottery_sherd",
27+
"renewable:sherds/burn_pottery_sherd",
28+
"renewable:sherds/danger_pottery_sherd",
29+
"renewable:sherds/explorer_pottery_sherd",
30+
"renewable:sherds/friend_pottery_sherd",
31+
"renewable:sherds/heart_pottery_sherd",
32+
"renewable:sherds/heartbreak_pottery_sherd",
33+
"renewable:sherds/howl_pottery_sherd",
34+
"renewable:sherds/miner_pottery_sherd",
35+
"renewable:sherds/mourner_pottery_sherd",
36+
"renewable:sherds/plenty_pottery_sherd",
37+
"renewable:sherds/prize_pottery_sherd",
38+
"renewable:sherds/sheaf_pottery_sherd",
39+
"renewable:sherds/shelter_pottery_sherd",
40+
"renewable:sherds/skull_pottery_sherd",
41+
"renewable:sherds/snort_pottery_sherd"
42+
]
43+
},
44+
"sends_telemetry_event": false
45+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
execute as @e[type=minecraft:guardian] at @s if entity @e[type=minecraft:lightning_bolt,distance=..5] run summon minecraft:elder_guardian
2+
execute as @e[type=minecraft:guardian] at @s if entity @e[type=minecraft:lightning_bolt,distance=..5] run tp @s 0 -999 0

data/renewable/recipes/heart_of_the_sea.json

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"type": "minecraft:crafting_shaped",
3+
"category": "misc",
4+
"group": "sherd",
5+
"key": {
6+
"#": {
7+
"item": "minecraft:brick"
8+
},
9+
"C": {
10+
"item": "minecraft:fishing_rod"
11+
},
12+
"S": {
13+
"item": "minecraft:angler_pottery_sherd"
14+
}
15+
},
16+
"pattern": [
17+
"#S#",
18+
"#C#",
19+
"###"
20+
],
21+
"result": {
22+
"count": 4,
23+
"item": "minecraft:angler_pottery_sherd"
24+
},
25+
"show_notification": true
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"type": "minecraft:crafting_shaped",
3+
"category": "misc",
4+
"group": "sherd",
5+
"key": {
6+
"#": {
7+
"item": "minecraft:brick"
8+
},
9+
"C": {
10+
"item": "minecraft:bow"
11+
},
12+
"S": {
13+
"item": "minecraft:archer_pottery_sherd"
14+
}
15+
},
16+
"pattern": [
17+
"#S#",
18+
"#C#",
19+
"###"
20+
],
21+
"result": {
22+
"count": 4,
23+
"item": "minecraft:archer_pottery_sherd"
24+
},
25+
"show_notification": true
26+
}

0 commit comments

Comments
 (0)