Record Class Click.Left
java.lang.Object
java.lang.Record
net.minestom.server.inventory.click.Click.Left
- All Implemented Interfaces:
Click
- 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.int
slot()
Returns the value of theslot
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Left
public Left(int slot) Creates an instance of aLeft
record class.- Parameters:
slot
- the value for theslot
record component
-
-
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 with thecompare
method from their corresponding wrapper classes. -
slot
-