Class ItemStackTransaction
java.lang.Object
org.cloudburstmc.server.inventory.transaction.InventoryTransaction
org.cloudburstmc.server.inventory.transaction.ItemStackTransaction
-
Field Summary
Fields inherited from class org.cloudburstmc.server.inventory.transaction.InventoryTransaction
actions, hasExecuted, inventories, source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResponse(com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response response)protected booleanbooleanMethods 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
-
addResponse
public void addResponse(com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response response)
-