Interface SlotDoubleClick.Pending

Enclosing class:
SlotDoubleClick

public static interface SlotDoubleClick.Pending
A registration's pending pairs, on the client thread. Both get the first click's slot (the real one) and its stack.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    lapsed(net.minecraft.world.inventory.Slot slot, net.minecraft.world.item.ItemStack stack)
    A pending pair ended with no second click (a copy of the lifted stack), at a tick, a frame or a click.
    default void
    started(net.minecraft.world.inventory.Slot slot, net.minecraft.world.item.ItemStack stack)
    A first click started a pair: before vanilla lifts the stack or tells the server.
  • Method Details

    • started

      default void started(net.minecraft.world.inventory.Slot slot, net.minecraft.world.item.ItemStack stack)
      A first click started a pair: before vanilla lifts the stack or tells the server.
    • lapsed

      default void lapsed(net.minecraft.world.inventory.Slot slot, net.minecraft.world.item.ItemStack stack)
      A pending pair ended with no second click (a copy of the lifted stack), at a tick, a frame or a click.