Skip to content

Latest commit

 

History

History
194 lines (133 loc) · 26.6 KB

README.md

File metadata and controls

194 lines (133 loc) · 26.6 KB

TFC+ Quick Pockets

The TFC+ Addon that tries to simplify and streamline inventory management - one unnecessary click at a time. So that you can focus on playing this incredible game instead of being bogged down by inventory screens.

If you find inventory management tedious, this is for you!

Features

Hotbar Cycling

TFC adds so many great new tools to minecraft, and this is absolutely awesome! However it also means that your hotbar is constantly filled with tools that you have to swap between very often, which brings your momentary experience to a halt.

This mod tackles this issue by allowing you to swap items in your hotbar without ever having to go to your inventory screen. Simply press and hold ALT and a preview window will appear showing you whats in the inventory slots above, and below your hotbar.

While holding ALT you can then SCROLL UP or SCROLL DOWN to swap the items in your hotbar, giving you quick and convenient access to your whole inventory.

Auto-Refill

You're chopping a tree, and your axe suddenly breaks. Aw snap - well thankfully you've come prepared! You have another axe in your inventory just for situations like this. But now you have to open up the inventory menu and swap it into your hand - completely breaking your tree-cutting flow. Not anymore.

With the auto-refill feature enabled, whenever you break a tool, a new one will be placed into your hand - provided you have a backup in your inventory to begin with. This also works for weapons, food, drinks, building blocks, as well as other items like stone flakes, flowers, etc.

Quick Bag Access

Moving items to and from vessels and leather bags can be very tedious, as you first have to open up your inventory, drop the first bag in your hotbar, close the menu, right click on the bag from your hotbar, move the items from the bag to your inventory, then open up your inventory again, move the second bag to the hotbar, right click on the second bag...

With this mod, you can simply RIGHT CLICK on any bag from any inventory screen and the bag will be placed in your hotbar and open right there on the spot. This allows you to swap items in your bag without ever leaving your inventory screen.

Quick Tool Swapping

You want the right tool for the job, but it's not in your hotbar! It's god knows where in your inventory, oh brother. This mod adds hotkeys that allow you to instantly cycle through the tools you want without you ever having to look through your inventory. There's hotkeys for axes, saws, pickaxes, chisels, ...

These hotkeys are not bound to anything by default, but you can bind them yourself in the Controls section of the Options menu, under the Inventory category.

Walk in Inventory

Have you ever found it kind of strange how your character cannot move at all while your inventory screen is open. Well if this ever bothered you before, this mod allows you to run and jump inside of your inventory screen when you hold the SPRINT key. Be free.

Note that it wouldn't make much sense to allow the player to move around while inspecting a chest's inventory, so this feature only works for the player inventory, as well as for container inventories for containers that you can carry around with you, like the small vessel and the leather bag.

Additional Sounds

Minecraft 1.7.10 is oddly quiet, especially compared to the newer versions. There are no bucket sounds, no weapon sounds, not even a chest closing sound. This addon adds these newer sounds back in, along with additional TFC+ specific sounds.

For a full list of added sounds, as well as the volume sliders that control them, expand the list below. Most of these sounds can be toggled on or off on an individual basis from the config menu.

Click to expand.
sound variants when it plays volume slider source
attack-axe 1 2 3 when dealing damage with an axe Players Minecraft
attack-mace 1 2 3 4 when dealing damage with a mace Players Minecraft
attack-sword 1 2 3 4 5 6 7 when dealing damage with a sword Players Minecraft
attack-strong 1 2 3 4 5 when dealing damage with a tool Players Minecraft
attack-weak 1 2 3 4 when dealing damage with anything except the above Players Minecraft
bag-open 1 2 when changing hotbar slots, opening player inventory, or cycling through hotbar rows Players MAtmos
barrel-seal 1 when sealing a barrel Blocks Minecraft
barrel-unseal 1 2 when unsealing a barrel Blocks Minecraft
beehive-close 1 when closing a beehive's inventory Blocks Minecraft
beehive-drip 1 2 3 4 5 6 when taking honey from a beehive Blocks Minecraft
beehive-open 1 when opening a beehive's inventory Blocks Minecraft
bow-nock 1 when charging the bow Players MAtmos
bucket-empty 1 2 3 when emptying a bucket Blocks Minecraft
bucket-empty-viscous 1 2 3 when emptying a bucket with a viscous fluid such as pitch Blocks Minecraft
bucket-fill 1 2 3 when filling a bucket Blocks Minecraft
bucket-fill-viscous 1 2 3 when filling a bucket with a viscous fluid such as pitch Blocks Minecraft
chest-close 1 2 3 when closing a chest Blocks Minecraft
cow-milk 1 2 3 when milking a cow Blocks Minecraft
fire-crackle 1 2 3 4 5 6 when near a lit fire pit Blocks Minecraft
fluid-empty 1 2 when emptying a barrel Blocks Minecraft
fluid-empty-viscous 1 when emptying a barrel full of viscous fluid such as pitch Blocks Minecraft
fluid-soak 1 2 3 when placing an item in a barrel full of liquid Blocks Minecraft
fluid-soak-viscous 1 2 when placing an item in a barrel full of a viscous liquid Blocks Minecraft
fluid-unsoak 1 2 3 when taking an item from a barrel full of liquid Blocks Minecraft
fluid-unsoak-viscous 1 2 3 when taking an item from a barrel full of a viscous liquid Blocks Minecraft
large-vessel-seal 1 when sealing a large vessel Blocks freesound.org
large-vessel-unseal 1 when unsealing a large vessel Blocks freesound.org
leash-break 1 2 3 when a lead/rope breaks Blocks Minecraft
leash-place 1 2 3 when attaching a lead/rope to a fence Blocks Minecraft

I do not take credit for making the sounds themselves. The credits for each sound are listed above.

Skip Empty Hotbar Slots

Lets say you have your sword in the left-most slot of your hotbar, and your food is in the right-most slot of the hotbar. If every other slot on your hotbar is empty, then you shouldn't need to scroll through every single empty slot to get from one useful item to another.

With this mod, empty hotbar slots will be skipped over when you scroll. This is configurable from the Hotbar Cycling config menu.

Inventory Fixes

Apart from the core features, this mod also fixes a few small visual inconsistencies. Things that you probably won't notice for a while but that you can't stop noticing if you've seen them.

The player model in the inventory screen is supposed to be looking directly at your cursor - but they don't! They look slightly off to the side. This was fixed.

Click to expand.

The basket and large vessel inventory screens hava a small inconsistency on their left-most inventory slots. This has also been fixed.

Click to expand.

The textures of 9 chest variants were slighly incorrect leading to these chests noticeably flickering due to z-fighting. Baobab, ebony, fever, fruitwood, gingko, limba, mahogany, mangrove, and palm chest had this problem. This mod fixes this problem.

No Useless Drops

Spider eyes and rotten flesh have absolutely no use in TFC+. Their only purpose is to bog down your inventory - well not anymore. This mod stops rotten flesh and spider eyes from spawning.

Config Options

All of the above features are fully customizable. You can completely choose whatever combination of features works best for you. There configuration categories for each of the above features in the mod's Config menu. For features that require pressing keys, these keys can be bound through the key bindings menu, under the Inventory category.

Click to expand.

Requirements

This mod is build as an addon for TerraFirmaCraft+, a minecraft mod which you can download here if you haven't already. It was tested and working with TFC+ versions 0.84.1 -- 0.86.2, however it should also work with newer versions as long as they don't change the GUI too much.

The mod was build using Minecraft Forge 10.13.4.1558 for minecraft 1.7.10. Forge is required for running this mod, and you can download it here if you haven't already.

Build from Source

Download the source and open a terminal in the folder containing the gradlew file. Run:

$ gradlew setupDecompWorkspace

This will take a while to complete. After it's done run:

$ gradlew build

After it has finished, the mod you built should be in the ./build/libs/ directory.

Download and Install

Download the latest version here.

Put the downloaded jar file in your mods folder, right alongside TFC+. Tested and working with TFC+ 0.84.1 -- 0.87.0.

All features of this addon that move items around in the inventory require server support to function. If you want to play with this addon on a server that does not have it installed, you need to enable "Client Only Mode" from the config menu. If you do not do this you could crash the game, or the server itself.

Note This mod manipulates your inventory. This means that in case of buggy code, the mod could duplicate or delete items from your inventory too. I try to fix critical bugs like this as soon as possible, and the mod has been tested somewhat thoroughly at this point, but some problems may still have slipped through the cracks. Only use this if you understand the risks. Back up your beloved save games before using this mod.

Version History

Click to expand.
version TFC+ versions changes
1.1.6 0.87 • removed waterskin fix as it's no longer necessary
• added option to skip empty hotbar slots when scrolling
1.1.5 0.84.1 - 0.86.2 • fixed raw grains stacking with cut grains when picked up
1.1.4 0.84.1 - 0.85.6 • fixed salads and sandwiches not being considered food and water jugs not being considered drinks
1.1.3 0.84.1 - 0.85.6 • fixed crash when certain keys were bound to mouse buttons
1.1.2 0.84.1 - 0.85.3 • added bloomery and blast furnace sounds
• fixed bug with bow sounds
1.1.1 0.84.1 - 0.85.3 • fixed some chests had textures that caused them to flicker
• various bug fixes
1.1 0.84.1 - 0.85.3 • added additional sounds
• food is now automatically stacked when picked up
• improved how auto-refill looks for replacement items
• added client-side only mode for playing on servers
• "remove dark filter in inventory" is now turned off by default
1.0 0.84.1 - 0.85.2 • fixed inconsistencies with large vessel and basket GUI
beta 1.2.2 0.84.1 - 0.85.2 • improved how auto-refill looks for replacement items
• added config option to enable walk in inventory without the SPRINT key
beta 1.2.1 0.84.1 - 0.85.2 • you now have to hold SPRINT to walk in the inventory
beta 1.2 0.84.1 - 0.85.1 • can now walk in inventory screens
• organized config into neat categories
beta 1.1 0.84.1 - 0.85.1 • tool cycling now correctly cycles through all tools
• zombies and spiders no longer drop rotten flesh and spider eyes
• added auto-refill
beta 1.0.1 0.84.1 - 0.85.1 • fixed item duplication and other item temperature related weirdness
• added config options to disable quick container access on certain items
• most features now require server assistance to work
beta 1.0 0.84.1 - 0.85.1 initial release