Class DragDecoder
java.lang.Object
com.ultikits.ultitools.ui.chest.DragDecoder
Pure drag decoding, with raw slot numbers mapped to their ownership.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanprivate static ClickDecisionstatic ClickDecisionReturns exactly one decision for a complete set of drag targets, including one-slot drags.
-
Constructor Details
-
DragDecoder
private DragDecoder()
-
-
Method Details
-
decode
public static ClickDecision decode(org.bukkit.event.inventory.DragType type, Map<Integer, SlotKind> targets) Returns exactly one decision for a complete set of drag targets, including one-slot drags. -
boundDrag
private static ClickDecision boundDrag(org.bukkit.event.inventory.DragType type, Set<Integer> targets) -
bound
-