Uses of Record Class
net.minecraft.util.ActionResult.ItemContext
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of ActionResult.ItemContext in net.minecraft.util
Modifier and TypeFieldDescriptionprivate final ActionResult.ItemContext
ActionResult.Success.itemContext
The field for theitemContext
record component.(package private) static ActionResult.ItemContext
ActionResult.ItemContext.KEEP_HAND_STACK
(package private) static ActionResult.ItemContext
ActionResult.ItemContext.KEEP_HAND_STACK_NO_INCREMENT_STAT
Modifier and TypeMethodDescriptionActionResult.Success.itemContext()
Returns the value of theitemContext
record component.ModifierConstructorDescriptionSuccess
(ActionResult.SwingSource swingSource, ActionResult.ItemContext itemContext) Creates an instance of aSuccess
record class.