Item component
Add an item slot inside the machine.
This is the component that let your machine interact with items, basically it add an inventory to your machine.
Each Item Component add 1 slot to the machine inventory and each slot can held 1 stack of item but you can add as many components as you want.
Item Component must be defined by "type": "custommachinery:item".
Properties
The item component has 2 mandatory properties and 6 optional properties.
Mandatory properties
"type": "custommachinery:item" //Mandatory to define an item component.
Optional properties
ConfigExample
A basic input slot
{
"type": "custommachinery:item",
"id": "input",
"mode": "input"
}
A Fuel slot that will accept only coal and charcoal (for a furnace for example)
{
"type": "custommachinery:item",
"id": "fuel",
"filter": ["minecraft:coal", "minecraft:charcoal"],
"whitelist": true,
"mode": "input",
"variant": "custommachinery:fuel"
}
Last updated