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 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 booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.slots()Returns the value of theslotsrecord component.final StringtoString()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 theslotsrecord component.- Specified by:
slotsin interfaceClick.Drag- Returns:
- the value of the
slotsrecord component
-