public class SQueryNBTResponsePacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private CompoundNBT |
tag |
private int |
transactionId |
Constructor and Description |
---|
SQueryNBTResponsePacket() |
SQueryNBTResponsePacket(int p_i49757_1_,
CompoundNBT p_i49757_2_) |
Modifier and Type | Method and Description |
---|---|
CompoundNBT |
getTag() |
int |
getTransactionId() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
boolean |
shouldSkipErrors() |
void |
writePacketData(PacketBuffer buf) |
private int transactionId
@Nullable private CompoundNBT tag
public SQueryNBTResponsePacket()
public SQueryNBTResponsePacket(int p_i49757_1_, @Nullable CompoundNBT p_i49757_2_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public int getTransactionId()
@Nullable public CompoundNBT getTag()
public boolean shouldSkipErrors()
shouldSkipErrors
in interface IPacket<IClientPlayNetHandler>