Giter VIP home page Giter VIP logo

Comments (15)

Xenosentry avatar Xenosentry commented on September 3, 2024

Addendum to the above.
Also, the on and off hotkeys for the backpack modules do not work. But the modules themselves work, whether it's a magnet that attracts objects or a music block.
2024-05-28 172832

from accessories.

Dragon-Seeker avatar Dragon-Seeker commented on September 3, 2024

Will investigate such as I currently have another issue where the slot does not work at all.

from accessories.

Dragon-Seeker avatar Dragon-Seeker commented on September 3, 2024

I have tried to investigate issues with this mod but I am having issues running such in production and development. Combined with the fact to which they add trinkets compatibility makes it difficult to add proper support for such meaning it may not be fixed until they deal with such on their side.

from accessories.

ChosenMark avatar ChosenMark commented on September 3, 2024

If a backpack is worn on a backpack slot, the hotkey for summoning the backpack inventory does not work. Backpack from mod - Sophisticated Backpacks (Unoffical Fabric port). MC 1.20.1 and Fabric 0.15.11 2024-05-28 165824

same issue for me

from accessories.

ChosenMark avatar ChosenMark commented on September 3, 2024

If a backpack is worn on a backpack slot, the hotkey for summoning the backpack inventory does not work. Backpack from mod - Sophisticated Backpacks (Unoffical Fabric port). MC 1.20.1 and Fabric 0.15.11

any luck?

from accessories.

Salandora avatar Salandora commented on September 3, 2024

So I figured out why this bug happens.

It all comes down to this line: https://github.com/Salandora/SophisticatedBackpacks/blob/c7aa78dac052134b50c71b6a52884e1ed1b5080d/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/trinkets/TrinketsCompat.java#L96

While trinkets returns a set of TooltipPredicates your compatibility layer does not.
Now I do think this is on my end as it should have been getValidatorPredicates to begin with, so I'll fix this.

That said I think this could still be considered a bug as it does not return the same values as trinkets does.
As further information TrinketInventory and SlotType are both instances of your Wrapped classes.

from accessories.

Dragon-Seeker avatar Dragon-Seeker commented on September 3, 2024

It all comes down to this line: https://github.com/Salandora/SophisticatedBackpacks/blob/c7aa78dac052134b50c71b6a52884e1ed1b5080d/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/trinkets/TrinketsCompat.java#L96

Ngl that makes little sense why they use tooltip predicates as such should be for tooltip info not logical equipment checks. I could make a patch for this by routing the base predicates to all three method calls instead to fix this issue. Maybe something that can also be changed on the side of Sophisticated Backpacks possible

I need to read instead of skimming but I rushed without looking which is my bad, I agree that I should change the behavior of such to return the main set of validators for all three predicates method calls

from accessories.

Dragon-Seeker avatar Dragon-Seeker commented on September 3, 2024

Going to try something in development to see if such is the true problem and adjusting it to the other method call would fix such

from accessories.

Dragon-Seeker avatar Dragon-Seeker commented on September 3, 2024

After making the need changes it still seems to be have a problem which is quite odd... as in my environment I am unable to equip it in any slot.

from accessories.

Dragon-Seeker avatar Dragon-Seeker commented on September 3, 2024

Wait I might know what might be going wrong and its to do with the SlotGroup stuff. Sadly did not work and unable to get it working in prod still ):

from accessories.

Salandora avatar Salandora commented on September 3, 2024

If it helps I can offer to test your changes in my dev environment. With and without the fix I applied.

from accessories.

Dragon-Seeker avatar Dragon-Seeker commented on September 3, 2024

If it helps I can offer to test your changes in my dev environment. With and without the fix I applied.

I pushed the changes to the TCLayer and published such to modrinth and curseforge if u want to test such.

from accessories.

Salandora avatar Salandora commented on September 3, 2024

Sorry for the late reply.

The Accessories versions I tested were 1.0.0-alpha.24+1.20, 1.0.0-alpha.26+1.20 and Trinkets Compat Layer 3.8.1+alpha.12 and 3.8.1+alpha.13.
I tested with sophisticated backpacks dev(fixed version) and production(build.104/released version).
And the changes you made work in all versions perfectly for me, I can equip the backpack, open it with the key bind and disable the upgrades with the key bind.

from accessories.

Dragon-Seeker avatar Dragon-Seeker commented on September 3, 2024

Oh really.... hmmm I should retest myself

from accessories.

Dragon-Seeker avatar Dragon-Seeker commented on September 3, 2024

Oh yea it seems to be fixed. Closing such then.

from accessories.

Related Issues (20)

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.