Lucas Simon
Lucas Simon
Chat and errors, that's about it. Would be nice to allow other things to log, however. Perhaps allow a "logging" option for plugins. Then plugins use a built-in `this.log` that...
So a few points to make: - Digging also has one packet that could mean multiple behaviors. It's much simpler to think of "attackEntity" and "useEntity" (right-click) than just one...
I'm having trouble thinking of examples where you would say `if (cancelled)` however there are plenty of situations where you wouldn't check if cancelled was true or not. For example,...
Well, chat can actually be cancelled (won't broadcast). By "informational" behavior, I assume you mean it provides information that can be changed (if it can't be changed, it's just an...
The reason for it is for stuff like my "allglass plugin" that intervenes both sendBlock and sendChunk. Idk how else you'd do it, especially if you want to intervene another...
Might be better to have a ucSendBlock (uncancellable). You also have to consider that stuff might break if another plugin can't intervene a sendBlock, so it's better if the plugin...
Better yet make "noCancel" or "uncancellable" an option.
- [x] minecraft-data (PR submitted) - [ ] minecraft-protocol (Maybe? Types for the objects to `client.write` would be nice but I don't know if it's possible based solely on the...
Also, we need to decide what bundler to use. Webpack is popular but I'm not sure if it's the best for the job.
Well it's not regular JS, so at the very least you need to compile the ts files into js ones (or a single js one).