-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Compatibility for bigger Shulkers #33
Comments
Thanks for this. I'll have to look into it and see how they modify the stack size - hopefully it's in an easily compatible way! |
Thank you 😊 |
I was looking into this for 1.21, but unfortunately I would need to implement a hard an inefficient work around for the mod you mentioned. I've opened an issue in their repo which allows for an easy compatibility fix though, so we'll see how it goes. I'll leave this issue open for now - hopefully we can get this working! 1.21 will be released without it though, since my release is already quite late. |
One of a possible but inefficient method could be calculate the capacity through |
Yep, I tested that but, strangely, it still only returned non-empty. I suspect there are two different shulker inventories - one for the held item ContainerComponent which only knows the exact contents (what we're handling), and one for the block itself which has the maximum count (which their mod alters). Their solution involved changing the Ideally, they just update the public static |
Thank you both for your efforts 😊 |
XD I am one of the contributor from Carpet-AMS-Addition😊. The problem is, our mod is a serverside mod, while simple-shulker-preview is a clientside mod, modifying the constant serverside won't help. |
Oh dang, I never considered that. That puts a spanner in the works! Will have to see if I can somehow get to the size() function from the objects I have available, because I'd really like to avoid my hacky solution. Alternatively, I could add a custom config for shulker size modification. Not difficult to do, but I'd like to keep it as generic as possible so I don't like that solution either. |
Hi I wrote a quick fix in #35 by If you want to test it with Carpet-AMS-Addition, I have sent a test server to you in Discord. |
Thanks for that. Did some more testing and added discussion to the PR. Unfortunately I'm still not seeing |
Any update on this @BVengo? 😊 |
Unfortunately not, sorry about that. Life has kept me too busy for non-update development recently. It's top on my list for bug fixes though, when I'm available again! |
Thanks for letting me know 😄 |
I've put a lot of time into investigating this and I'm afraid there's really no way to dynamically handle this until Carpet-AMS-Addition adds a method of communicating with client-side mods. See Minecraft-AMS/Carpet-AMS-Addition#130 for their progress on this. From a client-side perspective, the inventory simply stores a list of items on the player but does not save the size of the container. The size is handled on the server-side, so client-side mods are stuck assuming that it's 27 stacks as per the vanilla size. As a workaround, I've now implemented two new options under the Compatibility section allowing you to tell the mod what the size of your shulker boxes really are. There are two downsides to this though.
This is being implemented from 1.21.3 onwards. Unfortunately I'm rather pressed for time recently, so I may not get a chance to backdate these features. Thank you for your patience on this issue though 🙂 |
Request Description
Carpet AMS Addition has a feature to double the Shulker size.
But the overlay isn't compatible with it.
https://github.com/Minecraft-AMS/Carpet-AMS-Addition
Images
The progess bar doesn't scale with the bigger size.
Fabric Version
0.15.11
Additional Context
No response
The text was updated successfully, but these errors were encountered: