GithubHelp home page GithubHelp logo

blackd / inventory-profiles Goto Github PK

View Code? Open in Web Editor NEW
146.0 5.0 48.0 6.67 MB

Take control over you inventory. Sort. Move matching/all Items. Throw all/all items. Locked slots. Gear sets! And much more!

Home Page: https://inventory-profiles-next.github.io/

License: GNU Affero General Public License v3.0

Java 12.73% Kotlin 86.15% ANTLR 0.37% Python 0.16% CSS 0.02% Shell 0.59%
minecraft mod minecraft-mod

inventory-profiles's Introduction

1 5 3

11 8 Javadoc

Inventory Profiles Next

Requirement: Minecraft 1.16.5 - 1.21, Fabric Loader 0.11.6, Forge 36.1.32

Mod download

Modrinth: https://modrinth.com/mod/inventory-profiles-next

CurseForge: https://www.curseforge.com/minecraft/mc-mods/inventory-profiles-next

Other MODs integration

gradle:

Gradle examples are in kotlin DSL. Although currently there is no difference between fabric and forge APIs this is not a guarantee, we advise you to add dependency on the proper loader version.

Repository

repositories {
    maven {
        name = "IPN-Releases"
        mavenContent {
            releasesOnly()
        }
        content {
            includeGroup("org.anti_ad.mc")
            includeGroup("ca.solo-studios")
        }
        url = uri("https://maven.ipn-mod.org/releases")
    }
}

Fabric

dependencies {
    compileOnly(group = "org.anti-ad.mc",
                name = "InventoryProfilesNext-fabric-1.21",
                version = "2.0.1")
    // for libIPN usually you don't need it
    compileOnly(group = "org.anti-ad.mc",
                name = "libIPN-fabric-1.21",
                version = "5.0.1",
                classifier = "dev")
}

Forge

dependencies {
    compileOnly(group = "org.anti-ad.mc",
                name = "InventoryProfilesNext-forge-1.21",
                version = "2.0.1")
    // for libIPN usually you don't need it
    compileOnly(group = "org.anti-ad.mc",
                name = "libIPN-forge-1.21",
                version = "5.0.1",
                classifier = "dev")
}

Maven

Who uses maven still :D

TODO

  • learn Kotlin
  • learn about Minecraft modding :)

inventory-profiles's People

Contributors

alfeeclare avatar bl205vn avatar blackd avatar burrconnie avatar dozbamb avatar dragontaki avatar elexenon avatar fqrabbit avatar gibberishdev avatar godgun968 avatar hj-zhtw avatar imgbot[bot] avatar imgbotapp avatar jerrywn12 avatar jsnimda avatar leo40git avatar mari023 avatar phosphorshy avatar randomggames avatar roby1164 avatar seckiyn avatar serpi90 avatar ssolephant avatar thelegendofsaram avatar triphora avatar ttrafford7 avatar velizarbg avatar victorbnl avatar waterrail avatar xieve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

inventory-profiles's Issues

Locked slots won't get saved

Issue:
I locked slots on a server, but after rejoining they aren't there anymore.

Version:
v1.0.0 (fabric-1.17.1)

New build system

The current build system is a mess.

The fabric branches are OK for now but forge is different story.

Item Categories for Profiles

It would be really nice to have item categories while configuring profiles. So the configs would be more generic, flexible and compatible with future versions.

profile Example activate HOT1
    HOT1
     @melee_weapon
    HOT2
     @pickaxe
     @axe
     @shovel
    HOT3
     @solid_blocks
    HOT6
     @ranged_weapon
    HOT9
     @food

I understand that it could be implemented with the current version, but that would require a tedious work to specify every item. Especially something like blocks or food. Moreover you'll have to update such config for every upcoming Minecraft version that adds new blocks, food or weapons.

Move all issue

Sometimes when I try to move all the items of a type with the "Move all" button it just does nothing and puts back the item in my inventory

Feature request: auto sort

