Giter Club home page Giter Club logo

inventory-sort's Introduction

Hiya! ๐Ÿ‘‹

Hey hey! I'm Chai. I'm a game developer with lots of game ideas living rent free in my head. I also draw and make YouTube videos.

  • ๐Ÿ”ญ Iโ€™m currently working on Cascadia and Muninn
  • ๐ŸŒฑ Iโ€™m currently learning Rust and wgpu
  • ๐ŸŽฎ Check out my games on itch.io
  • ๐Ÿ’ธ You can support me at Buy Me a Coffee

๐Ÿ”ง Skills & Tools

Rust C# JavaScript Java C++ HTML5 Lua SQL Unity Node.js React.js Next.js Fabric Spigot Visual Studio Visual Studio Code IntelliJ IDEA SQLite DigitalOcean

๐Ÿ“ˆ GitHub Stats

Top Langs

inventory-sort's People

Contributors

chailotl avatar kettlovahr avatar pajicadvance avatar wudji avatar

Watchers

 avatar

inventory-sort's Issues

issue with sort options displaying on every "inventory" space (including modded)

it conflicts with my mods a lot; usually the buttons appear overlapping other stuff (and will be in the middle of/behind things), or the sort button will appear on a block that has a space that holds items and you'll be able to sort it, but then when you leave and come back to it, the block's inventory is all back to normal and unsorted.

i know that it's configurable which is good, so i just wanted to know if there's some lines i can put in the disabled/container screens config to universally disable all non-vanilla "inventory" spaces (i don't have any experience with configuring mod stuff so it's super hard trying to figure out how to fix this on my own lol T_T)

Cannot sort correctly in server-side

Server-side: items can fill the empty inventory, but it cannot sort as setting;
Client-side: can sort as setting correctly.
Here is after sorting in server-side:
image
torch can't be sorted together.

Serverside error when sorting (fails to sort)

Minecraft version: 1.20.4
Fabric version: 0.15.7

Getting the following server-side error when attempting to use the mod on my server (the mod is installed both on client and server).

[11:02:38] [Server thread/ERROR]: Error executing task on Server
java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because "config" is null
        at com.chailotl.inventorysort.InventoryManager.sortInventory(InventoryManager.java:73) ~[inventory-sort-1.0.3+1.20.2.jar:?]
        at com.chailotl.inventorysort.InventorySort.lambda$onInitialize$0(InventorySort.java:26) ~[inventory-sort-1.0.3+1.20.2.jar:?]
        at net.minecraft.class_3738.run(class_3738.java:18) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_18859(class_1255.java:156) ~[server-intermediary.jar:?]
        at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:797) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:165) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_16075(class_1255.java:130) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:779) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:773) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_18857(class_1255.java:139) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:758) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.redirect$cfo000$tick-stasis$waitUntilResumed(MinecraftServer.java:6919) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:687) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) ~[server-intermediary.jar:?]
        at java.lang.Thread.run(Thread.java:1583) ~[?:?]

I noticed no config file was present in the server configs folder, but placing one there makes no difference.

sort buttons are not displayed in the interfaces of various mods

Minecraft version: 1.20.1
Fabric version: 0.15.9

I noticed that in interfaces added by mods such as
Spectrum - https://modrinth.com/mod/spectrum (They haven't updated their page for a long time lol),
Farmers Delight Refabricated - https://modrinth.com/mod/farmers-delight-refabricated,
Modern Industrialization - https://modrinth.com/mod/modern-industrialization,
Ad Astra - https://modrinth.com/mod/ad-astra,
Applied ะ•nergisctics 2 - https://modrinth.com/mod/ae2,
are no sorting buttons.

Examples:
image
image
image
image
image

It seems to me that it would be enough to add only a button for sorting the playerโ€™s inventory, without adding the button for sorting the container from the mod and the buttons for transferring items to/from the inventory.

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.