Class ItemStackTransaction
java.lang.Object
org.cloudburstmc.server.inventory.transaction.InventoryTransaction
org.cloudburstmc.server.inventory.transaction.ItemStackTransaction
- Direct Known Subclasses:
CraftItemStackTransaction
-
Field Summary
Fields inherited from class org.cloudburstmc.server.inventory.transaction.InventoryTransaction
actions, hasExecuted, inventories, source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContaiers(Collection<com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ContainerEntry> containers)protected booleanbooleanList<com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ContainerEntry>Methods inherited from class org.cloudburstmc.server.inventory.transaction.InventoryTransaction
addAction, addInventory, execute, getActions, getCreationTime, getInventories, getSource, hasExecuted, init, matchItems, sendInventories, squashDuplicateSlotChanges
-
Constructor Details
-
ItemStackTransaction
-
-
Method Details
-
canExecute
public boolean canExecute()- Overrides:
canExecutein classInventoryTransaction
-
callExecuteEvent
protected boolean callExecuteEvent()- Overrides:
callExecuteEventin classInventoryTransaction
-
addContaiers
public void addContaiers(Collection<com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ContainerEntry> containers) -
getContainerEntries
public List<com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ContainerEntry> getContainerEntries()
-