ActionResult docs (#1086)

Signed-off-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2020-02-09 13:05:51 -06:00 committed by GitHub
parent 19b1318608
commit e813b91eab
1 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,18 @@
CLASS net/minecraft/class_1269 net/minecraft/util/ActionResult
FIELD field_21466 CONSUME Lnet/minecraft/class_1269;
COMMENT Indicates an action is performed but no animation should accompany the
COMMENT performance.
FIELD field_5811 PASS Lnet/minecraft/class_1269;
COMMENT Indicates an action is not performed but allows other actions to
COMMENT perform.
FIELD field_5812 SUCCESS Lnet/minecraft/class_1269;
COMMENT Indicates an action is performed and the actor's hand should swing to
COMMENT indicate the performance.
FIELD field_5814 FAIL Lnet/minecraft/class_1269;
COMMENT Indicates that an action is not performed and prevents other actions
COMMENT from performing.
METHOD method_23665 isAccepted ()Z
COMMENT Returns whether an action is performed.
METHOD method_23666 shouldSwingHand ()Z
COMMENT Returns whether an actor should have a hand-swinging animation on
COMMENT action performance.