An inventory system with a focus on cohesion.
Iri al dosiero
Jaidyn Ann 4c8688190a Add setting for inventory-size (i4_inventory_size)
Also removes the “legacy inventory” user-setting,
and defaults to 32 for inventory size.
I feel that the individual players shouldn’t be
able to tweak their inventory-size, that’s a
server-level sort of setting.
2024-01-15 12:52:18 -06:00
.res Add conversion mod to transfer data from i3→14 2024-01-12 13:18:10 -06:00
i3 Add setting for inventory-size (i4_inventory_size) 2024-01-15 12:52:18 -06:00
i4 Add setting for inventory-size (i4_inventory_size) 2024-01-15 12:52:18 -06:00
.editorconfig Add .editorconfig 2021-07-05 03:32:31 +02:00
.gitignore Initial commit 2020-12-30 20:53:09 +01:00
.luacheckrc Add API to manage waypoints 2023-01-07 12:47:45 +01:00
API.md Update source URL 2024-01-12 14:15:57 -06:00
LICENSE.md Reformat licensing information 2024-01-12 12:52:30 -06:00
README.md Add setting for inventory-size (i4_inventory_size) 2024-01-15 12:52:18 -06:00
modpack.conf Add conversion mod to transfer data from i3→14 2024-01-12 13:18:10 -06:00
settingtypes.txt Add setting for inventory-size (i4_inventory_size) 2024-01-15 12:52:18 -06:00

i4

A screenshot of Minetest displaying i3’s inventory.

i4 is an inventory system for Minetest with a focus on cohesion. It is a fork of i3, the “next-generation inventory.” Primary differences to i3 include an extended API, more efficient use of screen-space, and general house-keeping.

This mod requires Minetest 5.6+, as it uses newer additions to the formspec API.

Features

  • Crafting guide
  • Progressive mode
  • Quick-crafting
  • 3D player model real-time preview
  • Isometric map preview
  • Fine-tunable inventory sorting
  • Item list compression (with moreblocks support)
  • Item bookmarks
  • Waypoints
  • Bags
  • Home (built-in or minetest_games sethome)

Officially-supported mods

These mods have menus built-into i4:

Configuration

There is currently two minetest.conf settings used by i4:

  • i4_progressive_mode = false — A discovery-based system, where the crafting guide only displays recipes whose components you have held before.
  • i4_inventory_size = 32 — Players inventory-size. Defaults to 32 (or 36, if i3 was previously in use). Only accepted values are 32 and 36.

Notes

i4 uses a larger inventory than the usual inventories in Minetest games. Thus, most chests will be unadapted to this inventory size. The i4 inventory is 9 slots wide by default, such as Minecraft.

Please report bugs on the bug tracker — I dont bite!

Recommendations

To use this mod in the best conditions:

  • Use LuaJIT
  • Use the default Freetype font style

Troubleshooting

If the inventorys font size is too big on certain setups (namely Windows 10/11 or 144 DPI display), you should lower the value of the setting display_density_factor in your minetest.conf. Note that the change is applied after restart.

You can also use the font size slider in the inventory, settings window.

Source code

https://notabug.org/jadedctrl/minetest_i4

Sounds are under the CC0, by Lone_Wolf & MadPanCake.
Textures are under the CC BY-SA 3.0, by paramat & BlockMen.
Source code for i4 is under the GNU GPLv3, with contributions by Jaidyn Ann <jadedctrl@posteo.at>.
Code from i3 is under the MIT license, and is by Jean-Patrick Guerrero (with contributions by SmallJoker & anonymous).

See LICENSE.md for details.