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:
|
2. Add the following to the node defintion:
|
||||||
```
|
```
|
||||||
fluid_buffers = {
|
fluid_buffers = {
|
||||||
buffer_name = {
|
buffer_name = {
|
||||||
capacity = 2000,
|
capacity = 2000,
|
||||||
accepts = {"default:water_source", "group:water_source"}, -- you can also set this to true to accept any fluid!
|
accepts = {"default:water_source", "group:water_source"}, -- you can also set this to true to accept any fluid!
|
||||||
drainable = true,
|
drainable = true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
3. Set the appropriate metadata.
|
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.
|
* Returns all the information about this buffer.
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
fluid = fluid source block,
|
fluid = fluid source block,
|
||||||
amount = amount of fluid,
|
amount = amount of fluid,
|
||||||
accepts = list of accepted fluids,
|
accepts = list of accepted fluids,
|
||||||
capacity = capacity of the buffer,
|
capacity = capacity of the buffer,
|
||||||
drainable = is this buffer drainable,
|
drainable = is this buffer drainable,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user