tModLoader

tModLoader

Naka's Inventory Tweaks
177 Comments
Angel_Enriq 15 Jul @ 8:38am 
sigue sin funciona bien con el magic storage :steamsad::pickax:
Godslayer4000 7 Jul @ 2:39pm 
if its not crashing your magic storage is likely out of date (or you dont use magic storage you masochist.)
filipvadan 7 Jul @ 6:51am 
It didn't crash when I tried it, so I guess...
Gun_gaming 4 Jul @ 10:26pm 
I don't mean to sound impatient but has the problem been resolved?
naka  [author] 28 Jun @ 12:38pm 
Apparently Magic Storage has recently published a breaking update. This is a high priority issue and will be solved ASAP
Angel_Enriq 27 Jun @ 6:01pm 
error
edgames202 26 Jun @ 1:23pm 
actualicen porfaaaaaaaa, lo necesitoooooo jaja
Nero 24 Jun @ 11:10pm 
@naka Hello, this mod encountered an error:

Error occurred while loading the mod: InventoryTweaks v1.3
This mod was developed for tModLoader v2025.3.3.1,
but you are currently using tModLoader v2025.4.3.0.
(Version mismatch may not necessarily be the cause of the error.)
The mod has been automatically disabled.
This error was caused by the class:
inventoryTweaks.Common.Compatibility.MagicStorageHooks.


Can you fix it? This mod is very useful
MagnaCharge 23 Jun @ 7:20am 
@54 the problem seems to be with a magic storage update that released today, as it works fine without the mod
54 23 Jun @ 3:54am 
Stopped working :steamsad:

[12:53:42.092] [.NET TP Worker/INFO] [tML]: Disabling Mod: InventoryTweaks
[12:53:42.092] [.NET TP Worker/ERROR] [tML]: An error occurred while loading InventoryTweaks v1.3
It has been detected that this mod was built for tModLoader v2025.3.3.1
However, you are using tModLoader v2025.4.3.0
The mod(s) and any dependencies have been automatically disabled.
This error was caused by the "InventoryTweaks.Common.Compatibility.MagicStorageHooks" class.
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at MonoMod.Utils.Helpers.ThrowArgumentNull(String argName) in /_/src/MonoMod.Utils/Helpers.cs:line 139
at MonoMod.RuntimeDetour.Hook..ctor(MethodBase source, MethodInfo target, Object targetObject, IDetourFactory factory, DetourConfig config, Boolean applyByDefault) in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/Hook.cs:line 553
Barzen 8 Jun @ 8:48am 
Hi naka,
as my described issue still persists (quite molesting during mod testing and frequent reloading), I took the time to investigate it (thumbs up for including the source code in your build <3 )
So to fix it you simply have to add
"if (Keybind is null || Config is null) return;"
in ItemRefillSystem.cs:

public override void PostUpdateInput()
{
base.PostUpdateInput();

>>>>>> HERE <<<<<<

if (!Keybind.JustPressed || !Config.EnableMouseRefill)
{
return;
}

RefillMouseItem();
}
naka  [author] 30 May @ 10:51pm 
As for the bug with item refills, it would be nice if you could provide the logs and footage!
naka  [author] 30 May @ 10:50pm 
The issue with item swaps have been fixed a long time ago, I'd recommend checking if your version of the mod is updated, or if this isn't caused by another mod.
粘性 29 May @ 12:55pm 
Items swap seemingly every tick/frame when using RMB trying to swap armour pieces, accessories, mine carts and pets from the inventory as well as treasure bags. Currently not the biggest issue as I don't hot swap with RMB too much anyway, but does get frustrating.
savefile 28 May @ 7:49pm 
I would guess its related to the update you did for item refill+storage items. I turned item refill off in the config and it seemed to go away. just wanted to let you know to help. great mod thanks for your work.
savefile 28 May @ 7:31pm 
Bug: While in a storage item inventory (piggy bank,safe,defender forge, void vault) if you have a single placeable item in the storage slot, and then try to place it on the ground directly from there. The item will duplicate, a copy remains in your hand even though it was placed. I have the error log if needed.
naka  [author] 21 May @ 5:05pm 
Also yes I did, because as a matter of fact there are 3 new mods that I plan on releasing this month still hopefully:

- Naka's Camera Tweaks
- Naka's Visual Tweaks
- Naka's Ambience Tweaks

And sometime soon, probably not this month unlike the other ones:

- Naka's Emojis

Previously known as Emojiverse.
naka  [author] 21 May @ 5:04pm 
v1.3 is out!

- Open containers such as chests, void vaults, safes and piggy banks are now included in item refills
- Adds documentation to the entirety of the mod's source
Adolf Charles 21 May @ 12:49pm 
you didnt need to delete aurora
naka  [author] 15 May @ 6:07am 
v1.2.2 is out!

- Cleans the source code, making it more intuitive for developers
- Fixes certain configuration entries not doing anything
naka  [author] 13 May @ 7:31am 
Magic Storage issues were included in an old version, which have already been fixed in the latest release.

As for Vanilla Plus QoL compatibility, it's entirely up to the developers to make proper use of item slots. Doing so would automatically ensure the mod is compatible with Inventory Tweaks. Magic Storage was one of the exceptions because the issues were NOT related to how either mods execute their logic, but instead how Terraria handled it.
UnrealHerahshark 9 Feb @ 9:50am 
I'm having a problem with this and Magic Storage - whenever I open the storage crafting it'll sorta bug out and the last selected/crafted item will visually appear about halfway in-between the crafting output slot and the actual slot the item is in. Is this intended, or...?
Little Gyro 18 Jan @ 5:40am 
Vanilla Plus QOL compatibility?
Venomous Scrimbly 12 Jan @ 2:54pm 
Alright, that's pretty much the answer I was expecting. I have no idea why the visual's aren't working for me without that mod; Thankfully though, the Better Inventory mod's at least highly configurable, so it should rarely be a big deal.
naka  [author] 12 Jan @ 9:33am 
The visuals of the mod should work fine by itself.
Venomous Scrimbly 11 Jan @ 11:34am 
Is the visual part of the mod only supposed to work when you're using the Better Inventory mod made by Spiky or is that some weird unintentional behavior I'm having?
Barzen 11 Jan @ 10:50am 
You have to copy the link directly to the browser.
The important text for you is: lnventoryTweaks.Core.Tweaks.MouseltemRefillSystem.PostUpdatelnput() Line 17
naka  [author] 11 Jan @ 6:02am 
Thats weird, but thanks for the report! I can't access the image, but I'll try reproducing it on my end.
Barzen 11 Jan @ 12:51am 
Hi naka!
while working on another mod I noticed that during reloading mods your MousItemRefillSystem throws an exception (https://i.imgur.com/zPy2jj5.png) .
It still works flawlessly ingame. Just wanted to let you know, so you maybe can have a look.
Thanks for the awesome mod! :-)
naka  [author] 24 Dec, 2024 @ 1:12pm 
You should probably consider checking what mods you have enabled. I've had different reports of people claiming for the mod to do that, while others say it works just fine, so, one can only think it's because of another mod.
King 24 Dec, 2024 @ 7:02am 
for some reason this mod makes right click swap speed absolutely ridiculously high? it swaps items like 6 times per right click?
Tyler 23 Dec, 2024 @ 7:59pm 
Beautiful mod. Could you add a Quick-Alt action the same as with Shift. Also in my opinion it would be cool to do something with the display of the number of items because when the value of 9999 sometimes this value overlaps the sprite of the item(can lower or resize)..
Sepulchre 14 Dec, 2024 @ 1:14pm 
"Again, all of those issues were fixed in v1.2. I'd recommend checking your mod is updated" In version 1.2.1 and it is still broken and switched them rapidly
naka  [author] 10 Dec, 2024 @ 6:11pm 
v1.2.1 is out!

