readme
This commit is contained in:
parent
34fe189a3c
commit
03ff573adb
1143
README.html
1143
README.html
File diff suppressed because one or more lines are too long
20
README.md
20
README.md
@ -6,11 +6,11 @@ This API adds support for `fluid_buffers` inside nodes. This means that nodes ca
|
||||
2. Add the following to the node defintion:
|
||||
```
|
||||
fluid_buffers = {
|
||||
buffer_name = {
|
||||
capacity = 2000,
|
||||
accepts = {"default:water_source", "group:water_source"}, -- you can also set this to true to accept any fluid!
|
||||
drainable = true,
|
||||
},
|
||||
buffer_name = {
|
||||
capacity = 2000,
|
||||
accepts = {"default:water_source", "group:water_source"}, -- you can also set this to true to accept any fluid!
|
||||
drainable = true,
|
||||
},
|
||||
}
|
||||
```
|
||||
3. Set the appropriate metadata.
|
||||
@ -28,11 +28,11 @@ All numbers are in **milli-buckets** (1 bucket = 1000 mB).
|
||||
* Returns all the information about this buffer.
|
||||
```
|
||||
{
|
||||
fluid = fluid source block,
|
||||
amount = amount of fluid,
|
||||
accepts = list of accepted fluids,
|
||||
capacity = capacity of the buffer,
|
||||
drainable = is this buffer drainable,
|
||||
fluid = fluid source block,
|
||||
amount = amount of fluid,
|
||||
accepts = list of accepted fluids,
|
||||
capacity = capacity of the buffer,
|
||||
drainable = is this buffer drainable,
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user