| Modifier and Type | Field and Description |
|---|---|
static GeyserItemStack |
GeyserItemStack.EMPTY |
protected GeyserItemStack[] |
Inventory.items |
| Modifier and Type | Method and Description |
|---|---|
GeyserItemStack |
GeyserItemStack.copy() |
GeyserItemStack |
GeyserItemStack.copy(int newAmount) |
static GeyserItemStack |
GeyserItemStack.from(com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack itemStack) |
GeyserItemStack |
Container.getItem(int slot) |
GeyserItemStack |
Inventory.getItem(int slot) |
GeyserItemStack |
PlayerInventory.getItemInHand() |
GeyserItemStack |
PlayerInventory.getOffhand() |
| Modifier and Type | Method and Description |
|---|---|
void |
PlayerInventory.setCursor(@NonNull GeyserItemStack newCursor,
GeyserSession session) |
void |
StonecutterContainer.setItem(int slot,
@NonNull GeyserItemStack newItem,
GeyserSession session) |
void |
Container.setItem(int slot,
@NonNull GeyserItemStack newItem,
GeyserSession session) |
void |
Inventory.setItem(int slot,
@NonNull GeyserItemStack newItem,
GeyserSession session) |
void |
PlayerInventory.setItemInHand(@NonNull GeyserItemStack item) |
protected static void |
Inventory.updateItemNetId(GeyserItemStack oldItem,
GeyserItemStack newItem,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
static com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ItemEntry |
InventoryTranslator.makeItemEntry(int bedrockSlot,
GeyserItemStack itemStack) |
| Modifier and Type | Method and Description |
|---|---|
GeyserItemStack |
ClickPlan.getCursor() |
GeyserItemStack |
ClickPlan.getItem(int slot) |
GeyserItemStack |
ClickPlan.getItem(int slot,
boolean generate) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
InventoryUtils.canStack(GeyserItemStack item1,
GeyserItemStack item2) |
Copyright © 2021 GeyserMC. All rights reserved.