public class BookEditPacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
BookEditPacket.Type |
| Constructor and Description |
|---|
BookEditPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getAuthor() |
int |
getInventorySlot() |
int |
getPageNumber() |
String |
getPhotoName() |
int |
getSecondaryPageNumber() |
String |
getText() |
String |
getTitle() |
BookEditPacket.Type |
getType() |
String |
getXuid() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setAuthor(String author) |
void |
setInventorySlot(int inventorySlot) |
void |
setPageNumber(int pageNumber) |
void |
setPhotoName(String photoName) |
void |
setSecondaryPageNumber(int secondaryPageNumber) |
void |
setText(String text) |
void |
setTitle(String title) |
void |
setType(BookEditPacket.Type type) |
void |
setXuid(String xuid) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic BookEditPacket.Type getType()
public int getInventorySlot()
public int getPageNumber()
public int getSecondaryPageNumber()
public String getText()
public String getPhotoName()
public String getTitle()
public String getAuthor()
public String getXuid()
public void setType(BookEditPacket.Type type)
public void setInventorySlot(int inventorySlot)
public void setPageNumber(int pageNumber)
public void setSecondaryPageNumber(int secondaryPageNumber)
public void setText(String text)
public void setPhotoName(String photoName)
public void setTitle(String title)
public void setAuthor(String author)
public void setXuid(String xuid)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.