A great feature would be to automatically sort the chest/inventory on some events like

  • Open
  • Modify (put, remove or move items)
  • Close

To always keep my chests sorted without breaking my R key

[SUGGESTION] Different lock slots per server/world

I use lock slots so that certain items in my inventory don't get sorted (shulkers, torches, extra food). All of these items are in the right column(s) (usually in the 2 right-most ones).
But, in each server/world, I have different items in different locations, sometimes, some spaces are occupied in 1 server when they aren't in another.

Example:
Server 1:

Server 2:

As you can see, there are different items in different locations, so I have to change the lock slots every time I switch servers, which is super annoying.

Ability to treat a group of items as one item

A really nice feature to have would be to be able to sort multiple items into a row when sorting into rows. What I mean by this is, when sorting into rows, instead of one item per row, create a list of items that are sorted onto that one row, almost being treated as the same item.
Example config (something along the lines of):

@default
    @diamonds
    @iron
    @gold
    @bookstuff
@diamonds(together = true)
    diamond_block
    diamond
    diamond_ore
@iron(together = true)
    iron_block
    iron_ingot
    iron_nuggets
    iron_ore
@gold
    gold block
    gold_ingot
@bookstuff(together = true)
    book
    paper

And when these items are in a chest and it is sorted into rows, the items would be laid out as follows:

Row 1: diamond blocks, diamonds, diamond ore
Row 2: iron blocks, iron ingots, iron nuggets, iron ore
Row 3: gold block
Row 4: gold ingot
Row 5: book, paper

1.16.5 fabric crush

In version 1.16.5 fabric, crush report said that
"Errors were found!
Mod 'Inventory Profiles Next' (inventoryprofilesnext) requires any version of mod fabric-resource-loader-v0, which is missing!
You must install any version of fabric-resource-loader-v0."

It's still show this crush after I installed reportinstalled fabric-resource-loader-v0 and copied to mods.
How to solve it?

IllegalStateException

java.lang.IllegalStateException: Unequal before and after item counts

With the following items:
2021-07-10_19 54 29
Unsure on how to reproduce.

New feature: Autosort

Autosorts on item pickup, inventory open or inventory close. Same goes to chests 😄

Could not find required mod: slight-gui-modifications requires

Could not find required mod: slight-gui-modifications requires {cloth-client-events-v0 @ [>=2-]}

Is a error that always pops up when I try to launch it, Am I missing a dependancy?

EDIt
Sometimes this;

Could not find required mod: inventoryprofilesnext requires {fabricloader @ [>=0.11.6]}

Use github actions to deploy

This proved harder then I anticipated in the beginning. Especially building with 2 different versions of java.

And It looks like one can't filter the trigger of the action by branch name.

Ability to create a reload config hotkey

Working on a custom profile can require a lot of opening the config and clicking the reload config button. An option to assign a hotkey to do this would be very nice. It would default to none assigned.

Game crashes in a specific world

Hi, I love this mod, but I have a problem.

When I open a specific world the game crashes, I thought it was some incompatibility with another mod but I tried only to test it with this one and the problem persists.

I don't know if you can help me since it is a particular problem :(

Game Version: 1.17.1 - Fabric
Mod Version: Inventory Profiles Next 0.8.5

I attach the complete error log:
crash-2021-08-09_13.30.21-client.txt

And the world in case you want to perform some tests:
BUSINESS CENTER _ Trading Hall.zip

Thank you very much for your support <3

Disable Sorting buttons when on horseback

I use a mod that shows horse stats and it conflicts with inventory next sorting buttons if i could disable the buttons in the horse inventory that would stop the stats button conflicting.

Icons Don't Show Up and Chat is spammed with "Rule @default not found"

Here are the Mods I was using:
image

And a Screenie of the Issues:
image
image

Here's the latest.log :

latest.log

EDIT: My "Inventoryprofilesnext' folder is empty. I double checked it with the normal 1.16.2 inventory profiles (which does not have this issue), and that is also empty.
Also, unrelated, it doesn't sort enchanted books or nonstackables. I don't know if this is a feature or an issue related with this bug.

