You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a number of things wrong with this. From my point of view the worst is that the legacy API relies on Minecraft to detect and report obvious errors in the input. I'd like to be able to develop and test code without having to run it against Minecraft to detect obvious problems.
Put another way, if an API call is made with obviously improper parameters I'd like Python to raise an exception and not pass the call on to Minecraft.
I am about to start writing a low-level API that provides this.
Here's something else that is wrong. No error from
In the legacy API each connection
send()
andsendreceive()
starts with adrain()
. This allows reporting of errors, as below.There are a number of things wrong with this. From my point of view the worst is that the legacy API relies on Minecraft to detect and report obvious errors in the input. I'd like to be able to develop and test code without having to run it against Minecraft to detect obvious problems.
Put another way, if an API call is made with obviously improper parameters I'd like Python to raise an exception and not pass the call on to Minecraft.
I am about to start writing a low-level API that provides this.
Here's something else that is wrong. No error from
The text was updated successfully, but these errors were encountered: