-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature to fill and empty non-fluid handlers
Uses JSON to add "recipes" for filling and emptying. In the future, might also add potions using this feature
- Loading branch information
1 parent
0267d22
commit 39d607a
Showing
62 changed files
with
1,095 additions
and
53 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
src/generated/resources/data/forge/tags/fluids/beetroot_soup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"#tconstruct:beetroot_soup" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"#tconstruct:honey" | ||
] | ||
} |
6 changes: 6 additions & 0 deletions
6
src/generated/resources/data/forge/tags/fluids/mushroom_stew.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"#tconstruct:mushroom_stew" | ||
] | ||
} |
6 changes: 6 additions & 0 deletions
6
src/generated/resources/data/forge/tags/fluids/rabbit_stew.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"#tconstruct:rabbit_stew" | ||
] | ||
} |
9 changes: 9 additions & 0 deletions
9
src/generated/resources/data/tconstruct/recipes/smeltery/casting/honey/block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"type": "tconstruct:casting_basin", | ||
"fluid": { | ||
"tag": "forge:honey", | ||
"amount": 1000 | ||
}, | ||
"result": "minecraft:honey_block", | ||
"cooling_time": 94 | ||
} |
13 changes: 13 additions & 0 deletions
13
src/generated/resources/data/tconstruct/recipes/smeltery/casting/honey/bottle.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"type": "tconstruct:casting_table", | ||
"cast": { | ||
"item": "minecraft:glass_bottle" | ||
}, | ||
"cast_consumed": true, | ||
"fluid": { | ||
"tag": "forge:honey", | ||
"amount": 250 | ||
}, | ||
"result": "minecraft:honey_bottle", | ||
"cooling_time": 1 | ||
} |
9 changes: 9 additions & 0 deletions
9
src/generated/resources/data/tconstruct/recipes/smeltery/casting/soup/beetroot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"type": "tconstruct:casting_table", | ||
"fluid": { | ||
"tag": "forge:beetroot_soup", | ||
"amount": 250 | ||
}, | ||
"result": "minecraft:beetroot_soup", | ||
"cooling_time": 1 | ||
} |
9 changes: 9 additions & 0 deletions
9
src/generated/resources/data/tconstruct/recipes/smeltery/casting/soup/mushroom.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"type": "tconstruct:casting_table", | ||
"fluid": { | ||
"tag": "forge:mushroom_stew", | ||
"amount": 250 | ||
}, | ||
"result": "minecraft:mushroom_stew", | ||
"cooling_time": 1 | ||
} |
9 changes: 9 additions & 0 deletions
9
src/generated/resources/data/tconstruct/recipes/smeltery/casting/soup/rabbit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"type": "tconstruct:casting_table", | ||
"fluid": { | ||
"tag": "forge:rabbit_stew", | ||
"amount": 250 | ||
}, | ||
"result": "minecraft:rabbit_stew", | ||
"cooling_time": 1 | ||
} |
12 changes: 12 additions & 0 deletions
12
src/generated/resources/data/tconstruct/recipes/smeltery/melting/slime/honey_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"type": "tconstruct:melting", | ||
"ingredient": { | ||
"item": "minecraft:honey_block" | ||
}, | ||
"result": { | ||
"fluid": "tconstruct:honey", | ||
"amount": 1000 | ||
}, | ||
"temperature": 1, | ||
"time": 94 | ||
} |
14 changes: 14 additions & 0 deletions
14
src/generated/resources/data/tconstruct/recipes/tools/spilling/beetroot_soup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"type": "tconstruct:spilling", | ||
"fluid": { | ||
"tag": "forge:beetroot_soup", | ||
"amount": 50 | ||
}, | ||
"effects": [ | ||
{ | ||
"type": "tconstruct:restore_hunger", | ||
"hunger": 1, | ||
"saturation": 1.5 | ||
} | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
src/generated/resources/data/tconstruct/recipes/tools/spilling/honey.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"type": "tconstruct:spilling", | ||
"fluid": { | ||
"tag": "forge:honey", | ||
"amount": 50 | ||
}, | ||
"effects": [ | ||
{ | ||
"type": "tconstruct:restore_hunger", | ||
"hunger": 1, | ||
"saturation": 0.2 | ||
}, | ||
{ | ||
"type": "tconstruct:remove_effect", | ||
"effect": "minecraft:poison" | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
src/generated/resources/data/tconstruct/recipes/tools/spilling/mushroom_stew.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"type": "tconstruct:spilling", | ||
"fluid": { | ||
"tag": "forge:mushroom_stew", | ||
"amount": 50 | ||
}, | ||
"effects": [ | ||
{ | ||
"type": "tconstruct:restore_hunger", | ||
"hunger": 1, | ||
"saturation": 1.5 | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
src/generated/resources/data/tconstruct/recipes/tools/spilling/rabbit_stew.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"type": "tconstruct:spilling", | ||
"fluid": { | ||
"tag": "forge:rabbit_stew", | ||
"amount": 50 | ||
}, | ||
"effects": [ | ||
{ | ||
"type": "tconstruct:restore_hunger", | ||
"hunger": 2, | ||
"saturation": 2.4 | ||
} | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
src/generated/resources/data/tconstruct/tags/fluids/beetroot_soup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"tconstruct:beetroot_soup", | ||
"tconstruct:flowing_beetroot_soup" | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
src/generated/resources/data/tconstruct/tags/fluids/honey.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"tconstruct:honey", | ||
"tconstruct:flowing_honey" | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
src/generated/resources/data/tconstruct/tags/fluids/mushroom_stew.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"tconstruct:mushroom_stew", | ||
"tconstruct:flowing_mushroom_stew" | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
src/generated/resources/data/tconstruct/tags/fluids/rabbit_stew.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"tconstruct:rabbit_stew", | ||
"tconstruct:flowing_rabbit_stew" | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
...ted/resources/data/tconstruct/tinkering/materials/fluid_transfer/beetroot_soup_empty.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "tconstruct:empty_item", | ||
"input": { | ||
"item": "minecraft:beetroot_soup" | ||
}, | ||
"filled": "minecraft:bowl", | ||
"fluid": { | ||
"fluid": "tconstruct:beetroot_soup", | ||
"amount": 250 | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ated/resources/data/tconstruct/tinkering/materials/fluid_transfer/beetroot_soup_fill.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "tconstruct:fill_item", | ||
"input": { | ||
"item": "minecraft:bowl" | ||
}, | ||
"filled": "minecraft:beetroot_soup", | ||
"fluid": { | ||
"tag": "forge:beetroot_soup", | ||
"amount": 250 | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ated/resources/data/tconstruct/tinkering/materials/fluid_transfer/honey_bottle_empty.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "tconstruct:empty_item", | ||
"input": { | ||
"item": "minecraft:honey_bottle" | ||
}, | ||
"filled": "minecraft:glass_bottle", | ||
"fluid": { | ||
"fluid": "tconstruct:honey", | ||
"amount": 250 | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...rated/resources/data/tconstruct/tinkering/materials/fluid_transfer/honey_bottle_fill.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "tconstruct:fill_item", | ||
"input": { | ||
"item": "minecraft:glass_bottle" | ||
}, | ||
"filled": "minecraft:honey_bottle", | ||
"fluid": { | ||
"tag": "forge:honey", | ||
"amount": 250 | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ted/resources/data/tconstruct/tinkering/materials/fluid_transfer/mushroom_stew_empty.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "tconstruct:empty_item", | ||
"input": { | ||
"item": "minecraft:mushroom_stew" | ||
}, | ||
"filled": "minecraft:bowl", | ||
"fluid": { | ||
"fluid": "tconstruct:mushroom_stew", | ||
"amount": 250 | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ated/resources/data/tconstruct/tinkering/materials/fluid_transfer/mushroom_stew_fill.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "tconstruct:fill_item", | ||
"input": { | ||
"item": "minecraft:bowl" | ||
}, | ||
"filled": "minecraft:mushroom_stew", | ||
"fluid": { | ||
"tag": "forge:mushroom_stew", | ||
"amount": 250 | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...rated/resources/data/tconstruct/tinkering/materials/fluid_transfer/rabbit_stew_empty.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "tconstruct:empty_item", | ||
"input": { | ||
"item": "minecraft:rabbit_stew" | ||
}, | ||
"filled": "minecraft:bowl", | ||
"fluid": { | ||
"fluid": "tconstruct:rabbit_stew", | ||
"amount": 250 | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...erated/resources/data/tconstruct/tinkering/materials/fluid_transfer/rabbit_stew_fill.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "tconstruct:fill_item", | ||
"input": { | ||
"item": "minecraft:bowl" | ||
}, | ||
"filled": "minecraft:rabbit_stew", | ||
"fluid": { | ||
"tag": "forge:rabbit_stew", | ||
"amount": 250 | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ated/resources/data/tconstruct/tinkering/materials/fluid_transfer/water_bottle_empty.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"type": "tconstruct:empty_item", | ||
"input": { | ||
"type": "forge:partial_nbt", | ||
"items": [ | ||
"minecraft:lingering_potion", | ||
"minecraft:potion", | ||
"minecraft:splash_potion" | ||
], | ||
"nbt": "{Potion:\"minecraft:water\"}" | ||
}, | ||
"filled": "minecraft:glass_bottle", | ||
"fluid": { | ||
"fluid": "minecraft:water", | ||
"amount": 250 | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...rated/resources/data/tconstruct/tinkering/materials/fluid_transfer/water_bottle_fill.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"type": "tconstruct:fill_item", | ||
"input": { | ||
"item": "minecraft:glass_bottle" | ||
}, | ||
"filled": { | ||
"item": "minecraft:potion", | ||
"nbt": "{Potion:\"minecraft:water\"}" | ||
}, | ||
"fluid": { | ||
"tag": "minecraft:water", | ||
"amount": 500 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.