𧩠Function Calls¢
FiltersΒΆ
See all here Filters function calls
Item transportationΒΆ
#itemio:calls/input
A function that insert an item in a container.
Inputs
Input Name |
Input Type |
Input Source |
Input Objective/Path |
---|---|---|---|
The selected container |
Position |
||
The item to input in the container |
storage |
input |
itemio:io |
The input side : |
storage |
input_side |
itemio:io |
Outputs
Output Name |
Output Type |
Output Source |
Output Objective/Path |
---|---|---|---|
Success of the function : |
score |
#success_input |
itemio.io |
The number to remove from the input |
score |
#count_to_remove |
itemio.io |
Whatβs left of the input |
storage |
output |
itemio:io |
To apply an input from the source (a player, a container ect) you can use this item modifier :
[
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:score",
"target": {
"type": "minecraft:fixed",
"name": "#count_to_remove"
},
"score": "itemio.io",
"scale": -1
},
"add": true
}
]
#itemio:calls/output
A function that extract an item from a container.
Inputs
Input Name |
Input Type |
Input Source |
Input Objective/Path |
---|---|---|---|
The selected container |
Position |
||
The maximum amount of extracted item. |
score |
#max_output_count |
itemio.io |
The output side : |
storage |
output_side |
itemio:io |
Optional, it will do a full NBT check |
storage |
input |
itemio:io |
Optional, it will do a filters check |
storage |
filters |
itemio:io |
Outputs
Output Name |
Output Type |
Output Source |
Output Objective/Path |
---|---|---|---|
Success of the function : |
score |
#success_output |
itemio.io |
The item that as been extract |
storage |
output |
itemio:io |
#itemio:calls/transfer
A function that transfer items from a container to multiple ones
Inputs
Input Name |
Input Type |
Input Source |
Input Objective/Path |
---|---|---|---|
All inputs from |
|||
Positions of others containers |
Marker entities |
All markers have :
data.itemio.input_side
:"north", "south", "east", "west", "top", "bottom", "wireless"
(wireless bypass the side check)data.itemio.ioconfig.filters
: filtersdata.itemio.ioconfig.inputs
: A list of multiple items (NBTMatch ORed)
Outputs
Output Name |
Output Type |
Output Source |
Output Objective/Path |
---|---|---|---|
Success of the function : |
score |
#success_transfer |
itemio.io |
Ignored items
All items matching <item>.components."minecraft:custom_data".itemio.gui: 1b
, will be ignored by ItemIO.