Skip to content

Machine Components

Frinn38 edited this page Mar 14, 2021 · 3 revisions

Machine Components

Machine Components are what allow the machine to use the differents systems the game provide.

There is actually 3 Machine Components such as custommachinery:item, custommachinery:fluid and custommachinery:energy.

These components must be defined in the machine json, there is no limit to how many components you can add.

Example :

"components": [ { //First component }, { //Second component } ]

The components array must be present otherwise the machine will not load but you can leave it empty if you don't want any components in your machine.

Each component have various properties that must be defined in json but all components must have a type property that define the type of component you want to use here.

Clone this wiki locally