Uses of Record Class
net.minecraft.util.ActionResult.Success
Packages that use ActionResult.Success
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of ActionResult.Success in net.minecraft.util
Fields in net.minecraft.util declared as ActionResult.SuccessModifier and TypeFieldDescriptionstatic final ActionResult.Success
ActionResult.CONSUME
Indicates an action is performed but no animation should accompany the performance.static final ActionResult.Success
ActionResult.SUCCESS
Indicates an action is performed and the actor's hand should swing to indicate the performance.static final ActionResult.Success
ActionResult.SUCCESS_SERVER
Indicates an action is performed on the logical server only and the actor's hand should swing to indicate the performance.Methods in net.minecraft.util that return ActionResult.SuccessModifier and TypeMethodDescriptionActionResult.Success.noIncrementStat()
ActionResult.Success.withNewHandStack
(ItemStack newHandStack)