
KJ's Inventory Generators
Generators that make FE are now in your inventory!
- Загрузки
- 975
- Подписчики
- 1
- Обновлён
- 27 апреля 2025 г.
- Лицензия
- MIT
Опубликован 24 апреля 2025 г.
This mod adds (currently) 13 different generators which can be used entirely from your inventory. When right-clicking, these items open a GUI within which you can place fuel to generate energy. With this generated energy you can charge other items within your inventory (or curios slots) such as jetpacks. You can toggle between a generator being on and off by sneak right-clicking and toggle between charging and non-charging mode by pressing the change mode key while holding the generator (default M).
The mod also comes with data pack support for modifying generator fuel recipes. This allows you to modify the fuels a generator accepts and how much energy those fuels will generate within the generator.
Example: Within the mod's own recipes we have a file named bone_blocks.json within ~data/inventorygenerators/recipe/death_generator:
{
"type": "inventorygenerators:generator_recipe",
"generator": {
"item": "inventorygenerators:inventory_death_generator"
},
"fuels": [
{
"tag": "c:storage_blocks/bone_meal"
}
],
"burnTime": 400,
"RF": 120
}
The type of all Inventory Generator recipes is inventorygenerators:generator_recipe.
Generator refers to a single ingredient object which matches a generator item within the game.
fuels is a list of ingredient objects which are acceptable fuels within the generator recipe
burnTime refers to how many ticks the fuels should generate energy for
RF refers to how much energy the generator should generate each tick for these fuels
Ченджлог
1.20.1-1.0.3Релиз1.20.1 · 27 апреля 2025 г.
Initial release of Inventory Generators 1.20.1 backport
1.21.1-1.0.3Релиз1.21.1 · 27 апреля 2025 г.
- Attempt to fix issues with changing the slot of the inventory generator while the GUI is open
- Improve handling of buckets/tanks
1.21.1-1.0.1Релиз1.21.1 · 24 апреля 2025 г.
- Fixed Client crash when using change mode keybind when no connection to a server was present
- Fixed Server crash on load
Комментарии
Загружаем…
