public class UpdateTradePacket extends BedrockPacket
| Constructor and Description |
|---|
UpdateTradePacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getDisplayName() |
com.nukkitx.nbt.tag.Tag<?> |
getOffers() |
long |
getPlayerUniqueEntityId() |
long |
getTraderUniqueEntityId() |
int |
getTradeTier() |
int |
getUnknownInt() |
short |
getWindowId() |
short |
getWindowType() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isScreen2() |
boolean |
isWilling() |
void |
setDisplayName(String displayName) |
void |
setOffers(com.nukkitx.nbt.tag.Tag<?> offers) |
void |
setPlayerUniqueEntityId(long playerUniqueEntityId) |
void |
setScreen2(boolean screen2) |
void |
setTraderUniqueEntityId(long traderUniqueEntityId) |
void |
setTradeTier(int tradeTier) |
void |
setUnknownInt(int unknownInt) |
void |
setWilling(boolean willing) |
void |
setWindowId(short windowId) |
void |
setWindowType(short windowType) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic short getWindowId()
public short getWindowType()
public int getUnknownInt()
public int getTradeTier()
public long getTraderUniqueEntityId()
public long getPlayerUniqueEntityId()
public String getDisplayName()
public com.nukkitx.nbt.tag.Tag<?> getOffers()
public boolean isScreen2()
public boolean isWilling()
public void setWindowId(short windowId)
public void setWindowType(short windowType)
public void setUnknownInt(int unknownInt)
public void setTradeTier(int tradeTier)
public void setTraderUniqueEntityId(long traderUniqueEntityId)
public void setPlayerUniqueEntityId(long playerUniqueEntityId)
public void setDisplayName(String displayName)
public void setOffers(com.nukkitx.nbt.tag.Tag<?> offers)
public void setScreen2(boolean screen2)
public void setWilling(boolean willing)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.