-
Notifications
You must be signed in to change notification settings - Fork 17
Energy Component
This is the component that let your machine interact with the Forge Energy system, it is compatible with most modern mods (IC2 excluded) so any mods that use FE or RF will be able to insert or extract energy to and from your machine.
Energy component is defined as a unique machine component, meaning that you can only have 1 per machine.
If you try to define more than 1 energy component only the first will be used.
Energy component is defined with "type": "custommachinery:energy"
in the json.
Description : An integer that represent the amount of energy the machine can store.
Example : "capacity": 10000
The machine will be able to store 10000FE.
Description : An integer that represent the max FE that can be input in the machine during a single tick.
Default : The capacity
of the machine.
Example : "maxInput": 1000
The machine can accept 1000FE/tick.
Description : An integer that represent the max FE that can be output in the machine during a single tick.
Default : The capacity
of the machine.
Example : "maxOutput": 1000
The machine can give 1000FE/tick.
An example of an Energy Component that will allow the machine to store 100000FE, input 1000FE and output 666FE.
{
"type": "custommachinery:energy",
"capacity": 100000,
"maxInput": 1000,
"maxOutput": 666
}
You just have to put that in the components
array in the machine json.
The energy generated/consumed by a recipe is not counted in the maxInput/maxOutput value and will bypass it.
Only energy inserted/extracted by a cable or another machine will be counted.
3. Machine GUI
- Dump Element
- Energy Element
- Fluid Element
- Fuel Element
- Player Inventory Element
- Progress Bar Element
- Reset Element
- Slot Element
- Status Element
- Text Element
- Texture Element
5. Catalysts
- Biome Requirement
- Block Requirement
- Command Requirement
- Dimension Requirement
- Drop Requirement
- Durability Requirement
- Effect Requirement
- Energy Requirement
- Energy Per Tick Requirement
- Entity Requirement
- Fluid Requirement
- Fluid Per Tick Requirement
- Fuel Requirement
- Item Requirement
- Light Requirement
- Loot Table Requirement
- Position Requirement
- Structure Requirement
- Redstone Requirement
- Time Requirement
- Weather Requirement