Put same enchantements with different levels together

I have a chest of enchanted books and it successfully sorts them by enchantement (the "Knockback II" are at the same place for example), but if I have a "Knockback I" and a "Knockback II" they are not put together and are very far from each other, it would be cool to put them together

Auto-Drop

Hello dear developer! Can you please add the Auto-drop function. For example, if I have a stone in my inventory, this function would automatically throw it away. It would be helpful. This function is available in the Meteor Client mod(open-source). Thanks for attention!

Support for empty slots as part of a profile.

please support empty slots. I mainly use this mod to have two saved hotbars. Normal and PVP. When I use pvp, my shield goes into my off hand, but when i go back to normal my shield stays there even though I want it to go into my inventory.

Items rendering error

Something weird just happened when I was using this mod.
Items looks really ugly. See the picture.
java exe Screenshot 2021 06 21 - 14 44 16 11

These're all the mod I was using.
image

Improve the page on curseforge.com

The page on curseforge needs some love and tbh, but I personally can't be bothered/think of anything better to put there.

So... HELP WANTED.

(1.16.5) Swap row and column sorting functionality

This is a suggestion to swap functionality for buttons sorting in columns and rows, to make it more intuitive to read.
It might be something subjetctive too so if i'm heavily musunderstanding this, let me know and i'd love to see any explaination.

Sort in columns

image
I am expecting to see items sorted like in the button, but it does not happen and makes me feel confused, the text used to feel weird to me, but i think i get what it means by "column".

Sort in rows

image
Literally same as above but for rows:
I am expecting to see items sorted like in the button, but it does not happen and makes me feel confused, the text used to feel weird to me, but i think i get what it means by "rows".

Conclusion

I'm expecting to see items sorted the same as the button represents, the first time i used the mod it made me feel confused about how items were being sorted and i hope it makes sense for everyone too, i think that swapping the button icons will make everything feel more obvious and intuitive, maybe the texts were used in a programmer's view and not from a user point of view.

I'm not a minecraft modder yet, if i could i'd do this myself and try to contribute with the project, i'm sorry if this detail is too small for something to be done about it.

Setting to switch to an effective tool on click

Hi! I made a small mod a while ago that allowed me to swap item for the most effective one when clicking on a block here. However, Minecraft's code changes a lot and I don't really have time to maintain it properly. I also don't know Java and OOP.

With the wide range of features your mod has, I thought it would be a good idea to have this feature integrated into it.

Here's the workflow I had :

  • Swap to least effective but still working tool when clicking on a block or mob
    • Swap to most effective if holding Sprint key
    • Don't swap if holding Sneak key

I think the integration with Sprint/Sneak is an intuitive one; Sprint is to go fast despite the hunger cost and Sneak is to be careful to not fall a cliff.

Other interesting settings :

  • Swap to using hand if held item is enchanted and has 1 durability, but break it if sneak is held
  • Use place block on farmland when breaking the above crop using this crop's seed

cc jsnimda/Inventory-Profiles#34

InventoryProfiles adds the buttons to anything that is a ContainerScreen.

Not a bug, but more of a design issue likely from the original creator.
Mods that add overlays over the inventory often end up having InventoryProfiles buttons on them, which can kind of get in the way.

CleverNucleus pointed out to me that this code here: https://github.com/jsnimda/Inventory-Profiles/blob/c47487b060f51411d9b105d9296781a9c38fa832/src/main/java/io/github/jsnimda/inventoryprofiles/gui/inject/ScreenEventHandler.kt#L13
is adding the sorting buttons to anything that's a container screen without checking if said container has an inventory or not.
The only downside to this is any mods that might expand the inventory end up having these buttons present.

Would require it being reworked to fix that, but figured I'd post it here since this can happen in modpacks.
I don't think it happens with the other inventory sorting mods, but can't remember.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.