Added recipes for ancient debris. Closes #2254
This commit is contained in:
parent
75e7e626f9
commit
fef6d8f149
4 changed files with 64 additions and 0 deletions
|
@ -63,6 +63,7 @@ public class FluidUtils {
|
|||
ItemStack inputStack = inventory.getStack(inputSlot);
|
||||
ItemStack outputStack = inventory.getStack(outputSlot);
|
||||
|
||||
if (inputStack.isEmpty()) return false;
|
||||
if (FluidUtils.isContainerEmpty(inputStack)) return false;
|
||||
if (outputStack.getCount() >= outputStack.getMaxCount()) return false;
|
||||
if (!outputStack.isEmpty() && !FluidUtils.isContainerEmpty(outputStack)) return false;
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "techreborn:grinder",
|
||||
"power": 4,
|
||||
"time": 200,
|
||||
"ingredients" : [
|
||||
{
|
||||
"item": "minecraft:ancient_debris"
|
||||
}
|
||||
],
|
||||
"results" : [
|
||||
{
|
||||
"item": "minecraft:netherite_scrap",
|
||||
"count": 2
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"type": "techreborn:industrial_grinder",
|
||||
"power": 64,
|
||||
"time": 100,
|
||||
"tank": {
|
||||
"fluid": "techreborn:mercury",
|
||||
"amount": 1000
|
||||
},
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:ancient_debris"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "minecraft:netherite_scrap",
|
||||
"count": 3
|
||||
},
|
||||
{
|
||||
"item": "techreborn:gold_small_dust"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"type": "techreborn:industrial_grinder",
|
||||
"power": 64,
|
||||
"time": 100,
|
||||
"tank": {
|
||||
"fluid": "minecraft:water",
|
||||
"amount": 1000
|
||||
},
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:ancient_debris"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "minecraft:netherite_scrap",
|
||||
"count": 2
|
||||
},
|
||||
{
|
||||
"item": "techreborn:gold_small_dust",
|
||||
"count": 2
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue