Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Announcements

I (Dries007) have recently taken over as main developer and server admin. This involved moving servers to reduce cost. It's likely there will be some more downtime in the future but most things should be sorted by now. This forum is in dire need of replacement as the software is quite old and can't be easily updated. If you wish to discuss or stay updated, join our discord: https://invite.gg/terrafirmacraft. The forum will remain available to read, but will be locked in the future, when a new system is setup. The forum and wiki are now ad free. If you'd like to contribute to keeping it that way, you can do so via paypal or patreon.

The above xml compatibility file can be included in any modpack. You do not need to ask for permission. If required to show proof of permission for using the above file, simply link this post.

Because of the added crafting and quiver slots, there are some known issues regarding the use of sorting the inventory actually on a player (The one you access by pressing your Inventory key, Default: E) when using any version after and including 0.78.0

For more information on how to edit your config files to account for these issues, please see my below post:

I've done a bit of messing around with the InvTweaksRules.txt config file to help you understand the current issue with sorting the actual player inventory. This still won't fix the auto-refill of items going to the wrong slot, but it is at least a solution for actually pressing the button to sort. It should also be noted that there is no reason to turn on "Repair-friendly Refill" since the majority of TFC items and tools cannot be repaired by crafting them together.

So, when you first load the config file, you'll see a diagram mapping the different slots that looks like this:

While playing TFC 0.78.+, the actual mapping of the slots is this:

[XX] represents slots that cannot have any rules assigned to them, and therefore any items in those slots will not be affected by inventory sorting. This means items won't be taken out of those slots, and items will not be put in those slots, no matter what you do.

It is important to note that slots D4 - D8 are the extra slots in the 3x3 crafting grid that are unlocked upon creation of a crafting table. While this can be handy to use for quick adding of items to the grid on inventory sort (like putting a knife in D7 and food in D8 for quick removal of decay), it is STRONGLY recommended that these slots are set to LOCKED to account for the fact that these slots are not accessible when the player only has a 2x2 crafting grid available. While these slots are greyed out, the actual location of the slot is extremely far off screen as a "dummy slot."

For Example: If the config file has been set to "D4 stick" and the player has crafted a crafting table, unlocking the entire 3x3 grid, pressing the sort button will put any sticks in the inventory into the bottom left corner of the crafting grid. However, if the player has not crafted a crafting table, or has died and has not yet crafted a new one, they have no way to access any items located in D4. If they press the sort button the sticks which would normally go to that slot in the first scenario would seem to disappear from the player's inventory. The only way to get back these "removed" items is to make a crafting table and sort the inventory again, or to change the config file so that the specific item sorts into a different, accessible slot.

You will also notice that D9 is missing. This is because the location of D9 is actually the quiver slot located on the player, which will only accept quivers. Because of this, D9 should always be set to LOCKED, unless you have added the quiver to the rule tree, or know the ID number of the quiver on your save. If any other item is assigned to this slot, it will simply sort into the first available open slot starting with A1.

For me personally, one of the biggest features of the sort that I like to use is the locking of the items in the hotbar, while sorting the rest of the inventory using the default settings. Prior to 78, this was simply done by using the setting D LOCKED. In order for this to work in 78.+, as well as using the aforementioned recommended settings for slots D4-D9, the settings should be set to

This way the items in the hotbar will be locked into position while sorting, and there is no worry of there being any issues with the quiver slot, or the extra crafting grid slots. The only slots that will be affected when pressing the sort button is the last 3 of the top row, and the entirety of the middle and bottom row of the standard inventory.

One final thing to keep in mind is that the drawing of rectangles while setting rules will still select slots as if they are in the original, vanilla configuration. This means that a rule of B1-C4 will apply to these slots since they are the new locations of the slots contained in the rectangle drawn using the old layout:

While your favorite configuration might have to be altered slightly to account for the fact that the first 6 slots of the top row have to be sorted manually, I hope that this information will help at least somewhat to getting back to what you are used to when using Inventory Tweaks.

Share on other sites

Share this post

Link to post

Share on other sites

What does this acutally fix? I've got a problem in which my tools get arranged into the middle of my inventory and pottery always gets priorty on hotbar, this due to weight changes? in that you can only hold so much of a type of item, so that all the inventory got changed and the hotbar isnt recongnised as a hotbar? or some suchWhen arranging inventory with a chest open it does what its supposed to do with arranging a players inventory, its just when you have your inventory open with no chest it takes tools and most items off the hotbar

Share this post

Link to post

Share on other sites

What does this acutally fix? I've got a problem in which my tools get arranged into the middle of my inventory and pottery always gets priorty on hotbar, this due to weight changes? in that you can only hold so much of a type of item, so that all the inventory got changed and the hotbar isnt recongnised as a hotbar? or some suchWhen arranging inventory with a chest open it does what its supposed to do with arranging a players inventory, its just when you have your inventory open with no chest it takes tools and most items off the hotbar

This fix was written for 77.22, and was meant to fix TFC's containers such as chests being unsortable.

The reason your inventory sort is screwy when you're just looking at your inventory and not in another container is because of the way that TFC has overhauled the players inventory in 78+, including the extra armor slot as well as the crafting grid slots that disable/enable themselves depending on if the player has made a crafting table.

Share this post

Link to post

Share on other sites

Yeah, the indexes are off due to the crafting grid slots and the quiver slot. There isn't much that can be done now, since we've moved forward to working on 79 and won't be releasing anymore 78 hotfixes unless there is something major that needs fixing. It's just much easier for us to make the fixes to 79 and keep moving forward, instead of trying to fix them on 78 and port forward, or fix on 79 and try and port backwards.

I will make a note to look into this later on the 79 branch, since we were thinking about adding some of the Inventory Tweaks API into the mod for easier compatibility anyways.

0

Share this post

Link to post

Share on other sites

But as long as I don't try to auto-sort my inventory, it should work fine, right? Inventory sort is usually the first thing I disable in Inventory Tweaks anyway, I have my own sense of orderliness and can't stand a mod messing with it I mainly want it to be able to sort chests, and for the item moving improvements (move all of a type at once etc.)

On that note, how's compatibility with NEI looking nowadays? I really, really, really miss the ability to transfer items with the mousewheel whenever I am forced to play without NEI. If I could just have that function and play without crashes, even if the item list was completely broken and there was no recipe guide support, I would be perfectly happy

Share this post

Link to post

Share on other sites

I've done a bit of messing around with the InvTweaksRules.txt config file to help you understand the current issue with sorting the actual player inventory. This still won't fix the auto-refill of items going to the wrong slot, but it is at least a solution for actually pressing the button to sort. It should also be noted that there is no reason to turn on "Repair-friendly Refill" since the majority of TFC items and tools cannot be repaired by crafting them together.

So, when you first load the config file, you'll see a diagram mapping the different slots that looks like this:

[XX] represents slots that cannot have any rules assigned to them, and therefore any items in those slots will not be affected by inventory sorting. This means items won't be taken out of those slots, and items will not be put in those slots, no matter what you do.

It is important to note that slots D4 - D8 are the extra slots in the 3x3 crafting grid that are unlocked upon creation of a crafting table. While this can be handy to use for quick adding of items to the grid on inventory sort (like putting a knife in D7 and food in D8 for quick removal of decay), it is STRONGLY recommended that these slots are set to LOCKED to account for the fact that these slots are not accessible when the player only has a 2x2 crafting grid available. While these slots are greyed out, the actual location of the slot is extremely far off screen as a "dummy slot."

For Example: If the config file has been set to "D4 stick" and the player has crafted a crafting table, unlocking the entire 3x3 grid, pressing the sort button will put any sticks in the inventory into the bottom left corner of the crafting grid. However, if the player has not crafted a crafting table, or has died and has not yet crafted a new one, they have no way to access any items located in D4. If they press the sort button the sticks which would normally go to that slot in the first scenario would seem to disappear from the player's inventory. The only way to get back these "removed" items is to make a crafting table and sort the inventory again, or to change the config file so that the specific item sorts into a different, accessible slot.

You will also notice that D9 is missing. This is because the location of D9 is actually the quiver slot located on the player, which will only accept quivers. Because of this, D9 should always be set to LOCKED, unless you have added the quiver to the rule tree, or know the ID number of the quiver on your save. If any other item is assigned to this slot, it will simply sort into the first available open slot starting with A1.

For me personally, one of the biggest features of the sort that I like to use is the locking of the items in the hotbar, while sorting the rest of the inventory using the default settings. Prior to 78, this was simply done by using the setting D LOCKED. In order for this to work in 78.+, as well as using the aforementioned recommended settings for slots D4-D9, the settings should be set to

C4-C9 LOCKEDD LOCKED

This way the items in the hotbar will be locked into position while sorting, and there is no worry of there being any issues with the quiver slot, or the extra crafting grid slots. The only slots that will be affected when pressing the sort button is the last 3 of the top row, and the entirety of the middle and bottom row of the standard inventory.

One final thing to keep in mind is that the drawing of rectangles while setting rules will still select slots as if they are in the original, vanilla configuration. This means that a rule of B1-C4 will apply to these slots since they are the new locations of the slots contained in the rectangle drawn using the old layout:

While your favorite configuration might have to be altered slightly to account for the fact that the first 6 slots of the top row have to be sorted manually, I hope that this information will help at least somewhat to getting back to what you are used to when using Inventory Tweaks.

Share this post

Link to post

Share on other sites

Version 79.8 all terrafirmacraft chests seem to be unrecognised by inventory tweaks, I am looking in the config to see if you can add them somehow but nothing so far to imply it can happen. Character Inventory sorting is still buggy but this is expected.

Share this post

Link to post

Share on other sites

As of 79.10 chests are recognized (they have the [...] button in the top right) but not sorting modes buttons, dunno how to enable them.

I missed a few things updating the file apparently. Unfortunately in fixing what I missed, I noticed a few weird bugs with chests that I've contacted the InvTweaks dev about. For now, an updated file has been put in the OP, and you will be able to access the different sort modes in a chest by repeatedly pressing the sort key, but all four (normal + 3 modes) buttons will be missing on the chest UI.

0

Share this post

Link to post

Share on other sites

I missed a few things updating the file apparently. Unfortunately in fixing what I missed, I noticed a few weird bugs with chests that I've contacted the InvTweaks dev about. For now, an updated file has been put in the OP, and you will be able to access the different sort modes in a chest by repeatedly pressing the sort key, but all four (normal + 3 modes) buttons will be missing on the chest UI.