Uses of Enum Class
net.minecraft.world.InteractionResult.SwingSource
Packages that use InteractionResult.SwingSource
-
Uses of InteractionResult.SwingSource in net.minecraft.world
Fields in net.minecraft.world declared as InteractionResult.SwingSourceModifier and TypeFieldDescriptionprivate final InteractionResult.SwingSource
InteractionResult.Success.swingSource
The field for theswingSource
record component.Methods in net.minecraft.world that return InteractionResult.SwingSourceModifier and TypeMethodDescriptionInteractionResult.Success.swingSource()
Returns the value of theswingSource
record component.Returns the enum constant of this class with the specified name.static InteractionResult.SwingSource[]
InteractionResult.SwingSource.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in net.minecraft.world with parameters of type InteractionResult.SwingSourceModifierConstructorDescriptionSuccess
(InteractionResult.SwingSource swingSource, InteractionResult.ItemContext itemContext) Creates an instance of aSuccess
record class.