From e813b91eab67e2176488779bc350d685470799e3 Mon Sep 17 00:00:00 2001 From: liach <7806504+liach@users.noreply.github.com> Date: Sun, 9 Feb 2020 13:05:51 -0600 Subject: [PATCH] ActionResult docs (#1086) Signed-off-by: liach --- mappings/net/minecraft/util/ActionResult.mapping | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/mappings/net/minecraft/util/ActionResult.mapping b/mappings/net/minecraft/util/ActionResult.mapping index 922c9f1916..33006fa5ae 100644 --- a/mappings/net/minecraft/util/ActionResult.mapping +++ b/mappings/net/minecraft/util/ActionResult.mapping @@ -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.