public class InventoryTransactionManager extends Object
| Constructor and Description |
|---|
InventoryTransactionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(com.nukkitx.protocol.bedrock.data.InventoryAction action) |
void |
addExpectedAction(com.nukkitx.protocol.bedrock.data.InventoryAction action) |
boolean |
checkActionExpected(com.nukkitx.protocol.bedrock.data.InventoryAction action) |
void |
createServerSideAction(ItemStack fromItem,
ItemStack toItem) |
int |
getSourceCount() |
void |
reset() |
void |
resetExpectedActions() |
public int getSourceCount()
public void addAction(com.nukkitx.protocol.bedrock.data.InventoryAction action)
public boolean checkActionExpected(com.nukkitx.protocol.bedrock.data.InventoryAction action)
public void addExpectedAction(com.nukkitx.protocol.bedrock.data.InventoryAction action)
public void reset()
public void resetExpectedActions()
Copyright © 2017–2019 NukkitX. All rights reserved.