Skip to content

Commit

Permalink
rewrite the code to be compatible to 1.21.2+
Browse files Browse the repository at this point in the history
  • Loading branch information
whwdzg committed Dec 28, 2024
1 parent 1009c28 commit c00bcc6
Show file tree
Hide file tree
Showing 104 changed files with 403 additions and 416 deletions.
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/black_stained_glass_pane.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:black_stained_glass"
},
"ingredient": [
"minecraft:black_stained_glass"
],
"result": {
"id": "minecraft:black_stained_glass_pane",
"count": 3
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/blue_stained_glass_pane.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:blue_stained_glass"
},
"ingredient": [
"minecraft:blue_stained_glass"
],
"result": {
"id": "minecraft:blue_stained_glass_pane",
"count": 3
Expand Down
4 changes: 1 addition & 3 deletions data/whw_recipe/recipe/bone.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
},
"ingredients": [
[
{
"item": "minecraft:skeleton_skull"
}
"minecraft:skeleton_skull"
]
]
}
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/brick.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:bricks"
},
"ingredient": [
"minecraft:bricks"
],
"result": {
"id": "minecraft:brick",
"count": 4
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/brown_stained_glass_pane.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:brown_stained_glass"
},
"ingredient": [
"minecraft:brown_stained_glass"
],
"result": {
"id": "minecraft:brown_stained_glass_pane",
"count": 3
Expand Down
12 changes: 6 additions & 6 deletions data/whw_recipe/recipe/budding_amethyst.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
" # "
],
"key": {
"#": {
"item": "minecraft:amethyst_shard"
},
"X": {
"item": "minecraft:amethyst_block"
}
"#": [
"minecraft:amethyst_shard"
],
"X": [
"minecraft:amethyst_block"
]
},
"result": {
"id": "minecraft:budding_amethyst"
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/chainmail_boots.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"# #"
],
"key": {
"#": {
"item": "minecraft:chain"
}
"#": [
"minecraft:chain"
]
},
"result": {
"id": "minecraft:chainmail_boots"
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/chainmail_chestplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"###"
],
"key": {
"#": {
"item": "minecraft:chain"
}
"#": [
"minecraft:chain"
]
},
"result": {
"id": "minecraft:chainmail_chestplate"
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/chainmail_helmet.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
" "
],
"key": {
"#": {
"item": "minecraft:chain"
}
"#": [
"minecraft:chain"
]
},
"result": {
"id": "minecraft:chainmail_helmet"
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/chainmail_leggings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"# #"
],
"key": {
"#": {
"item": "minecraft:chain"
}
"#": [
"minecraft:chain"
]
},
"result": {
"id": "minecraft:chainmail_leggings"
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/clay.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:smelting",
"ingredient": {
"item": "minecraft:mud"
},
"ingredient": [
"minecraft:mud"
],
"result": {
"id": "minecraft:clay"
},
Expand Down
4 changes: 1 addition & 3 deletions data/whw_recipe/recipe/clay_ball.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
},
"ingredients": [
[
{
"item": "minecraft:clay"
}
"minecraft:clay"
]
]
}
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/cobbled_deepslate.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:deepslate"
},
"ingredient": [
"minecraft:deepslate"
],
"result": {
"id": "minecraft:cobbled_deepslate",
"count": 1
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/cobblestone.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:stone"
},
"ingredient": [
"minecraft:stone"
],
"result": {
"id": "minecraft:cobblestone",
"count": 1
Expand Down
8 changes: 2 additions & 6 deletions data/whw_recipe/recipe/cobweb.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@
},
"ingredients": [
[
{
"item": "minecraft:slime_ball"
}
"minecraft:slime_ball"
],
[
{
"item": "minecraft:string"
}
"minecraft:string"
]
]
}
12 changes: 6 additions & 6 deletions data/whw_recipe/recipe/creeper_head.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"###"
],
"key": {
"#": {
"item": "minecraft:gunpowder"
},
"&": {
"item": "minecraft:skeleton_skull"
}
"#": [
"minecraft:gunpowder"
],
"&":[
"minecraft:skeleton_skull"
]
},
"result": {
"id": "minecraft:creeper_head"
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/cyan_stained_glass_pane.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:cyan_stained_glass"
},
"ingredient": [
"minecraft:cyan_stained_glass"
],
"result": {
"id": "minecraft:cyan_stained_glass_pane",
"count": 3
Expand Down
12 changes: 6 additions & 6 deletions data/whw_recipe/recipe/diamond_horse_armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"###"
],
"key": {
"#": {
"item": "minecraft:diamond"
},
"X": {
"item": "minecraft:leather_horse_armor"
}
"#": [
"minecraft:diamond"
],
"X": [
"minecraft:leather_horse_armor"
]
},
"result": {
"id": "minecraft:diamond_horse_armor"
Expand Down
5 changes: 1 addition & 4 deletions data/whw_recipe/recipe/echo_shard.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
},
"ingredients": [
[
{
"item": "minecraft:sculk",
"count": 2
}
"minecraft:sculk"
]
]
}
12 changes: 6 additions & 6 deletions data/whw_recipe/recipe/enchanted_golden_apple.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"###"
],
"key": {
"#": {
"item": "minecraft:gold_block"
},
"X": {
"item": "minecraft:apple"
}
"#": [
"minecraft:gold_block"
],
"X": [
"minecraft:apple"
]
},
"result": {
"id": "minecraft:enchanted_golden_apple"
Expand Down
12 changes: 6 additions & 6 deletions data/whw_recipe/recipe/experience_bottle.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
" # "
],
"key": {
"#": {
"item": "minecraft:lapis_lazuli"
},
"X": {
"item": "minecraft:glass_bottle"
}
"#": [
"minecraft:lapis_lazuli"
],
"X": [
"minecraft:glass_bottle"
]
},
"result": {
"id": "minecraft:experience_bottle"
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/flint.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:gravel"
},
"ingredient": [
"minecraft:gravel"
],
"result": {
"id": "minecraft:flint",
"count": 1
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/glass_pane.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:glass"
},
"ingredient": [
"minecraft:glass"
],
"result": {
"id": "minecraft:glass_pane",
"count": 3
Expand Down
4 changes: 1 addition & 3 deletions data/whw_recipe/recipe/glowstone_dust.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
},
"ingredients": [
[
{
"item": "minecraft:glowstone"
}
"minecraft:glowstone"
]
]
}
12 changes: 6 additions & 6 deletions data/whw_recipe/recipe/golden_horse_armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"###"
],
"key": {
"#": {
"item": "minecraft:gold_ingot"
},
"X": {
"item": "minecraft:leather_horse_armor"
}
"#": [
"minecraft:gold_ingot"
],
"X": [
"minecraft:leather_horse_armor"
]
},
"result": {
"id": "minecraft:golden_horse_armor"
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/gravel.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:stone"
},
"ingredient": [
"minecraft:stone"
],
"result": {
"id": "minecraft:gravel",
"count": 1
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/gravel10.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:basalt"
},
"ingredient": [
"minecraft:basalt"
],
"result": {
"id": "minecraft:gravel",
"count": 1
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/gravel11.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:blackstone"
},
"ingredient": [
"minecraft:blackstone"
],
"result": {
"id": "minecraft:gravel",
"count": 1
Expand Down
6 changes: 3 additions & 3 deletions data/whw_recipe/recipe/gravel2.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:cobblestone"
},
"ingredient": [
"minecraft:cobblestone"
],
"result": {
"id": "minecraft:gravel",
"count": 1
Expand Down
Loading

0 comments on commit c00bcc6

Please sign in to comment.