public class InventoryUtils extends Object
| Constructor and Description |
|---|
InventoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
openInventory(GeyserSession session,
com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerOpenWindowPacket packet) |
static void |
refreshPlayerInventory(GeyserSession session,
Inventory inventory) |
static void |
updateInventory(GeyserSession session,
com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerWindowItemsPacket packet) |
static void |
updateSlot(GeyserSession session,
com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerSetSlotPacket packet) |
public static void refreshPlayerInventory(GeyserSession session, Inventory inventory)
public static void openInventory(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerOpenWindowPacket packet)
public static void updateInventory(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerWindowItemsPacket packet)
public static void updateSlot(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerSetSlotPacket packet)
Copyright © 2019 GeyserMC. All rights reserved.