KJ's Inventory Generators Mod
This mod adds a total of 13 different generators that can be used directly from your inventory! Simply right-click a generator to open the interface and load fuel to produce energy. The obtained energy can automatically charge other items in inventory and Curios slots - for example, jetpacks.
Generator Controls
Several modes are available for working with generators. By default, they can be switched using the M key:
- Turn generator on/off - Shift + right-click
- Charging mode - while holding the generator, press M
Recipe Configuration via Datapacks
The mod supports recipe configuration through datapacks. This allows changing the types of fuel that generators accept and the amount of energy they produce.
{
"type": "inventorygenerators:generator_recipe",
"generator": {
"item": "inventorygenerators:inventory_death_generator"
},
"fuels": [
{
"tag": "c:storage_blocks/bone_meal"
}
],
"burnTime": 400,
"RF": 120
}
Parameter types:
type: Recipe type (always inventorygenerators:generator_recipe)generator: Generator item in the gamefuels: List of acceptable fuel typesburnTime: Fuel burn time in ticksRF: Energy amount in RF per tick