public final class ItemStackResponse
extends java.lang.Object
ItemStackRequest
sent as part of ItemStackResponsePacket.| Constructor and Description |
|---|
ItemStackResponse(boolean success,
int requestId,
java.util.List<ItemStackResponseContainer> containers)
Deprecated.
|
ItemStackResponse(ItemStackResponseStatus result,
int requestId,
java.util.List<ItemStackResponseContainer> containers) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<ItemStackResponseContainer> |
getContainers()
containers holds information on the containers that had their contents changed as a result of the
request.
|
int |
getRequestId()
requestId is the unique ID of the request that this response is in reaction to.
|
ItemStackResponseStatus |
getResult()
Replaces the success boolean as of v419
|
int |
hashCode() |
boolean |
isSuccess()
Deprecated.
as of v419
|
java.lang.String |
toString() |
@Deprecated
public ItemStackResponse(boolean success,
int requestId,
java.util.List<ItemStackResponseContainer> containers)
public ItemStackResponse(ItemStackResponseStatus result, int requestId, java.util.List<ItemStackResponseContainer> containers)
@Deprecated public boolean isSuccess()
public ItemStackResponseStatus getResult()
public int getRequestId()
public java.util.List<ItemStackResponseContainer> getContainers()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object