Skip to content

Lizard-Of-Oz/Inventorio

 
 

Repository files navigation

Inventorio - An inventory enhancement mod for Minecraft (Forge / Fabric)

Showcase Video

Video Demonstration

About

This is my vision of the Inventory Update for Minecraft. Of features I believe are in line with Mojang's vision and could be potentially added to the game.

Available for both Forge and Fabric.

This mod is in the maintenance mode.

It will receive ports to the latest versions of MC for the foreseeable future, but I have no time available to make a new version or improve compatibility with other mods.

If you want to thank me for this mod and support the ongoing maintenance, you can do it on Boosty or Patreon.

Support me

Every dollar counts and allows me to spend more time making future projects for your enjoyment.

Installation

Grab the jar file from the Release page.

You can also find this mod on CurseForge: Fabric and Forge

Copy the jar file into %root_folder%/mods/ alongside other mods.

Dependencies

Dependencies for Fabric:

Dependencies for Forge:

Features

Features

Toolbelt

Instead of taking space in the Hotbar, tools are now stored in their own place. When you mine a block, a correct tool gets passively applied from the said Toolbelt.

  • Mending will mend tools in the Toolbelt before going into player's XP bar
  • Axe will be used as a melee weapon in the sword slot is empty
  • Hoe Toolbelt slot accepts shears. Sword Toolbelt slot accepts Trident.
  • Toolbelt slots accept modded tools as long as they inherit from vanilla tool classes.

Utility Belt

An Offhand replacement with a dedicated hotbar of 4 slots that can be scrolled through independently, and which skips the empty slots. You can use the selected Utility independently, which allows you to akimbo two types of blocks or two types of usable items.

Deep Pockets Enchantment

Each level of this enchantment adds an additional row to your inventory, up to 3 at max level. In addition, the first level adds 4 extra slots to the Utility Belt (from 4 to 8)

The Enchanted Book can be crafted from 2 shulker shells and a book, as well as traded from villagers or found in treasure chests.

Crafting Recipe: 2 Shulker Shells + Book

Increased Ender Chest Capacity

The capacity of the Ender Chest has been doubled. This can be disabled in the server-wide config, but you need to distribute the said config to all players if you edit it.

Infinity Bow Requires No Arrow

This mod fixes a Vanilla bug when you need an arrow to use the Infinity Bow.

Totems of Undying activate from the Utility Belt

Instead of being permanently stuck in the offhand, it will go off from any of 4 (8 with Deep Pockets) Utility Belt slots.

Player Settings

Segmented Hotbar

Accessing slots after 5 with a keyboard might be cumbersome because the keys are just too far away. This feature makes the first keystroke select a section, and the second keystroke will select an item inside that section.

There's a "Visual Only" option that keeps the default selection schema.

Firework Rocket Boost Button

A dedicated button to fire a boost rocket directly from your inventory while flying. Can be co-bound to Jump.

Trident Loyalty Check

This option prevents you from throwing a Trident without Loyalty.

"Use Item" Applies To Offhand

The original idea was to bind each hand to its own dedicated button, but some people found it confusing, and this option restores the vanilla behavior of vanilla "Use Item", while "Use Utility" applies only to the Utility Belt / Offhand.

Skip Empty Utility Slots

By default, scrolling and displaying the Utility Belt skips the empty slots, but you can set this behavior to false. There's also a keybind (not bound by default) that allows to scroll to the first empty Utility Belt slot.

Rebind Scroll Wheel to the Utility Belt

You can rebind the Scroll Wheel to scroll through the Utility Belt, while using the number keys to chose from the Hotbar slots.

Dark Inventorio Player UI

Compatibility with dark theme mods and resource packs.

Swapped Hands

This option allows to assign the vanilla Hotbar to your Offhand, and the Utility Belt to your Main Hand.

image

Global Settings

To improve mod compatibility, some features can be disabled on a game-wide level for all players.

