Fabric API

Fabric API

108M Downloads

Interaction event documentation doesn't include ActionResult.CONSUME(_PARTIAL)

Juuxel opened this issue ยท 2 comments

commented

Example from AttackEntityCallback, but applies to everything else in that package too:

* <p>Upon return:
* <ul><li>SUCCESS cancels further processing and, on the client, sends a packet to the server.
* <li>PASS falls back to further processing.
* <li>FAIL cancels further processing and does not send a packet to the server.</ul>

commented

Might also be a chance to have a few more effects, depending on what is required? E.g. swing hand on client but don't send a packet to the server. We would consider the unused results "undefined behavior", hence it would be fine to give them new behavior.

commented

I think this can be considered a feature at this point - we can add more meanings to the event in the future thanks to this.