Skip to content

Commit 7b27bf4

Browse files
committed
kjs-eio: update tank recipe for fluid ingredient support
1 parent cac8e78 commit 7b27bf4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • wikis/kubejs-enderio/docs/machine

wikis/kubejs-enderio/docs/machine/tank.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ with containers, buckets, bottles, or any modded fluid-handling items.
2121
- usage: needs to be passed as the second argument
2222
- `fluid`
2323
- description: specifies the fluid to fill into or extract from the item
24-
- type: `FluidStack`
24+
- type: `SizedFluidIngredient`
2525
- role: other
2626
- required: yes
2727
- usage: needs to be passed as the third argument
@@ -48,9 +48,9 @@ ServerEvents.recipes(event => {
4848
// the item into the tank
4949
event.recipes.enderio.tank("potato", "3x carrot", Fluid.of("lava", 5000), TankMode.EMPTY)
5050

51-
// adds a recipe that converts a 5 sticks to a 3 stone by draining 1 bucket of water from
52-
// the item into the tank
51+
// adds a recipe that converts a 5 sticks to a 3 stone by draining 2 buckets of any kind
52+
// of water from the item into the tank
5353
// uses the chaining function for emptying
54-
event.recipes.enderio.tank("3x stone", Item.of("stick", 5), "water").emptying()
54+
event.recipes.enderio.tank("3x stone", Item.of("stick", 5), "2000x #c:water").emptying()
5555
})
5656
```

0 commit comments

Comments
 (0)