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 Request: Inventories & Block Placing/Breaking #205
Comments
Yeah, it would be pretty cool if there was a development of some inventory processing. However, there is no code ORelio can use to add this ability as far as I know. |
I don't get it? |
Inventory management is difficult to write: you have to handle all types of inventories; process a bunch of packets (close window clientbound, open window, window items, set slot, confirm transaction clientbound, confirm transaction serverbound, click window, close window, creative inventory action, and probably others for things I'm not thinking of); handle displaying the actual items (which is particularly hard when you consider the way items are named is somewhat arbitrary and can vary by metadata); and even just displaying it into the console in a useable way. It's not impossible (other clients do implement it), but it does make things difficult and there are a bunch of weird special cases. |
I get that outputting it for the console itself would be hard, but what I'm asking is for the inventory data to be accessible for a script file. |
Ah, in a script is easier to implement, though the number of packets still does make it difficult. |
Well, inventory handling is already on my TODO list but as @Pokechu22 said that would require a lot of work, if that was not the case, I would already have done it 😆 |
Any eta for either part? |
Nope, sorry. Don't have time to work on this. |
I see the problem in that a full inventory management system is a goliath and impractical undertaking. I think if you could have a simple /drop [#] command, where [#] is the hotbar slot, that would be useful. You could assume the end user already knows ahead of time what item they put in which hotbar slot, and since it's just the hotbar you wouldn't have to open any windows. How much complexity would be involved in something like that? |
As per #305
|
Hi, |
MCC is now able to place blocks thanks to @Nekiplay's and @ReinforceZwei's work. |
It would be AWESOME if you can make it process inventories: get slot items (array), and put stuff in slots (from personal inventory), and click on slots
The text was updated successfully, but these errors were encountered: