Uses of Enum Class
net.minecraft.util.ActionResult.SwingSource
Packages that use ActionResult.SwingSource
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of ActionResult.SwingSource in net.minecraft.util
Fields in net.minecraft.util declared as ActionResult.SwingSourceModifier and TypeFieldDescriptionprivate final ActionResult.SwingSourceActionResult.Success.swingSourceThe field for theswingSourcerecord component.Methods in net.minecraft.util that return ActionResult.SwingSourceModifier and TypeMethodDescriptionActionResult.Success.swingSource()Returns the value of theswingSourcerecord component.static ActionResult.SwingSourceReturns 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.Constructors in net.minecraft.util with parameters of type ActionResult.SwingSourceModifierConstructorDescriptionSuccess(ActionResult.SwingSource swingSource, ActionResult.ItemContext itemContext) Creates an instance of aSuccessrecord class.