Class ClickPlan

java.lang.Object
org.geysermc.geyser.inventory.click.ClickPlan

public class ClickPlan extends Object
  • Constructor Details

  • Method Details

    • add

      public void add(Click click, int slot)
    • add

      public void add(Click click, int slot, boolean force)
    • execute

      public void execute(boolean refresh)
    • getItem

      public GeyserItemStack getItem(int slot)
    • getItem

      public GeyserItemStack getItem(int slot, boolean generate)
    • getCursor

      public GeyserItemStack getCursor()
    • getAffectedSlots

      public it.unimi.dsi.fastutil.ints.IntSet getAffectedSlots()
      Returns:
      a new set of all affected slots. This isn't a constant variable; it's newly generated each time it is run.