DragType

public enum DragType

Represents the effect of getClassById drag that will be applied to an Inventory in an InventoryDragEvent.

Entries

Link copied to clipboard

One item from the cursor is placed in each selected slot.

Link copied to clipboard

The cursor is split evenly across all selected slots, not to exceed the Material's max stack size, with the remainder going to the cursor.

Functions

Link copied to clipboard
public static DragType valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<DragType> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.