Global settings can be accessed by a keybind (only in a single player world) or directly at %root_folder%/config/inventorio_shared.json.

Joining a server (either dedicated or hosted from another client) with mismatching global settings will prompt a request to sync your settings and restart the game, but sharing the config beforehand is recommended.

  • ExpandedEnderChest (default: true) - when set to false, disables mixins responsible for increasing Ender Chest capacity.

  • InfinityBowNeedsNoArrow (default: true) - when set to false, disables mixins responsible for Infinity Bow requiring no arrows.

  • TotemFromUtilityBelt (default: true) - when set to false, disables mixins responsible for Totem of Undying going off from any Utility Belt slot.

  • AllowSwappedHands (default: true) - when set to false, removes the option to Swap Hands.

  • ToolBeltMode (default: ENABLED) - Allows to disable the Toolbelt a)completely b)allow only the Toolbelt slots added by other mods

  • UtilityBeltShortDefaultSize (default: true) - By default, the Deep Pockets Enchantment increases the Utility Belt capacity from 4 to 8. When set to false, the full capacity is given unconditionally.

  • DeepPocketsBookCraft (default: true) - Can a Deep Pockets Book be crafted

  • DeepPocketsInTrades (default: true) - Can a Deep Pockets Book be obtained in a villager trade

  • DeepPocketsInRandomSelection (default: true) - Can a Deep Pockets Book be obtained in random selection (Enchanting Table and mob loot)

Use in modpacks and with other mods

You can include this mod in a modpack or as a dependency for your own mod.

I just ask you to respect my work and include it in a way that would count as a download of my mod by CurseForge and its Reward Program.

  • For Modpacks, CurseForge by default links a mod in the modpack manifest when you add it. Use that instead of embedding the mod's jar into the modpack.
  • For Mods, don't embed the mod's jar inside your mod, but mark it as a dependency.

If you want to use this mode as a dependency, I recommend using CurseMaven.

Something might be in the works, so, I wouldn't recommend to depend on this mod too much just yet.

Be advised that you need to manually keep track of the latest version available.

repositories {
  maven {
    url "https://cursemaven.com"
    content {
      includeGroup "curse.maven"
    }
  }
}

dependencies {
  modCompileOnly "curse.maven:inventorio-491073:4619078" //Fabric
  modCompileOnly "curse.maven:inventorio-497122:4619077" //Forge
}

Addon Slots, Toolbelt & Item Tags

InventorioAPI allows your mod to add custom Toolbelt slots and add custom allowing and disallowing tags and conditions to toolbelt slots, including existing ones.

Note: when working with the Toolbelt, please consider that its size may vary depending on the mods and settings installed.
Don't assume any particular size of the Toolbelt or the slot order across multiple play sessions. ToolBelt size is the same for all players within the same play session.
Slot indices of the Deep Pockets and the Utility Belt are persistent.

Please use InventorioAPI#findFittingToolBeltStack to find a Toolbelt slot that can accept an item and don't assume any persistent index.


By default, any tool inheriting its Java class from a vanilla tool (e.g. PickaxeItem.java) will be accepted by a corresponding slot.

Any tool with an item tag inventorio:%item_type% will be accepted by a corresponding slot.

You can blacklist a tool from the Toolbelt slot by adding giving it a tag inventorio:%item_type%_blacklist.

In Forge, a slot accepts any item with a corresponding ToolType.

In Fabric, fabric:%item_type% item tag is accepted by a corresponding slot.

Any custom filters and tags can be added via InventorioAPI

Note: %item_type% is always spelled in plural. Available item types: pickaxes, swords, axes, shovels, hoes.

Note: Please ignore InventorioModIntegration and ModIntegration - they're intended for INVENTORIO to integrate with other mods, NOT for other mods to integrate with Inventorio.

About

Lizard made a mod. Then years later transferred it to RubixDev. This is how it was before the transfer.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 75.7%
  • Java 24.3%