Uses of Enum Class
net.minecraft.util.ActionResult.SwingSource
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of ActionResult.SwingSource in net.minecraft.util
Modifier and TypeFieldDescriptionprivate final ActionResult.SwingSource
ActionResult.Success.swingSource
The field for theswingSource
record component.Modifier and TypeMethodDescriptionActionResult.Success.swingSource()
Returns the value of theswingSource
record component.static ActionResult.SwingSource
Returns the enum constant of this class with the specified name.static ActionResult.SwingSource[]
ActionResult.SwingSource.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionSuccess
(ActionResult.SwingSource swingSource, ActionResult.ItemContext itemContext) Creates an instance of aSuccess
record class.