Class ItemStackTransaction

java.lang.Object
org.cloudburstmc.server.inventory.transaction.InventoryTransaction
org.cloudburstmc.server.inventory.transaction.ItemStackTransaction
Direct Known Subclasses:
CraftItemStackTransaction

public class ItemStackTransaction extends InventoryTransaction
  • Constructor Details

    • ItemStackTransaction

      public ItemStackTransaction(CloudPlayer source)
  • Method Details

    • canExecute

      public boolean canExecute()
      Overrides:
      canExecute in class InventoryTransaction
    • callExecuteEvent

      protected boolean callExecuteEvent()
      Overrides:
      callExecuteEvent in class InventoryTransaction
    • addContaiers

      public void addContaiers(Collection<com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ContainerEntry> containers)
    • getContainerEntries

      public List<com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ContainerEntry> getContainerEntries()