public class ItemUseTransaction extends ComplexTransaction
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemUseTransaction.Action |
InventoryTransaction.Type| Constructor and Description |
|---|
ItemUseTransaction() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(PlayerSession session) |
InventoryTransaction.Type |
getType() |
void |
read(io.netty.buffer.ByteBuf buffer) |
String |
toString() |
void |
write(io.netty.buffer.ByteBuf buffer) |
isHandValid, resetBlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActions, getCreationTimepublic void execute(PlayerSession session)
public void read(io.netty.buffer.ByteBuf buffer)
read in interface InventoryTransactionread in class ComplexTransactionpublic void write(io.netty.buffer.ByteBuf buffer)
write in interface InventoryTransactionwrite in class ComplexTransactionpublic InventoryTransaction.Type getType()
public String toString()
toString in class ComplexTransactionCopyright © 2017–2019 NukkitX. All rights reserved.