- Removes item distribution
naka  [author] 10 Dec, 2024 @ 6:09pm 
"rmb still works bad, the half stack type doesnt work at all with items stacked less than 4 and it doesnt take exatly half, for example it takes 49 and 51 from 100, and the default stack type works bad i think because of distribution"

Same for this.
naka  [author] 10 Dec, 2024 @ 6:08pm 
"Love the mod, but there are some issues which prevent me from properly using it. If you have a cell phone or a shell phone in your inventory, holding down right click on it cycles through all the teleport options rapidly every frame instead of one by one. Even trying to only right click seems to still cycle through teleport options really quickly unless you are snapy with your right clicks. This also applies when trying to swap armor pieces, accessories, minecarts and pets from the inventory as well as opening treasure bags. Hope this gets resolved soon. "

Again, all of those issues were fixed in v1.2. I'd recommend checking your mod is updated.
Churkitector 9 Dec, 2024 @ 7:52pm 
Yea, I didn't even know about it before you change the description
naka  [author] 9 Dec, 2024 @ 4:21pm 
I've been thinking of removing item distribution. It sure is a cool feature, but nonetheless just not very useful for a game like Terraria. In Minecraft it makes sense because it's essential for crafting, but in Terraria it has 0 purpose.

Let me know what y'all think of this.
SaitamaSRB 9 Dec, 2024 @ 2:27pm 
Love the mod, but there are some issues which prevent me from properly using it. If you have a cell phone or a shell phone in your inventory, holding down right click on it cycles through all the teleport options rapidly every frame instead of one by one. Even trying to only right click seems to still cycle through teleport options really quickly unless you are snapy with your right clicks. This also applies when trying to swap armor pieces, accessories, minecarts and pets from the inventory as well as opening treasure bags. Hope this gets resolved soon.
Sparta 9 Dec, 2024 @ 9:15am 
"Sounds pretty good actually, maybe different stack types for LMB and RMB?"

Yeah, I think that could work nicely!
Churkitector 9 Dec, 2024 @ 8:24am 
rmb still works bad, the half stack type doesnt work at all with items stacked less than 4 and it doesnt take exatly half, for example it takes 49 and 51 from 100, and the default stack type works bad i think because of distribution
GoatHead 9 Dec, 2024 @ 7:23am 
jolly good. i love this mod.
naka  [author] 8 Dec, 2024 @ 11:19pm 
v1.2 is out!

- Adds localization entries for all configuration entries
- Adds different sorting types for item stack refills
- Fixes item distribution configuration entry not working
naka  [author] 8 Dec, 2024 @ 9:38pm 
All of the issues you pointed out were already fixed. I'd recommend updating the mod.
GoatHead 8 Dec, 2024 @ 6:59pm 
There are a lot of visual bugs. Such as items being halfway between their main slot and the magic storage slot, items disappearing from their main slot, that sort of jazz. Also, when you right click an item in the shop, it says "False" in the chat, and it makes it a stack of 2, which is just a visual bug, but unless you're buying the item in bulk, it makes it tough to but just a single of an item.
naka  [author] 8 Dec, 2024 @ 4:35pm 
Sounds pretty good actually, maybe different stack types for LMB and RMB?
Sparta 8 Dec, 2024 @ 6:04am 
Great mod! It's a must have! Would it be possible to add an option to take half a stack only when holding shift? That way you can take a precise amount without having to change the config all the time!
naka  [author] 7 Dec, 2024 @ 2:40pm 
v1.1.5 is out!

* Adds more configuration options for hover effects
naka  [author] 7 Dec, 2024 @ 2:10pm 
v1.1.4 is out!

- Fixes RMB issues with stacks
judelancaster10 7 Dec, 2024 @ 6:54am 
Absolutely loving the compatibility with magic storage. this is definitely one of the best visual tweak mods