Skip to content

Commit e7fe7e7

Browse files
Merge pull request #1565 from bijimio/0.15-features
Created item textures & recipes for shipping containers.
2 parents 08836c4 + 19fcd05 commit e7fe7e7

6 files changed

Lines changed: 90 additions & 1 deletion

File tree

402 Bytes
Loading
408 Bytes
Loading
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"changed:shipping_container_blue",
6+
"changed:shipping_container_orange"
7+
]
8+
},
9+
"criteria": {
10+
"has_iron_ingot": {
11+
"trigger": "minecraft:inventory_changed",
12+
"conditions": {
13+
"items": [
14+
{
15+
"items": [
16+
"minecraft:iron_ingot"
17+
]
18+
}
19+
]
20+
}
21+
},
22+
"has_the_recipe": {
23+
"trigger": "minecraft:recipe_unlocked",
24+
"conditions": {
25+
"recipe": "changed:shipping_container"
26+
}
27+
}
28+
},
29+
"requirements": [
30+
[
31+
"has_iron_ingot",
32+
"has_the_recipe"
33+
]
34+
]
35+
}

src/main/resources/data/changed/loot_tables/chests/high_tier_lab.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
},
7272
{
7373
"type": "minecraft:item",
74-
"weight": 5,
74+
"weight": 3,
7575
"name": "minecraft:diamond"
7676
},
7777
{
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"type": "minecraft:crafting_shaped",
3+
"category": "misc",
4+
"key": {
5+
"I": {
6+
"item": "minecraft:iron_block"
7+
},
8+
"#": {
9+
"item": "minecraft:iron_ingot"
10+
},
11+
"D": {
12+
"item": "minecraft:blue_dye"
13+
},
14+
"S": {
15+
"tag": "minecraft:wooden_slabs"
16+
}
17+
},
18+
"pattern": [
19+
"I#I",
20+
"#D#",
21+
"SSS"
22+
],
23+
"result": {
24+
"item": "changed:shipping_container_blue"
25+
},
26+
"show_notification": true
27+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"type": "minecraft:crafting_shaped",
3+
"category": "misc",
4+
"key": {
5+
"I": {
6+
"item": "minecraft:iron_block"
7+
},
8+
"#": {
9+
"item": "minecraft:iron_ingot"
10+
},
11+
"D": {
12+
"item": "minecraft:orange_dye"
13+
},
14+
"S": {
15+
"tag": "minecraft:wooden_slabs"
16+
}
17+
},
18+
"pattern": [
19+
"I#I",
20+
"#D#",
21+
"SSS"
22+
],
23+
"result": {
24+
"item": "changed:shipping_container_orange"
25+
},
26+
"show_notification": true
27+
}

0 commit comments

Comments
 (0)