public class ClickPlan extends Object
| Constructor and Description |
|---|
ClickPlan(GeyserSession session,
InventoryTranslator translator,
Inventory inventory) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Click click,
int slot) |
void |
add(Click click,
int slot,
boolean force) |
void |
execute(boolean refresh) |
it.unimi.dsi.fastutil.ints.IntSet |
getAffectedSlots() |
GeyserItemStack |
getCursor() |
GeyserItemStack |
getItem(int slot) |
GeyserItemStack |
getItem(int slot,
boolean generate) |
public ClickPlan(GeyserSession session, InventoryTranslator translator, Inventory inventory)
public void add(Click click, int slot)
public void add(Click click, int slot, boolean force)
public void execute(boolean refresh)
public GeyserItemStack getItem(int slot)
public GeyserItemStack getItem(int slot, boolean generate)
public GeyserItemStack getCursor()
public it.unimi.dsi.fastutil.ints.IntSet getAffectedSlots()
Copyright © 2021 GeyserMC. All rights reserved.