Closed Sandertv closed 6 years ago
Any reference on such interface so far?
No actual references I found on it so far, but Steadfast2 does seem to have an API for it. I'm just going to mess around with it and try things out. According to dktapps the client sends messages when something's wrong which contains information that is correct.
did someone ping me?
I pinged you then removed it in the hope I wouldn't spam your notifications for no reason. Damn GitHub.
Custom UI Proposal for update 1.5.0.
Introduction As of Minecraft PE update 1.2, custom User Interfaces were added in the form of packets to send and receive. These User Interfaces are great for plugins such as BlockSniper, and will greatly simplify the process of configuring and modifying things such as brush properties in BlockSniper.
The Proposal For BlockSniper, we can use the custom UI useful for many features. The best idea I have came up with works as the following, supposing custom UI windows can be stacked onto eachother, without deleting the window behind the currently visible window.
The User Interface structure might look quite complicated, but should be very convenient for usage. That's what it's after, after all. The User Interface 'tree', as called from now on, should look like the following.
The UI tree shown above is the bare basic. That means, that these are absolutely mandatory, and that other things such as an information button are very likely to still be added to this tree of User Interface.
Follow Up To succeed with this idea, the first thing that should be checked is whether custom User Interfaces can be stacked or not. If not, this proposal might have to be changed depending on what does work. A User Interface library might have to be written for easier usage.