Package de.ellpeck.rockbottom.api.gui
Class ContainerGui.ShiftClickBehavior
java.lang.Object
de.ellpeck.rockbottom.api.gui.ContainerGui.ShiftClickBehavior
- Enclosing class:
- ContainerGui
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionShiftClickBehavior(int startSlot, int endSlot, int slotsIntoStart, int slotsIntoEnd) ShiftClickBehavior(int startSlot, int endSlot, int slotsIntoStart, int slotsIntoEnd, BiFunction<SlotContainer, SlotContainer, Boolean> condition) ShiftClickBehavior(List<Integer> slots, List<Integer> slotsInto, BiFunction<SlotContainer, SlotContainer, Boolean> condition) -
Method Summary
Modifier and TypeMethodDescriptionreversed()reversed(BiFunction<SlotContainer, SlotContainer, Boolean> condition)
-
Field Details
-
slots
-
slotsInto
-
condition
-
-
Constructor Details
-
ShiftClickBehavior
public ShiftClickBehavior(List<Integer> slots, List<Integer> slotsInto, BiFunction<SlotContainer, SlotContainer, Boolean> condition) -
ShiftClickBehavior
public ShiftClickBehavior(int startSlot, int endSlot, int slotsIntoStart, int slotsIntoEnd, BiFunction<SlotContainer, SlotContainer, Boolean> condition) -
ShiftClickBehavior
public ShiftClickBehavior(int startSlot, int endSlot, int slotsIntoStart, int slotsIntoEnd)
-
-
Method Details
-
reversed
public ContainerGui.ShiftClickBehavior reversed(BiFunction<SlotContainer, SlotContainer, Boolean> condition) -
reversed
-