Record Class Click.LeftDrag
java.lang.Object
java.lang.Record
net.minestom.server.inventory.click.Click.LeftDrag
- All Implemented Interfaces:
Click
,Click.Drag
- Enclosing interface:
Click
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.inventory.click.Click
Click.Double, Click.Drag, Click.DropCursor, Click.DropSlot, Click.HotbarSwap, Click.Left, Click.LeftDrag, Click.LeftDropCursor, Click.LeftShift, Click.Middle, Click.MiddleDrag, Click.MiddleDropCursor, Click.OffhandSwap, Click.Right, Click.RightDrag, Click.RightDropCursor, Click.RightShift, Click.Window
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.slots()
Returns the value of theslots
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
LeftDrag
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
slots
Returns the value of theslots
record component.- Specified by:
slots
in interfaceClick.Drag
- Returns:
- the value of the
slots
record component
-