Uses of Record Class
net.minecraft.util.ActionResult.Success
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of ActionResult.Success in net.minecraft.util
Modifier 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.Modifier and TypeMethodDescriptionActionResult.Success.noIncrementStat()
ActionResult.Success.withNewHandStack
(ItemStack newHandStack)